diff options
| author | Bill Seurer <seurer@linux.vnet.ibm.com> | 2015-11-20 20:24:49 +0000 |
|---|---|---|
| committer | Bill Seurer <seurer@linux.vnet.ibm.com> | 2015-11-20 20:24:49 +0000 |
| commit | aea3d38d81ba020c1c3a82bdda8c5fe79e521a86 (patch) | |
| tree | 0f0ab707b7c4f9950d72e7d5b09495b6f816a339 /llvm/test | |
| parent | a44def276c67a2ee1784443df02d320d366b44d1 (diff) | |
| download | bcm5719-llvm-aea3d38d81ba020c1c3a82bdda8c5fe79e521a86.tar.gz bcm5719-llvm-aea3d38d81ba020c1c3a82bdda8c5fe79e521a86.zip | |
Fix test case label check
Several (but not all) of the labels that are checked for in this test case
are checked as strings instead of labels. This can cause an apparent test
case failure if they are tested in an appropriately named directory.
For example, one of them that fails:
define zeroext i32 @test2(i32 %A.u, i32 %B.u) {
; A8: test2
; A8: uxtab r0, r0, r1
Output that causes it to fail:
. . .
.file "/home/seurer/llvm/llvm-test2/test/CodeGen/Thumb2/thumb2-uxt_rot.ll"
. . .
.globl test2
.align 1
.type test2,%function
.code 16 @ @test2
.thumb_func
test2:
.fnstart
The "A8: test2" matches on the directory name instead of the label.
llvm-svn: 253702
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll b/llvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll index 4afea894aeb..e091a6529cd 100644 --- a/llvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll +++ b/llvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll @@ -3,17 +3,17 @@ ; rdar://11318438 define zeroext i8 @test1(i32 %A.u) { -; A8: test1 +; A8-LABEL: test1: ; A8: uxtb r0, r0 %B.u = trunc i32 %A.u to i8 ret i8 %B.u } define zeroext i32 @test2(i32 %A.u, i32 %B.u) { -; A8: test2 +; A8-LABEL: test2: ; A8: uxtab r0, r0, r1 -; M3: test2 +; M3-LABEL: test2: ; M3: uxtb r1, r1 ; M3-NOT: uxtab ; M3: add r0, r1 @@ -24,7 +24,7 @@ define zeroext i32 @test2(i32 %A.u, i32 %B.u) { } define zeroext i32 @test3(i32 %A.u) { -; A8-LABEL: test3 +; A8-LABEL: test3: ; A8: ubfx r0, r0, #8, #16 %B.u = lshr i32 %A.u, 8 %C.u = shl i32 %A.u, 24 |

