Enable all Hexagon tests.
[oota-llvm.git] / test / CodeGen / X86 / stride-reuse.ll
index 277a4430acaadb365eef3608cbf1c8dc2acdb07e..81de22ca4e357c3b892f46e4f68cf418d4e351ae 100644 (file)
@@ -1,11 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86 | not grep lea
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep lea
+; RUN: llc < %s -mcpu=generic -march=x86            | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s
+; CHECK-NOT:     lea
 
 @B = external global [1000 x float], align 32
 @A = external global [1000 x float], align 32
 @P = external global [1000 x i32], align 32
 
-define void @foo(i32 %m) {
+define void @foo(i32 %m) nounwind {
 entry:
        %tmp1 = icmp sgt i32 %m, 0
        br i1 %tmp1, label %bb, label %return