forked from OSchip/llvm-project
Fix signed/unsigned mismatch warning. NFCI.
llvm-svn: 356046
This commit is contained in:
parent
b9d9e0be3c
commit
0c1e5aacd3
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue