[llvm-commits] [llvm] r62263 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/cast-sext-zext.ll
evan.cheng at apple.com
Thu Jan 15 12:05:43 PST 2009
That's not legal, right?
On Jan 15, 2009, at 11:52 AM, Duncan Sands wrote:
>> - Teach CanEvaluateInDifferentType of this xform: sext (zext ty1),
>> ty2 -> zext ty2
> this is only correct if the zext is non-trivial, i.e. the result
> type is not equal to the operand type.
More information about the llvm-commits