summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll b/llvm/test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll
new file mode 100644
index 00000000000..3b34a7db9dc
--- /dev/null
+++ b/llvm/test/Transforms/InstCombine/2007-01-14-FcmpSelf.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'fcmp uno.*0.0'
+; PR1111
+define i1 %test(double %X) {
+%tmp = fcmp une double %X, %X
+ ret i1 %tmp
+}
OpenPOWER on IntegriCloud