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, 3 insertions, 1 deletions
diff --git a/test/CodeGen/XCore/fneg.ll b/test/CodeGen/XCore/fneg.ll
index e3dd3dd45c..d442a19712 100644
--- a/test/CodeGen/XCore/fneg.ll
+++ b/test/CodeGen/XCore/fneg.ll
@@ -1,6 +1,8 @@
-; RUN: llc < %s -march=xcore | grep "xor" | count 1
+; RUN: llc < %s -march=xcore | FileCheck %s
define i1 @test(double %F) nounwind {
entry:
+; CHECK: test:
+; CHECK: xor
%0 = fsub double -0.000000e+00, %F
%1 = fcmp olt double 0.000000e+00, %0
ret i1 %1