summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
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
commitf437e680588298ff6e3ddbf07c3455fd6212000b (patch)
tree46fad4814ab5f71aea07ef5323227be4e0d30a24 /llvm/test/CodeGen
parenta22637897a5148a1e35808cad3f8a450acf686c5 (diff)
downloadbcm5719-llvm-f437e680588298ff6e3ddbf07c3455fd6212000b.tar.gz
bcm5719-llvm-f437e680588298ff6e3ddbf07c3455fd6212000b.zip
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. llvm-svn: 81656
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-fneg.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-fneg.ll b/llvm/test/CodeGen/X86/fast-isel-fneg.ll
index cc0f3de4f76..5ffd48bce65 100644
--- a/llvm/test/CodeGen/X86/fast-isel-fneg.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud