[llvm] r201931 - llvm/test/CodeGen/X86/shift-pcmp.ll: Tweak to appease FileCheck. "CHECK-LABEL" doesn't identify labels magically and CHECK-LABEL behaves free from other contexts.

NAKAMURA Takumi geek4civic at gmail.com
Fri Feb 21 23:27:05 PST 2014


Author: chapuni
Date: Sat Feb 22 01:27:04 2014
New Revision: 201931

URL: http://llvm.org/viewvc/llvm-project?rev=201931&view=rev
Log:
llvm/test/CodeGen/X86/shift-pcmp.ll: Tweak to appease FileCheck. "CHECK-LABEL" doesn't identify labels magically and CHECK-LABEL behaves free from other contexts.

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.

Modified:
    llvm/trunk/test/CodeGen/X86/shift-pcmp.ll

Modified: llvm/trunk/test/CodeGen/X86/shift-pcmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/shift-pcmp.ll?rev=201931&r1=201930&r2=201931&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/shift-pcmp.ll (original)
+++ llvm/trunk/test/CodeGen/X86/shift-pcmp.ll Sat Feb 22 01:27:04 2014
@@ -10,7 +10,7 @@ define <8 x i16> @foo(<8 x i16> %a, <8 x
 ; 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





More information about the llvm-commits mailing list