diff options
-rw-r--r-- | test/Transforms/InstCombine/set.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll index 970fceb4cf..6abf6461c1 100644 --- a/test/Transforms/InstCombine/set.ll +++ b/test/Transforms/InstCombine/set.ll @@ -106,3 +106,10 @@ bool %test19(bool %A, bool %B) { %C = seteq int %a, %b ret bool %C } + +uint %test20(uint %A) { + %B = and uint %A, 1 + %C = setne uint %B, 0 + %D = cast bool %C to uint + ret uint %D +} |