[clang] [lld] [llvm] [LLVM][WebAssembly] Implement branch hinting proposal (PR #146230)
Heejin Ahn via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 1 22:53:31 PDT 2025
================
@@ -2562,8 +2565,9 @@ void WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
MO = MachineOperand::CreateImm(getDelegateDepth(Stack, MO.getMBB()));
else if (MI.getOpcode() == WebAssembly::RETHROW)
MO = MachineOperand::CreateImm(getRethrowDepth(Stack, MO.getMBB()));
- else
+ else {
MO = MachineOperand::CreateImm(getBranchDepth(Stack, MO.getMBB()));
+ }
----------------
aheejin wrote:
Why add braces here?
https://github.com/llvm/llvm-project/pull/146230
More information about the cfe-commits
mailing list