Force a CPU on test so it doesn't depend on microarchitectural scheduling decisions.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 12 Oct 2013 11:17:12 +0000 (11:17 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 12 Oct 2013 11:17:12 +0000 (11:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192532 91177308-0d34-0410-b5e6-96231b3b80d8

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>