aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/set.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll
index 03c7e790db..e7057bd444 100644
--- a/test/Transforms/InstCombine/set.ll
+++ b/test/Transforms/InstCombine/set.ll
@@ -41,3 +41,13 @@ bool "test6"(int %A) {
%B = setge int %A, %A
ret bool %B
}
+
+bool "test7"(uint %A) {
+ %B = setge uint %A, 0 ; true
+ ret bool %B
+}
+
+bool "test8"(uint %A) {
+ %B = setlt uint %A, 0 ; false
+ ret bool %B
+}