[llvm-commits] [llvm] r48143 - in /llvm/trunk/lib/Target/PowerPC: PPCISelLowering.cpp PPCInstrInfo.cpp PPCInstrInfo.td PPCRegisterInfo.cpp PPCRegisterInfo.td

Nicolas Geoffray nicolas.geoffray at lip6.fr
Mon Mar 10 14:34:49 PDT 2008


Chris Lattner wrote:
>
> Nice! 

Thx! But really, Nick L. has all the merit on the patch.

>  I wonder if this facility could be used to make some of the  
> other stuff that works with CR bits more efficient and general.  In  
> particular, PPCTargetLowering::LowerINTRINSIC_WO_CHAIN does some  
> juggling for altivec compares which would be more efficient if done in  
> terms of cr ops than in terms of integer ops I think.  There is also  
> the long-standing codegen deficiency on code like "if ((x < y) | (a !=  
> 14))' which should be two compares and a cror.
>
> I don't know if you're interested in looking at these, but they seem  
> related :)
>   

They are, and this patch definitely opens some opportunities for using 
instructions on CR bits, but Nick is the one who provided the base of 
it, so probably he'd be more qualified.

Nicolas

> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>   




More information about the llvm-commits mailing list