diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
| commit | 71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch) | |
| tree | 5343938942df402b49ec7300a1c25a2d4ccd5821 /test/CodeGen/Hexagon/hwloop1.ll | |
| parent | 31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff) | |
Diffstat (limited to 'test/CodeGen/Hexagon/hwloop1.ll')
| -rw-r--r-- | test/CodeGen/Hexagon/hwloop1.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/Hexagon/hwloop1.ll b/test/CodeGen/Hexagon/hwloop1.ll index 68af3b34eeeb..7a805d951b95 100644 --- a/test/CodeGen/Hexagon/hwloop1.ll +++ b/test/CodeGen/Hexagon/hwloop1.ll @@ -3,7 +3,7 @@ ; Case 1 : Loop with a constant number of iterations. ; CHECK-LABEL: @hwloop1 -; CHECK: loop0(.LBB{{.}}_{{.}}, #10) +; CHECK: loop0(.LBB{{.}}_{{.}},#10) ; CHECK: endloop0 @a = common global [10 x i32] zeroinitializer, align 4 @@ -23,7 +23,7 @@ for.end: ; Case 2 : Loop with a run-time number of iterations. ; CHECK-LABEL: @hwloop2 -; CHECK: loop0(.LBB{{.}}_{{.}}, r{{[0-9]+}}) +; CHECK: loop0(.LBB{{.}}_{{.}},r{{[0-9]+}}) ; CHECK: endloop0 define i32 @hwloop2(i32 %n, i32* nocapture %b) nounwind { @@ -54,8 +54,8 @@ for.end: ; Case 3 : Induction variable increment more than 1. ; CHECK-LABEL: @hwloop3 -; CHECK: lsr(r{{[0-9]+}}, #2) -; CHECK: loop0(.LBB{{.}}_{{.}}, r{{[0-9]+}}) +; CHECK: lsr(r{{[0-9]+}},#2) +; CHECK: loop0(.LBB{{.}}_{{.}},r{{[0-9]+}}) ; CHECK: endloop0 define i32 @hwloop3(i32 %n, i32* nocapture %b) nounwind { @@ -86,7 +86,7 @@ for.end: ; Case 4 : Loop exit compare uses register instead of immediate value. ; CHECK-LABEL: @hwloop4 -; CHECK: loop0(.LBB{{.}}_{{.}}, r{{[0-9]+}}) +; CHECK: loop0(.LBB{{.}}_{{.}},r{{[0-9]+}}) ; CHECK: endloop0 define i32 @hwloop4(i32 %n, i32* nocapture %b) nounwind { @@ -114,7 +114,7 @@ for.end: ; Case 5: After LSR, the initial value is 100 and the iv decrements to 0. ; CHECK-LABEL: @hwloop5 -; CHECK: loop0(.LBB{{.}}_{{.}}, #100) +; CHECK: loop0(.LBB{{.}}_{{.}},#100) ; CHECK: endloop0 define void @hwloop5(i32* nocapture %a, i32* nocapture %res) nounwind { @@ -138,8 +138,8 @@ for.end: ; Case 6: Large immediate offset ; CHECK-LABEL: @hwloop6 -; CHECK-NOT: loop0(.LBB{{.}}_{{.}}, #1024) -; CHECK: loop0(.LBB{{.}}_{{.}}, r{{[0-9]+}}) +; CHECK-NOT: loop0(.LBB{{.}}_{{.}},#1024) +; CHECK: loop0(.LBB{{.}}_{{.}},r{{[0-9]+}}) ; CHECK: endloop0 define void @hwloop6(i32* nocapture %a, i32* nocapture %res) nounwind { |
