diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-04-27 07:11:58 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-04-27 07:11:58 +0000 |
commit | 76c5897eae2c60c66bb3a6d71b2971141978c2f5 (patch) | |
tree | caf911d101e316450d02d948ada86c5ee35c3bc4 /test/CodeGen/X86/2011-12-15-vec_shift.ll | |
parent | afb3b5ebe61b480527de86311d2a0770fc857d38 (diff) | |
download | llvm-76c5897eae2c60c66bb3a6d71b2971141978c2f5.tar.gz llvm-76c5897eae2c60c66bb3a6d71b2971141978c2f5.tar.bz2 llvm-76c5897eae2c60c66bb3a6d71b2971141978c2f5.tar.xz |
Add mcpu to tests to prevent them from using AVX instructions on Sandy Bridge after r155618.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2011-12-15-vec_shift.ll')
-rw-r--r-- | test/CodeGen/X86/2011-12-15-vec_shift.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2011-12-15-vec_shift.ll b/test/CodeGen/X86/2011-12-15-vec_shift.ll index 6f9188c442..dc3a08bb4d 100644 --- a/test/CodeGen/X86/2011-12-15-vec_shift.ll +++ b/test/CodeGen/X86/2011-12-15-vec_shift.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=x86-64 -mattr=+sse41 < %s | FileCheck %s -check-prefix=CHECK-W-SSE4 -; RUN: llc -march=x86-64 -mattr=-sse41 < %s | FileCheck %s -check-prefix=CHECK-WO-SSE4 +; RUN: llc -march=x86-64 -mattr=+sse41 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-W-SSE4 +; RUN: llc -march=x86-64 -mattr=-sse41 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-WO-SSE4 ; Test case for r146671 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.7" |