forked from OSchip/llvm-project
Remove unused variable in disable-assert builds. NFC.
llvm-svn: 252748
This commit is contained in:
parent
788c95c3df
commit
29f88a2460
|
@ -9141,8 +9141,7 @@ static SDValue PerformBFICombine(SDNode *N,
|
||||||
SDValue From1 = ParseBFI(N, ToMask1, FromMask1);
|
SDValue From1 = ParseBFI(N, ToMask1, FromMask1);
|
||||||
|
|
||||||
APInt ToMask2, FromMask2;
|
APInt ToMask2, FromMask2;
|
||||||
SDValue From2 = ParseBFI(CombineBFI.getNode(), ToMask2, FromMask2);
|
assert(From1 == ParseBFI(CombineBFI.getNode(), ToMask2, FromMask2));
|
||||||
assert(From1 == From2);
|
|
||||||
|
|
||||||
// First, unlink CombineBFI.
|
// First, unlink CombineBFI.
|
||||||
DCI.DAG.ReplaceAllUsesWith(CombineBFI, CombineBFI.getOperand(0));
|
DCI.DAG.ReplaceAllUsesWith(CombineBFI, CombineBFI.getOperand(0));
|
||||||
|
|
Loading…
Reference in New Issue