Tweak 3 tests in llvm/test/CodeGen/X86 to add -mcpu=generic since r195383.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 22 Nov 2013 02:28:04 +0000 (02:28 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 22 Nov 2013 02:28:04 +0000 (02:28 +0000)
They failed on bdver2 buildslave.

FIXME: FileCheck-ize them.

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

test/CodeGen/X86/2006-01-19-ISelFoldingBug.ll
test/CodeGen/X86/rot16.ll
test/CodeGen/X86/shift-double.ll

index d906da43fe11c8c471033e3c1ecb44e8a32d17c4..1b3fc382e890c8f641773e02e6f6a75b71c448bc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | \
+; RUN: llc < %s -march=x86 -mcpu=generic | \
 ; RUN:   grep shld | count 1
 ;
 ; Check that the isel does not fold the shld, which already folds a load
index 0293f4e21123a49d4976a289065a4b304a5f1641..6d7c702afc406f4ec8e9234668fcd3a2844cb81d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86 -mcpu=generic | FileCheck %s
 
 define i16 @foo(i16 %x, i16 %y, i16 %z) nounwind readnone {
 entry:
index 8d2b2907c5a76d748b3dc182ae7ac5e438d89aab..fd4ba81d47c1012ad9270d1a49cd86718605a970 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
+; RUN: llc < %s -march=x86 -mcpu=generic -x86-asm-syntax=intel | \
 ; RUN:   grep "sh[lr]d" | count 5
 
 define i64 @test1(i64 %X, i8 %C) {