[all-commits] [llvm/llvm-project] 775af5: [DebugInfo] Prefer setKillLocation rather than rep...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Fri Jan 6 02:12:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 775af51209bcce2527b38dea57275131f9551455
https://github.com/llvm/llvm-project/commit/775af51209bcce2527b38dea57275131f9551455
Author: OCHyams <orlando.hyams at sony.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[DebugInfo] Prefer setKillLocation rather than replacing operands with undef
NFC-ish. There is a functional change but the outputs are semantically
identical. Where we might've before replaced one operand with undef (which
means "this is a kill location marker") the use of `setKillLocation` will
replace all location operands with `undef` (which also means "this is a kill
location marker").
Related to https://discourse.llvm.org/t/auto-undef-debug-uses-of-a-deleted-value
Reviewed By: StephenTozer
Differential Revision: https://reviews.llvm.org/D140904
More information about the All-commits
mailing list