From 29f88a2460f79de003d291137f20626c47612c71 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Wed, 11 Nov 2015 16:14:52 +0000 Subject: [PATCH] Remove unused variable in disable-assert builds. NFC. llvm-svn: 252748 --- llvm/lib/Target/ARM/ARMISelLowering.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 78e313316b00..166d5517f812 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -9141,8 +9141,7 @@ static SDValue PerformBFICombine(SDNode *N, 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));