[PATCH] D140790: [MachineBasicBlock] Explicit FT branching param
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 10:06:31 PST 2023
gandhi21299 added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineBasicBlock.cpp:973
// reach, even though the branch should get folded to fall through implicitly.
- if (MachineFunction::iterator(TBB) == Fallthrough ||
- MachineFunction::iterator(FBB) == Fallthrough)
+ if (AllowExplicitFT && (MachineFunction::iterator(TBB) == Fallthrough ||
+ MachineFunction::iterator(FBB) == Fallthrough))
----------------
Thoughts on this change? @arsenm @efriedma
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140790/new/
https://reviews.llvm.org/D140790
More information about the llvm-commits
mailing list