diff --git a/test/Regression/Jello/test-logical.ll b/test/Regression/Jello/test-logical.ll new file mode 100644 index 00000000000..732054d6f88 --- /dev/null +++ b/test/Regression/Jello/test-logical.ll @@ -0,0 +1,16 @@ + +void %test() { + %A = and sbyte 4, 8 + %B = or sbyte %A, 7 + %C = xor sbyte %B, %A + + %A = and short 4, 8 + %B = or short %A, 7 + %C = xor short %B, %A + + %A = and int 4, 8 + %B = or int %A, 7 + %C = xor int %B, %A + + ret void +}