diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 529e43ced98..3cf8fc1f023 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -143,3 +143,10 @@ ubyte %test22(ubyte %A) { %E = xor ubyte %D, 12 ret ubyte %E } + +uint %test23(uint %A) { + %B = or uint %A, 4 ; Should be eliminated + %C = and uint %B, 8 + ret uint %C +} +