[llvm-commits] [llvm] r62263 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/cast-sext-zext.ll

Duncan Sands baldrick at free.fr
Thu Jan 15 11:52:03 PST 2009


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