Expand for ROTR with MVT::i64.
authorBill Wendling <isanbard@gmail.com>
Sun, 31 Aug 2008 02:53:19 +0000 (02:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 31 Aug 2008 02:53:19 +0000 (02:53 +0000)
Dale, Could you please review this?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55581 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index ea8da9dce6f20f1790b37d604bf33702938c6825..852d7d347aa2dfd423dcd4d8ba104a6ec09e462e 100644 (file)
@@ -125,6 +125,7 @@ PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
   
   // 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);