[llvm] [AMDGPU] Propagate debug locations to compiler-generated instructions (PR #168573)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 6 09:41:56 PST 2026
================
@@ -1754,8 +1754,8 @@ class ConstantSDNode : public SDNode {
const ConstantInt *Value;
ConstantSDNode(bool isTarget, bool isOpaque, const ConstantInt *val,
- SDVTList VTs)
- : SDNode(isTarget ? ISD::TargetConstant : ISD::Constant, 0, DebugLoc(),
+ SDVTList VTs, const DebugLoc &DL)
+ : SDNode(isTarget ? ISD::TargetConstant : ISD::Constant, 0, DL,
----------------
arsenm wrote:
This is wholly unrelated from the changes in SIWholeQuadMode. I'm skeptical this is needed, especially without any tests. It should be remove from the patch and submitted separately if needed
https://github.com/llvm/llvm-project/pull/168573
More information about the llvm-commits
mailing list