diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-13 14:27:54 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-13 14:27:54 +0000 |
commit | d38e99e9490e3d891e1937e64ae837a392681df0 (patch) | |
tree | 7ed763c8ad382d222f570788835199cb31eebbe1 /test/CodeGen/X86/bswap.ll | |
parent | 898f336c515e7af607d1ee05a98319912894f24f (diff) | |
download | llvm-d38e99e9490e3d891e1937e64ae837a392681df0.tar.gz llvm-d38e99e9490e3d891e1937e64ae837a392681df0.tar.bz2 llvm-d38e99e9490e3d891e1937e64ae837a392681df0.tar.xz |
Force CPU type on test so it doesn't accidentally emit movbe instead of bswap on Intel Atom CPUs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/bswap.ll')
-rw-r--r-- | test/CodeGen/X86/bswap.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/bswap.ll b/test/CodeGen/X86/bswap.ll index a7540aafa9..d2d6f9099a 100644 --- a/test/CodeGen/X86/bswap.ll +++ b/test/CodeGen/X86/bswap.ll @@ -1,6 +1,6 @@ ; bswap should be constant folded when it is passed a constant argument -; RUN: llc < %s -march=x86 | FileCheck %s +; RUN: llc < %s -march=x86 -mcpu=i686 | FileCheck %s declare i16 @llvm.bswap.i16(i16) |