[llvm] r345761 - [SelectionDAGISel] Suppress a -Wunused-but-set-variable warning in release builds. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 31 11:46:15 PDT 2018
Author: ctopper
Date: Wed Oct 31 11:46:15 2018
New Revision: 345761
URL: http://llvm.org/viewvc/llvm-project?rev=345761&view=rev
Log:
[SelectionDAGISel] Suppress a -Wunused-but-set-variable warning in release builds. NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=345761&r1=345760&r2=345761&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Oct 31 11:46:15 2018
@@ -1156,6 +1156,7 @@ static void mapWasmLandingPadIndex(Machi
}
}
assert(IntrFound && "wasm.landingpad.index intrinsic not found!");
+ (void)IntrFound;
}
}
More information about the llvm-commits
mailing list