[llvm] r204575 - ARM: no need to update SplatBits as it is not used

Arnaud A. de Grandmaison arnaud.adegm at gmail.com
Sun Mar 23 14:14:32 PDT 2014


Author: aadg
Date: Sun Mar 23 16:14:32 2014
New Revision: 204575

URL: http://llvm.org/viewvc/llvm-project?rev=204575&view=rev
Log:
ARM: no need to update SplatBits as it is not used

Modified:
    llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=204575&r1=204574&r2=204575&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Sun Mar 23 16:14:32 2014
@@ -4372,7 +4372,6 @@ static SDValue isNEONModifiedImm(uint64_
       // Value = 0x0000nnff: Op=x, Cmode=1100.
       OpCmode = 0xc;
       Imm = SplatBits >> 8;
-      SplatBits |= 0xff;
       break;
     }
 
@@ -4381,7 +4380,6 @@ static SDValue isNEONModifiedImm(uint64_
       // Value = 0x00nnffff: Op=x, Cmode=1101.
       OpCmode = 0xd;
       Imm = SplatBits >> 16;
-      SplatBits |= 0xffff;
       break;
     }
 
@@ -4412,7 +4410,6 @@ static SDValue isNEONModifiedImm(uint64_
     }
     // Op=1, Cmode=1110.
     OpCmode = 0x1e;
-    SplatBits = Val;
     VT = is128Bits ? MVT::v2i64 : MVT::v1i64;
     break;
   }





More information about the llvm-commits mailing list