Fix test case label check
authorBill Seurer <seurer@linux.vnet.ibm.com>
Fri, 20 Nov 2015 20:24:49 +0000 (20:24 +0000)
committerBill Seurer <seurer@linux.vnet.ibm.com>
Fri, 20 Nov 2015 20:24:49 +0000 (20:24 +0000)
commit89c83dc08bdd9c96507004bc0fbbd68ef690cd18
treeeb9261cc96bfc700ffc2ad71abdfef57c7d1658a
parent368c7cb1bdfbbcbccc0a828a7f634d0b833c93dc
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253702 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/Thumb2/thumb2-uxt_rot.ll