Force cmov on test so block placement doesn't shuffle the code around.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Apr 2012 13:55:23 +0000 (13:55 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Apr 2012 13:55:23 +0000 (13:55 +0000)
This made the test fail with -mcpu=generic (when building on a non-x86 host).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154926 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2010-11-18-SelectOfExtload.ll

index a1074b6b8f3c4af3d732c40759a5bb64ebd6d20c..6d54c7e2982b209e1e8b353d688842726fbc43fb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+cmov | FileCheck %s
 ; Both values were being zero extended.
 @u = external global i8
 @s = external global i8