Force CPU type on test so it doesn't accidentally emit movbe instead of bswap on...
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 13 Oct 2011 14:27:54 +0000 (14:27 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 13 Oct 2011 14:27:54 +0000 (14:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141863 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/bswap.ll

index a7540aafa9b4a16dd0f5f23b28840ee2099c09c0..d2d6f9099a1b8997cffe9a95919eafdf764bd264 100644 (file)
@@ -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)