[llvm] r356477 - [NFC] Fix unused variable in release builds
Jordan Rupprecht via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 09:52:40 PDT 2019
Author: rupprecht
Date: Tue Mar 19 09:52:40 2019
New Revision: 356477
URL: http://llvm.org/viewvc/llvm-project?rev=356477&view=rev
Log:
[NFC] Fix unused variable in release builds
This was introduced in rL356468.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=356477&r1=356476&r2=356477&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Mar 19 09:52:40 2019
@@ -26791,8 +26791,8 @@ void X86TargetLowering::ReplaceNodeResul
}
case ISD::ABS: {
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
- EVT VT = N->getValueType(0);
- assert(VT == MVT::i64 && "Unexpected type (!= i64) on ABS.");
+ assert(N->getValueType(0) == MVT::i64 &&
+ "Unexpected type (!= i64) on ABS.");
MVT HalfT = MVT::i32;
SDValue Lo, Hi, Tmp;
SDVTList VTList = DAG.getVTList(HalfT, MVT::i1);
More information about the llvm-commits
mailing list