[llvm-commits] [llvm] r141863 - /llvm/trunk/test/CodeGen/X86/bswap.ll

Benjamin Kramer benny.kra at googlemail.com
Thu Oct 13 07:27:54 PDT 2011


Author: d0k
Date: Thu Oct 13 09:27:54 2011
New Revision: 141863

URL: http://llvm.org/viewvc/llvm-project?rev=141863&view=rev
Log:
Force CPU type on test so it doesn't accidentally emit movbe instead of bswap on Intel Atom CPUs.

Modified:
    llvm/trunk/test/CodeGen/X86/bswap.ll

Modified: llvm/trunk/test/CodeGen/X86/bswap.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/bswap.ll?rev=141863&r1=141862&r2=141863&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/bswap.ll (original)
+++ llvm/trunk/test/CodeGen/X86/bswap.ll Thu Oct 13 09:27:54 2011
@@ -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)
 





More information about the llvm-commits mailing list