[llvm] bdab5c4 - ARMFixCortexA57AES1742098Pass.cpp: Suppress a warning. [-Wunused-but-set-variable]
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Sun May 15 02:03:13 PDT 2022
Author: NAKAMURA Takumi
Date: 2022-05-15T18:01:42+09:00
New Revision: bdab5c4b3d2053d4981365f8b839f5637720f934
URL: https://github.com/llvm/llvm-project/commit/bdab5c4b3d2053d4981365f8b839f5637720f934
DIFF: https://github.com/llvm/llvm-project/commit/bdab5c4b3d2053d4981365f8b839f5637720f934.diff
LOG: ARMFixCortexA57AES1742098Pass.cpp: Suppress a warning. [-Wunused-but-set-variable]
Added:
Modified:
llvm/lib/Target/ARM/ARMFixCortexA57AES1742098Pass.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARM/ARMFixCortexA57AES1742098Pass.cpp b/llvm/lib/Target/ARM/ARMFixCortexA57AES1742098Pass.cpp
index de8399d5f786..77c8f7134a55 100644
--- a/llvm/lib/Target/ARM/ARMFixCortexA57AES1742098Pass.cpp
+++ b/llvm/lib/Target/ARM/ARMFixCortexA57AES1742098Pass.cpp
@@ -391,6 +391,7 @@ void ARMFixCortexA57AES1742098::analyzeMF(
assert(FixupLocsForFn.size() <= MaxAllowedFixups &&
"Inserted too many fixups for this function.");
+ (void)MaxAllowedFixups;
}
void ARMFixCortexA57AES1742098::insertAESFixup(
More information about the llvm-commits
mailing list