OSDN Git Service

Add -mcpu to two X86 tests.
authorJoey Gouly <joey.gouly@arm.com>
Wed, 21 Aug 2013 17:14:31 +0000 (17:14 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Wed, 21 Aug 2013 17:14:31 +0000 (17:14 +0000)
These tests are failing on Haswell CPUs due to different instruction selection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188908 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll
test/CodeGen/X86/i128-mul.ll

index 7a3d72d..1ec9c70 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep sarl | not grep esp
+; RUN: llc < %s -march=x86 -mcpu=corei7 | grep sarl | not grep esp
 
 define signext   i16 @t(i16* %qmatrix, i16* %dct, i16* %acBaseTable, i16* %acExtTable, i16 signext  %acBaseRes, i16 signext  %acMaskRes, i16 signext  %acExtRes, i32* %bitptr, i32* %source, i32 %markerPrefix, i8** %byteptr, i32 %scale, i32 %round, i32 %bits) {
 entry:
index c0b85df..8cfda85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
 ; PR1198
 
 define i64 @foo(i64 %x, i64 %y) {