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
This commit is contained in:
Benjamin Kramer 2011-10-13 14:27:54 +00:00
parent 898f336c51
commit d38e99e949

View 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)