[clang] [lld] [llvm] [LLVM][WebAssembly] Implement branch hinting proposal (PR #146230)
Lukas Döllerer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 01:16:34 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()));
+ }
----------------
Lukasdoe wrote:
That's actually an artifact of an earlier change that was removed again. Thank you for spotting this.
https://github.com/llvm/llvm-project/pull/146230
More information about the llvm-commits
mailing list