[llvm] [AMDGPU] Emit the Y component's source location for VOPD instructions (PR #228397)

Daniel Hernandez-Juarez via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 04:34:22 PDT 2026


dhernandez0 wrote:

> You shuold not be adding new state in SIMachineFunctionInfo

would adding a pseudo-instruction (added in GCNCreateVOPD.cpp) to carry Y loc work? something like (location emitted by AMDGPUDwarfDebug): 
```
def SI_FUSED_DEBUG_LOC : SPseudoInstSI<(outs), (ins)> {
  let Size = 0;
  let FixedSize = 1;
  let isMeta = 1;
  let hasNoSchedulingInfo = 1;
  let maybeAtomic = 0;
}
```

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


More information about the llvm-commits mailing list