summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Bodart <mitch.l.bodart@intel.com>2016-04-26 23:36:38 +0000
committerMitch Bodart <mitch.l.bodart@intel.com>2016-04-26 23:36:38 +0000
commit807e13379b0b0ce6262de5b4c9f9d778603691a7 (patch)
tree7b8f27424f8df3857f5bd805e69d151d5e5a33bb
parentcb8a21c88e801d2f56b90d01b1a2e3be07bb1663 (diff)
downloadbcm5719-llvm-807e13379b0b0ce6262de5b4c9f9d778603691a7.tar.gz
bcm5719-llvm-807e13379b0b0ce6262de5b4c9f9d778603691a7.zip
[X86] Replace -mcpu with -mattr in several tests
Differential Revision: http://reviews.llvm.org/D19568 llvm-svn: 267629
-rw-r--r--llvm/test/CodeGen/X86/machine-cp.ll2
-rw-r--r--llvm/test/CodeGen/X86/misched-ilp.ll4
-rw-r--r--llvm/test/CodeGen/X86/pr16360.ll2
-rw-r--r--llvm/test/CodeGen/X86/sse2.ll2
4 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/machine-cp.ll b/llvm/test/CodeGen/X86/machine-cp.ll
index 143a1c3787a..57663a011f1 100644
--- a/llvm/test/CodeGen/X86/machine-cp.ll
+++ b/llvm/test/CodeGen/X86/machine-cp.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=x86_64-apple-macosx -mcpu=nocona -verify-machineinstrs < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-apple-macosx -mattr=+sse2 -verify-machineinstrs < %s | FileCheck %s
; After tail duplication, two copies in an early exit BB can be cancelled out.
; rdar://10640363
diff --git a/llvm/test/CodeGen/X86/misched-ilp.ll b/llvm/test/CodeGen/X86/misched-ilp.ll
index 4ca296ca92e..2babae25ea4 100644
--- a/llvm/test/CodeGen/X86/misched-ilp.ll
+++ b/llvm/test/CodeGen/X86/misched-ilp.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=x86_64-apple-macosx -mcpu=nocona -enable-misched -misched=ilpmax | FileCheck -check-prefix=MAX %s
-; RUN: llc < %s -mtriple=x86_64-apple-macosx -mcpu=nocona -enable-misched -misched=ilpmin | FileCheck -check-prefix=MIN %s
+; RUN: llc < %s -mtriple=x86_64-apple-macosx -mattr=+sse2 -enable-misched -misched=ilpmax | FileCheck -check-prefix=MAX %s
+; RUN: llc < %s -mtriple=x86_64-apple-macosx -mattr=+sse2 -enable-misched -misched=ilpmin | FileCheck -check-prefix=MIN %s
;
; Basic verification of the ScheduleDAGILP metric.
;
diff --git a/llvm/test/CodeGen/X86/pr16360.ll b/llvm/test/CodeGen/X86/pr16360.ll
index a8a984b6302..984cc17547c 100644
--- a/llvm/test/CodeGen/X86/pr16360.ll
+++ b/llvm/test/CodeGen/X86/pr16360.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mcpu=pentium4 -mtriple=i686-pc-linux | FileCheck %s
+; RUN: llc < %s -mtriple=i686-pc-linux | FileCheck %s
define i64 @foo(i32 %sum) {
; CHECK-LABEL: foo:
diff --git a/llvm/test/CodeGen/X86/sse2.ll b/llvm/test/CodeGen/X86/sse2.ll
index 6c4be01baf4..85e57e0dbdd 100644
--- a/llvm/test/CodeGen/X86/sse2.ll
+++ b/llvm/test/CodeGen/X86/sse2.ll
@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; Tests for SSE2 and below, without SSE3+.
-; RUN: llc < %s -mtriple=i386-apple-darwin10 -mcpu=pentium4 -O3 | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin10 -mattr=+sse2 -O3 | FileCheck %s
define void @test1(<2 x double>* %r, <2 x double>* %A, double %B) nounwind {
; CHECK-LABEL: test1:
OpenPOWER on IntegriCloud