[all-commits] [llvm/llvm-project] cffb8a: [DEBUGINFO] Propagate debug metadata for sext SDNo...
Alexander Peskov via All-commits
all-commits at lists.llvm.org
Fri May 2 05:32:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cffb8aee140ce0c022060941b7b60025dd70395c
https://github.com/llvm/llvm-project/commit/cffb8aee140ce0c022060941b7b60025dd70395c
Author: Alexander Peskov <apeskov at nvidia.com>
Date: 2025-05-02 (Fri, 02 May 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/DebugInfo/NVPTX/debug-bool-var.ll
Log Message:
-----------
[DEBUGINFO] Propagate debug metadata for sext SDNode. (#135971)
In some cases of chained `sext` operators the debug metadata can be
missed. This patch propagates proper metadata to resulting node.
Particular case of issue is NVPTX codegen for function with bool local
variable:
```
void test(int i) {
bool xyz = i == 0;
foo(i);
}
```
---------
Signed-off-by: Alexander Peskov <apeskov at nvidia.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list