Fix signed/unsigned mismatch warning. NFCI.

llvm-svn: 356046
This commit is contained in:
Simon Pilgrim 2019-03-13 13:14:14 +00:00
parent b9d9e0be3c
commit 0c1e5aacd3
1 changed files with 1 additions and 1 deletions

View File

@ -12033,7 +12033,7 @@ static SDValue lowerShuffleAsBroadcast(const SDLoc &DL, MVT VT, SDValue V1,
SDValue BaseAddr = Ld->getOperand(1);
EVT SVT = BroadcastVT.getScalarType();
unsigned Offset = BroadcastIdx * SVT.getStoreSize();
assert((Offset * 8) == BitOffset && "Unexpected bit-offset");
assert((int)(Offset * 8) == BitOffset && "Unexpected bit-offset");
SDValue NewAddr = DAG.getMemBasePlusOffset(BaseAddr, Offset, DL);
V = DAG.getLoad(SVT, DL, Ld->getChain(), NewAddr,
DAG.getMachineFunction().getMachineMemOperand(