Add -mattr=+sse2 to the -march=x86 version of this test. Without
authorDan Gohman <gohman@apple.com>
Sat, 12 Sep 2009 23:45:47 +0000 (23:45 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 12 Sep 2009 23:45:47 +0000 (23:45 +0000)
sse, this code falls back to SelectionDAG isel which uses an x87
instruction, which is fine, but not what this test is testing for.

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

test/CodeGen/X86/fast-isel-fneg.ll

index cc0f3de4f768d6e755fc48f80f3332c862f97ba5..5ffd48bce655359911a5ebf00100310256dd2c4c 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86-64 | FileCheck %s
-; RUN: llc < %s -fast-isel -march=x86 | grep xor | count 2
+; RUN: llc < %s -fast-isel -march=x86 -mattr=+sse2 | grep xor | count 2
 
 ; CHECK: doo:
 ; CHECK: xor