[all-commits] [llvm/llvm-project] 291c8c: [llvm-reduce] Add a pass to replace unconditinal b...
Juan Manuel Martinez Caamaño via All-commits
all-commits at lists.llvm.org
Wed Feb 11 10:57:20 PST 2026
Branch: refs/heads/users/jmmartinez/llvm-reduce/simplify-br
Home: https://github.com/llvm/llvm-project
Commit: 291c8c96109fd5f827e6c291a0fc261d1cef3850
https://github.com/llvm/llvm-project/commit/291c8c96109fd5f827e6c291a0fc261d1cef3850
Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M llvm/test/tools/llvm-reduce/reduce-invoke.ll
A llvm/test/tools/llvm-reduce/unconditional-br.ll
M llvm/tools/llvm-reduce/DeltaPasses.def
M llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp
M llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.h
Log Message:
-----------
[llvm-reduce] Add a pass to replace unconditinal branches with returns
Unconditional branches could end up in infinite loops in the reduced code,
while the code could have been reduce furter.
This patch implements a simple pass that replaces unconditional branches
with returns.
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