OSDN Git Service

Optimize pointer comparison into the typesafe form, now that the backends will
authorNick Lewycky <nicholas@mxc.ca>
Sat, 2 Jan 2010 15:25:44 +0000 (15:25 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 2 Jan 2010 15:25:44 +0000 (15:25 +0000)
commit546d63176eecb2786f9fcd587ccb2c1ef604278b
tree618708edf4e18d220b37d805ce6ed6b8aa5dee07
parentbef37376be2880690445a41e5b2d73c084bd3957
Optimize pointer comparison into the typesafe form, now that the backends will
handle them efficiently. This is the opposite direction of the transformation
we used to have here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92418 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/or.ll