[llvm-commits] [llvm] r62263 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/cast-sext-zext.ll
Evan Cheng
evan.cheng at apple.com
Thu Jan 15 12:05:43 PST 2009
That's not legal, right?
Evan
On Jan 15, 2009, at 11:52 AM, Duncan Sands wrote:
> Hi,
>
>> - 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.
>
> Ciao,
>
> Duncan.
More information about the llvm-commits
mailing list