aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/cast.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index ed229e9612..69f31b4e6c 100644
--- a/test/Transforms/InstCombine/cast.ll
+++ b/test/Transforms/InstCombine/cast.ll
@@ -185,3 +185,12 @@ uint %test29(uint %c1, uint %c2) {
ret uint %tmp10
}
+uint %test30(uint %c1) {
+ %c2 = cast uint %c1 to ubyte
+ %c3 = xor ubyte %c2, 1
+ %c4 = cast ubyte %c3 to uint
+ ret uint %c4
+}
+
+
+