[all-commits] [llvm/llvm-project] 9b818a: [DebugInfo] Propagate DebugLoc from switch in simp...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Wed Oct 29 08:44:09 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9b818afc26af83f412805390979d29abd953607a
https://github.com/llvm/llvm-project/commit/9b818afc26af83f412805390979d29abd953607a
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
A llvm/test/Transforms/SimplifyCFG/X86/debugloc-switch-powers-of-two.ll
Log Message:
-----------
[DebugInfo] Propagate DebugLoc from switch in simplifySwitchOfPowersOfTwo (#165335)
A recent commit 00f5a1e30b modified simplifySwitchOfPowersOfTwo to
generate a branch to handle the non-power-of-2 case when appropriate,
but does not set a DebugLoc on the new branch instruction; this patch
propagates the switch's DebugLoc to the new branch, as for the other
instructions generated in the same block.
Found using #107279.
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