[llvm] r252748 - Remove unused variable in disable-assert builds. NFC.
Diego Novillo via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 08:14:52 PST 2015
Author: dnovillo
Date: Wed Nov 11 10:14:52 2015
New Revision: 252748
URL: http://llvm.org/viewvc/llvm-project?rev=252748&view=rev
Log:
Remove unused variable in disable-assert builds. NFC.
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=252748&r1=252747&r2=252748&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Wed Nov 11 10:14:52 2015
@@ -9141,8 +9141,7 @@ static SDValue PerformBFICombine(SDNode
SDValue From1 = ParseBFI(N, ToMask1, FromMask1);
APInt ToMask2, FromMask2;
- SDValue From2 = ParseBFI(CombineBFI.getNode(), ToMask2, FromMask2);
- assert(From1 == From2);
+ assert(From1 == ParseBFI(CombineBFI.getNode(), ToMask2, FromMask2));
// First, unlink CombineBFI.
DCI.DAG.ReplaceAllUsesWith(CombineBFI, CombineBFI.getOperand(0));
More information about the llvm-commits
mailing list