summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
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
commit89b090e51edfa2bd595a992a73c4faf429f45265 (patch)
tree290930c6888b8330c452ac10ca156a21bbb62810 /llvm/test/CodeGen
parent0533ffa2a68df77462a1a5c4cf1f54433c397e7c (diff)
downloadbcm5719-llvm-89b090e51edfa2bd595a992a73c4faf429f45265.tar.gz
bcm5719-llvm-89b090e51edfa2bd595a992a73c4faf429f45265.zip
Reapply r81171 with a fix: don't try to use i64 when it
isn't legal. llvm-svn: 81492
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-fneg.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-fneg.ll b/llvm/test/CodeGen/X86/fast-isel-fneg.ll
index 15d4772927d..cc0f3de4f76 100644
--- a/llvm/test/CodeGen/X86/fast-isel-fneg.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud