Enable all Hexagon tests.
[oota-llvm.git] / test / CodeGen / X86 / avoid-lea-scale2.ll
index 8003de262d2cfaa00f20802925ad37096d3c8ce1..cee2ee4e039921ecbebcc95f6437de3c8df4364b 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: llc < %s -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