summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
new file mode 100644
index 00000000000..e1144b61b0e
--- /dev/null
+++ b/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret i1 false'
+bool %test(bool %V) {
+ %Y = setlt bool %V, false
+ ret bool %Y
+}
+
OpenPOWER on IntegriCloud