aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/not.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/not.ll b/test/Transforms/InstCombine/not.ll
index 870e195add..8bc8586649 100644
--- a/test/Transforms/InstCombine/not.ll
+++ b/test/Transforms/InstCombine/not.ll
@@ -14,3 +14,8 @@ int %test1(int %A) {
ret int %C
}
+bool %test2(int %A, int %B) {
+ %cond = setle int %A, %B ; Can change into setge
+ %Ret = xor bool %cond, true
+ ret bool %Ret
+}