ARM: no need to update SplatBits as it is not used
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>
Sun, 23 Mar 2014 21:14:32 +0000 (21:14 +0000)
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>
Sun, 23 Mar 2014 21:14:32 +0000 (21:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204575 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelLowering.cpp

index e14edfece641067f4c041c6cbf684e6c5d4a3178..b512db5551e23f34120a92185de4efafabae0c63 100644 (file)
@@ -4372,7 +4372,6 @@ static SDValue isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef,
       // Value = 0x0000nnff: Op=x, Cmode=1100.
       OpCmode = 0xc;
       Imm = SplatBits >> 8;
-      SplatBits |= 0xff;
       break;
     }
 
@@ -4381,7 +4380,6 @@ static SDValue isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef,
       // Value = 0x00nnffff: Op=x, Cmode=1101.
       OpCmode = 0xd;
       Imm = SplatBits >> 16;
-      SplatBits |= 0xffff;
       break;
     }
 
@@ -4412,7 +4410,6 @@ static SDValue isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef,
     }
     // Op=1, Cmode=1110.
     OpCmode = 0x1e;
-    SplatBits = Val;
     VT = is128Bits ? MVT::v2i64 : MVT::v1i64;
     break;
   }