[llvm] [WIP]AMDGPU/GlobalISel: Gracefully report regbanklegalize errors (PR #169511)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 08:21:49 PST 2025


================
@@ -27,11 +30,14 @@ namespace AMDGPU {
 // to replace instruction. In other case InstApplyMethod will create new
 // instruction(s).
 class RegBankLegalizeHelper {
+  MachineFunction &MF;
   const GCNSubtarget &ST;
   MachineIRBuilder &B;
   MachineRegisterInfo &MRI;
   const MachineUniformityInfo &MUI;
   const RegisterBankInfo &RBI;
+  const TargetPassConfig &TPC;
----------------
arsenm wrote:

Probably shouldn't be spreading this, it doesn't exist in new pm 

https://github.com/llvm/llvm-project/pull/169511


More information about the llvm-commits mailing list