[all-commits] [llvm/llvm-project] 43dc6b: [KeyInstr][SimplifyCFG] Remap atoms when folding b...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Tue May 6 06:45:23 PDT 2025
Branch: refs/heads/users/OCHyams/ki-llvm-simplifycfg
Home: https://github.com/llvm/llvm-project
Commit: 43dc6bb1718bcf9d33b02b5f9864ac023e0e00dd
https://github.com/llvm/llvm-project/commit/43dc6bb1718bcf9d33b02b5f9864ac023e0e00dd
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
M llvm/include/llvm/IR/DebugLoc.h
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
A llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-branch-fold.ll
Log Message:
-----------
[KeyInstr][SimplifyCFG] Remap atoms when folding br to common succ into pred
SimplifyCFG folds `b` into `a`.
+-----------+
| v
--> a --> b --> c --> d -->
| ^
+-----------------+
Remap source atoms in `b` so that the duplicated instructions are analysed
independently to determine is_stmt positions. This is necessary as the
contents of `b` may be folded into multiple preds in this way.
Add multi-pred test.
Commit: b4bd26747aa54db2c26efa8e92fe534717d11c9e
https://github.com/llvm/llvm-project/commit/b4bd26747aa54db2c26efa8e92fe534717d11c9e
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
M llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-branch-fold.ll
Log Message:
-----------
add diagram to test
Commit: 791863e7153905fab9baf8efbcbeb5a9a2fde376
https://github.com/llvm/llvm-project/commit/791863e7153905fab9baf8efbcbeb5a9a2fde376
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
nit, use PTI
Compare: https://github.com/llvm/llvm-project/compare/0b2929c734aa...791863e71539
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