[llvm] [AMDGPU] Propagate debug locations to compiler-generated instructions (PR #168573)

Aleksandar Spasojevic via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 05:08:46 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,
----------------
aleksandar-amd wrote:

Could you please clarify what you mean by "Doesn't belong in this patch"?

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


More information about the llvm-commits mailing list