aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/add.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll
index 8c99eac397..8dd4c82fa9 100644
--- a/test/Transforms/InstCombine/add.ll
+++ b/test/Transforms/InstCombine/add.ll
@@ -130,3 +130,8 @@ int %test20(int %x) {
ret int %tmp.4
}
+bool %test21(uint %x) {
+ %t = add uint %x, 4
+ %y = seteq uint %t, 123
+ ret bool %y
+}