[llvm-commits] Patch to safely restore optimization to testcase from PR3225 on x86

Duncan Sands baldrick at free.fr
Thu Dec 18 21:49:53 PST 2008


On Friday 19 December 2008 02:31:13 Dan Gohman wrote:
>  > +  if (KnownZero == VTBits) {
> 
> If the shift count is known to be all-zero, shouldn't it
> have been simplified already by pre-legalize DAGCombine,
> if not InstCombine?

What if it was introduced by LegalizeTypes itself?

Ciao,

Duncan.



More information about the llvm-commits mailing list