diff --git a/test/Regression/Transforms/InstCombine/and.ll b/test/Regression/Transforms/InstCombine/and.ll index b217c7e39c1..e8558f7d907 100644 --- a/test/Regression/Transforms/InstCombine/and.ll +++ b/test/Regression/Transforms/InstCombine/and.ll @@ -192,3 +192,8 @@ int %test29(ubyte %X) { ret int %Z } +int %test30(bool %X) { + %Y = cast bool %X to int + %Z = and int %Y, 1 + ret int %Z +}