llvm/test/CodeGen/X86/shift-pcmp.ll: Tweak to appease FileCheck. "CHECK-LABEL" doesn...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 22 Feb 2014 07:27:04 +0000 (07:27 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 22 Feb 2014 07:27:04 +0000 (07:27 +0000)
For targeting pecoff, ".def foo" appears before ".short 32".

          .def    foo;
  ...
  .LCPI0_0:
          .short  32
  foo:

CHECK-LABEL seeks not from ".short 32" but from the top of the input.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201931 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/shift-pcmp.ll

index b15fb10dc12cccd776d621e16355700c8be0027d..365c7310559b1eaa7a9b09bbfd7fe63f6dc075bf 100644 (file)
@@ -10,7 +10,7 @@ define <8 x i16> @foo(<8 x i16> %a, <8 x i16> %b) {
 ; CHECK-NEXT: .short         32
 ; CHECK-NEXT: .short         32
 ; CHECK-NEXT: .short         32
-; CHECK-LABEL: foo
+; CHECK-LABEL: {{^_?foo:}}
 ; CHECK-NOT: psll
 entry:
   %icmp = icmp eq <8 x i16> %a, %b