[llvm] dd70cd0 - [llvm][sve] Silence unused variable warning in Release builds. NFC
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 23 07:16:46 PDT 2021
Author: Benjamin Kramer
Date: 2021-07-23T16:16:35+02:00
New Revision: dd70cd089a73bec5a8ec411ae307d65516ad70bc
URL: https://github.com/llvm/llvm-project/commit/dd70cd089a73bec5a8ec411ae307d65516ad70bc
DIFF: https://github.com/llvm/llvm-project/commit/dd70cd089a73bec5a8ec411ae307d65516ad70bc.diff
LOG: [llvm][sve] Silence unused variable warning in Release builds. NFC
Added:
Modified:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index e1bc274569ba..79ab70f2bd94 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -15141,9 +15141,8 @@ static bool performTBISimplification(SDValue Addr,
}
static SDValue foldTruncStoreOfExt(SelectionDAG &DAG, SDNode *N) {
- auto OpCode = N->getOpcode();
- assert(OpCode == ISD::STORE ||
- OpCode == ISD::MSTORE && "Expected STORE dag node in input!");
+ assert(N->getOpcode() == ISD::STORE ||
+ N->getOpcode() == ISD::MSTORE && "Expected STORE dag node in input!");
if (auto Store = dyn_cast<StoreSDNode>(N)) {
if (!Store->isTruncatingStore() || Store->isIndexed())
More information about the llvm-commits
mailing list