[llvm-commits] [llvm] r55581 - /llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Dale Johannesen dalej at apple.com
Tue Sep 2 11:16:35 PDT 2008


On Aug 30, 2008, at 7:53 PMPDT, Bill Wendling wrote:

> Author: void
> Date: Sat Aug 30 21:53:19 2008
> New Revision: 55581
>
> URL: http://llvm.org/viewvc/llvm-project?rev=55581&view=rev
> Log:
> Expand for ROTR with MVT::i64.
>
> Dale, Could you please review this?

We talked about this more, and this is OK.
(This is somewhat confusing; there is actually no code to expand ROTR,  
the effect of marking it Expand is to prevent it from being generated,  
which is what we want.)

> Modified:
>    llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
>
> Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=55581&r1=55580&r2=55581&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
> +++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Sat Aug 30  
> 21:53:19 2008
> @@ -125,6 +125,7 @@
>
>   // PowerPC does not have ROTR
>   setOperationAction(ISD::ROTR, MVT::i32   , Expand);
> +  setOperationAction(ISD::ROTR, MVT::i64   , Expand);
>
>   // PowerPC does not have Select
>   setOperationAction(ISD::SELECT, MVT::i32, Expand);
>
>
> _______________________________________________
> 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