Force a CPU on test so it doesn't depend on microarchitectural scheduling decisions.
[oota-llvm.git] / test / CodeGen / X86 / load-slice.ll
index 4355e3dfe922f1108166138d3885d40affdf5fd3..b1f778c1172103e05e9ab1e6272b3fbc1894241b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -mtriple x86_64-apple-macosx -mattr=+avx -combiner-stress-load-slicing < %s -o - | FileCheck %s --check-prefix=STRESS
-; RUN: llc -mtriple x86_64-apple-macosx -mattr=+avx < %s -o - | FileCheck %s --check-prefix=REGULAR
+; RUN: llc -mtriple x86_64-apple-macosx -mcpu=corei7-avx -combiner-stress-load-slicing < %s -o - | FileCheck %s --check-prefix=STRESS
+; RUN: llc -mtriple x86_64-apple-macosx -mcpu=corei7-avx < %s -o - | FileCheck %s --check-prefix=REGULAR
 ;
 ; <rdar://problem/14477220>