diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-06 01:52:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-06 01:52:52 +0000 |
commit | cb94575bc6c5f2e922c4180822ed333bc74aeddf (patch) | |
tree | abac281a83ac8a64fbe29ee064dbd34f4143112f | |
parent | 564d20cb9b0697bc66bd301ddc36328fa7582d1f (diff) |
new testcase for unneeded and
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21711 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index b217c7e39c..e8558f7d90 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/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 +} |