summaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/fneg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/XCore/fneg.ll')
-rw-r--r--test/CodeGen/XCore/fneg.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/XCore/fneg.ll b/test/CodeGen/XCore/fneg.ll
index 67ab6195aad20..20433da3bbe50 100644
--- a/test/CodeGen/XCore/fneg.ll
+++ b/test/CodeGen/XCore/fneg.ll
@@ -1,9 +1,9 @@
; RUN: llc < %s -march=xcore | FileCheck %s
-define i1 @test(double %F) nounwind {
+define i1 @test(double %F, double %G) nounwind {
entry:
; CHECK-LABEL: test:
; CHECK: xor
%0 = fsub double -0.000000e+00, %F
- %1 = fcmp olt double 0.000000e+00, %0
+ %1 = fcmp olt double %G, %0
ret i1 %1
}