[llvm] [AMDGPU][NewPM] Consistently preserve IR analyses in MF passes (PR #173758)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 28 13:12:05 PST 2025
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/173758
>From a9be4ffd8a53cc6fbf45970e38f52fc481bf7907 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sun, 28 Dec 2025 06:21:20 +0000
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change?=
=?UTF-8?q?s=20to=20main=20this=20commit=20is=20based=20on?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.7
[skip ci]
---
llvm/lib/CodeGen/MachineInstrBundle.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/CodeGen/MachineInstrBundle.cpp b/llvm/lib/CodeGen/MachineInstrBundle.cpp
index 3a212206ac4e6..52b3528345072 100644
--- a/llvm/lib/CodeGen/MachineInstrBundle.cpp
+++ b/llvm/lib/CodeGen/MachineInstrBundle.cpp
@@ -393,5 +393,5 @@ llvm::FinalizeBundleTestPass::run(MachineFunction &MF,
// except for terminators.
for (MachineBasicBlock &MBB : MF)
finalizeBundle(MBB, MBB.instr_begin(), MBB.getFirstInstrTerminator());
- return PreservedAnalyses::none();
+ return getMachineFunctionPassPreservedAnalyses();
}
More information about the llvm-commits
mailing list