[llvm] [DEBUGINFO] Propagate debug metadata for sext SDNode. (PR #135971)

Alexander Peskov via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 02:25:04 PDT 2025


apeskov wrote:

> We only go sext `(sext x) ->sext x` or `sext (zext x) ->zext x`, never `sext (zext x) -> sext x`. Right?

You are right, `sext (zext x) -> sext x` is not the case. In other words, debug data is only transferred between nodes with identical opcode. 

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


More information about the llvm-commits mailing list