summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel-fneg.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-11 00:34:46 +0000
committerDan Gohman <gohman@apple.com>2009-09-11 00:34:46 +0000
commit5e5abb77fe9eeb92a55f119fdb721bca4508094a (patch)
tree16ae74cdb85d40581b3921facc7e09092fd8e741 /test/CodeGen/X86/fast-isel-fneg.ll
parentc24edfaee2906bfe13cb1af48be020adf0f8c14f (diff)
downloadllvm-5e5abb77fe9eeb92a55f119fdb721bca4508094a.tar.gz
llvm-5e5abb77fe9eeb92a55f119fdb721bca4508094a.tar.bz2
llvm-5e5abb77fe9eeb92a55f119fdb721bca4508094a.tar.xz
Reapply r81171 with a fix: don't try to use i64 when it
isn't legal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-fneg.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-fneg.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/fast-isel-fneg.ll b/test/CodeGen/X86/fast-isel-fneg.ll
index 15d4772927..cc0f3de4f7 100644
--- a/test/CodeGen/X86/fast-isel-fneg.ll
+++ b/test/CodeGen/X86/fast-isel-fneg.ll
@@ -1,14 +1,15 @@
-; RUN: llc < %s -fast-isel -march=x86-64 | FileCheck %s
+; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86-64 | FileCheck %s
+; RUN: llc < %s -fast-isel -march=x86 | grep xor | count 2
; CHECK: doo:
-; CHECK: xorpd
+; CHECK: xor
define double @doo(double %x) nounwind {
%y = fsub double -0.0, %x
ret double %y
}
; CHECK: foo:
-; CHECK: xorps
+; CHECK: xor
define float @foo(float %x) nounwind {
%y = fsub float -0.0, %x
ret float %y