OSDN Git Service

Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if at least...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 24 Mar 2008 00:21:34 +0000 (00:21 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 24 Mar 2008 00:21:34 +0000 (00:21 +0000)
commitb98a10e8a35d0191763ea4cccfbf7b623eea2a74
tree54e695ceda1ffa473fe5597880a1924a967266c5
parent3d5cd6118db1f60e192ecf04dc4318d7cde870e3
Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if at least one of the (zext icmp) can be transformed to eliminate an icmp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48715 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/zext-or-icmp.ll [new file with mode: 0644]