From ca3c03a16716194bbc81614b410b00e6cee341da Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 22 Nov 2013 02:28:04 +0000 Subject: [PATCH] Tweak 3 tests in llvm/test/CodeGen/X86 to add -mcpu=generic since r195383. 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 | 2 +- test/CodeGen/X86/rot16.ll | 2 +- test/CodeGen/X86/shift-double.ll | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/2006-01-19-ISelFoldingBug.ll b/test/CodeGen/X86/2006-01-19-ISelFoldingBug.ll index d906da43fe1..1b3fc382e89 100644 --- a/test/CodeGen/X86/2006-01-19-ISelFoldingBug.ll +++ b/test/CodeGen/X86/2006-01-19-ISelFoldingBug.ll @@ -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 diff --git a/test/CodeGen/X86/rot16.ll b/test/CodeGen/X86/rot16.ll index 0293f4e2112..6d7c702afc4 100644 --- a/test/CodeGen/X86/rot16.ll +++ b/test/CodeGen/X86/rot16.ll @@ -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: diff --git a/test/CodeGen/X86/shift-double.ll b/test/CodeGen/X86/shift-double.ll index 8d2b2907c5a..fd4ba81d47c 100644 --- a/test/CodeGen/X86/shift-double.ll +++ b/test/CodeGen/X86/shift-double.ll @@ -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) { -- 2.34.1