[llvm-commits] [llvm] r86670 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/cast-mul-select.ll test/Transforms/InstCombine/cast.ll

Duncan Sands baldrick at free.fr
Tue Nov 10 00:42:50 PST 2009


Hi Chris,

> +  // If we don't have TD, we don't know if the source/dest are legal.
> +  if (!TD) return false;

I guess it is reasonable to assume that if the number of bits is not
divisible by 8 then it is illegal.  That said, would adding this case
buy much?

Ciao,

Duncan.



More information about the llvm-commits mailing list