[llvm] [FIX] Fix sanitizer-aarch64-linux build after commit 8472eb1361bbabd6… (PR #148206)
Sergey Shcherbinin via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 11 03:52:14 PDT 2025
https://github.com/SergeyShch01 created https://github.com/llvm/llvm-project/pull/148206
The previous commit 8472eb1361bbabd6428a65da446618503e439743 broke the sanitizer-aarch64-linux builder.
This patch fixes it: unsued variable is removed
>From f37e1fcbaadd8ea3b901451f4d9aef58982409d5 Mon Sep 17 00:00:00 2001
From: Sergey Shcherbinin <sscherbinin at nvidia.com>
Date: Fri, 11 Jul 2025 14:47:05 +0400
Subject: [PATCH] [FIX] Fix sanitizer-aarch64-linux build after commit
8472eb1361bbabd6428a65da446618503e439743
---
llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp b/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
index edbc3d8c3f614..e6b22695761e7 100644
--- a/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
+++ b/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
@@ -2569,7 +2569,6 @@ MachineBasicBlock::iterator AArch64LoadStoreOpt::findMatchingUpdateInsnForward(
// such that BaseReg is alive along it but not at its exits
MachineBasicBlock *SuccToVisit = nullptr;
unsigned LiveSuccCount = 0;
- MCRegister RegNoBAse = BaseReg;
for (MachineBasicBlock *Succ : CurMBB->successors()) {
for (MCRegAliasIterator AI(BaseReg, TRI, true); AI.isValid(); ++AI) {
if (Succ->isLiveIn(*AI)) {
More information about the llvm-commits
mailing list