[llvm] r188908 - Add -mcpu to two X86 tests.
Joey Gouly
joey.gouly at arm.com
Wed Aug 21 10:14:31 PDT 2013
Author: joey
Date: Wed Aug 21 12:14:31 2013
New Revision: 188908
URL: http://llvm.org/viewvc/llvm-project?rev=188908&view=rev
Log:
Add -mcpu to two X86 tests.
These tests are failing on Haswell CPUs due to different instruction selection.
Modified:
llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll
llvm/trunk/test/CodeGen/X86/i128-mul.ll
Modified: llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll?rev=188908&r1=188907&r2=188908&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll Wed Aug 21 12:14:31 2013
@@ -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:
Modified: llvm/trunk/test/CodeGen/X86/i128-mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/i128-mul.ll?rev=188908&r1=188907&r2=188908&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/i128-mul.ll (original)
+++ llvm/trunk/test/CodeGen/X86/i128-mul.ll Wed Aug 21 12:14:31 2013
@@ -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) {
More information about the llvm-commits
mailing list