summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel-fneg.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-12 23:45:47 +0000
committerDan Gohman <gohman@apple.com>2009-09-12 23:45:47 +0000
commitd11c4de5ce19b302da8a0f784b28270b014819a0 (patch)
tree16558294e31f46a6108cd27be442d31110cc7f11 /test/CodeGen/X86/fast-isel-fneg.ll
parent299f11f662c420d4da6ad11cf1a0863b26fcd20b (diff)
downloadllvm-d11c4de5ce19b302da8a0f784b28270b014819a0.tar.gz
llvm-d11c4de5ce19b302da8a0f784b28270b014819a0.tar.bz2
llvm-d11c4de5ce19b302da8a0f784b28270b014819a0.tar.xz
Add -mattr=+sse2 to the -march=x86 version of this test. Without
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
Diffstat (limited to 'test/CodeGen/X86/fast-isel-fneg.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-fneg.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-isel-fneg.ll b/test/CodeGen/X86/fast-isel-fneg.ll
index cc0f3de4f7..5ffd48bce6 100644
--- a/test/CodeGen/X86/fast-isel-fneg.ll
+++ b/test/CodeGen/X86/fast-isel-fneg.ll
@@ -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