Implement gpword directive for mips, test case added. Stype changes using clang-forma...
[oota-llvm.git] / test / CodeGen / X86 / avoid-lea-scale2.ll
index c84662de3eb36fdd7591df80346ede9471de0402..cee2ee4e039921ecbebcc95f6437de3c8df4364b 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep {leal.*-2(\[%\]rdi,\[%\]rdi)}
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
+; CHECK: leal -2({{%rdi,%rdi|%rcx,%rcx}})
 
 define i32 @foo(i32 %x) nounwind readnone {
   %t0 = shl i32 %x, 1