diff --git a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll new file mode 100644 index 00000000000..db4735d0b62 --- /dev/null +++ b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s| opt -instcombine | llvm-dis | grep 'ret bool false' +bool %test(bool %V) { + %Y = setlt bool %V, false + ret bool %Y +} +