[llvm] r199051 - llvm/test/CodeGen/X86/shl_undef.ll: Tweak to satisfy r199050.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jan 12 06:41:41 PST 2014


Author: chapuni
Date: Sun Jan 12 08:41:41 2014
New Revision: 199051

URL: http://llvm.org/viewvc/llvm-project?rev=199051&view=rev
Log:
llvm/test/CodeGen/X86/shl_undef.ll: Tweak to satisfy r199050.

Use intel syntax, or "shl" might hit "pushl".

Modified:
    llvm/trunk/test/CodeGen/X86/shl_undef.ll

Modified: llvm/trunk/test/CodeGen/X86/shl_undef.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/shl_undef.ll?rev=199051&r1=199050&r2=199051&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/shl_undef.ll (original)
+++ llvm/trunk/test/CodeGen/X86/shl_undef.ll Sun Jan 12 08:41:41 2014
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O1 -mtriple=i386-apple-darwin | FileCheck %s
+; RUN: llc < %s -O1 -mtriple=i386-apple-darwin -x86-asm-syntax=intel | FileCheck %s
 ;
 ; Interesting test case where %tmp1220 = xor i32 %tmp862, %tmp592 and
 ; %tmp1676 = xor i32 %tmp1634, %tmp1530 have zero demanded bits after
@@ -10,6 +10,8 @@
 ; See rdar://9453156 and rdar://9487392.
 ;
 
+; Use intel syntax, or "shl" might hit "pushl".
+
 ; CHECK-NOT: shl
 define i32 @foo(i8* %a0, i32* %a2) nounwind {
 entry:





More information about the llvm-commits mailing list