[llvm] [AMDGPU] Propagate debug locations to compiler-generated instructions (PR #168573)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 11:01:39 PST 2025
================
@@ -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:
Doesn't belong in this patch
https://github.com/llvm/llvm-project/pull/168573
More information about the llvm-commits
mailing list