aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2025-06-12 13:44:18 +0200
committerHans Wennborg <hans@chromium.org>2025-06-12 13:52:05 +0200
commit0604dc199c019b23746f4a54885ba0c75569cdae (patch)
tree3d14b7d7a4419ca2357f540b9f0b65de5894e112 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentd698ede748e66f5519cb8481abc2df89a994a059 (diff)
downloadllvm-0604dc199c019b23746f4a54885ba0c75569cdae.zip
llvm-0604dc199c019b23746f4a54885ba0c75569cdae.tar.gz
llvm-0604dc199c019b23746f4a54885ba0c75569cdae.tar.bz2
Revert "[VPlan] Set branch weight metadata on middle term in VPlan (NFC) (#143035)"
This caused assertion failures: llvm/lib/Transforms/Vectorize/VPlan.h:4021: llvm::VPBasicBlock* llvm::VPlan::getMiddleBlock(): Assertion `LoopRegion && "cannot call the function after vector loop region has been removed"' failed. See comment on the PR. > Manage branch weights for the BranchOnCond in the middle block in VPlan. > This requires updating VPInstruction to inherit from VPIRMetadata, which > in general makes sense as there are a number of opcodes that could take > metadata. > > There are other branches (part of the skeleton) that also need branch > weights adding. > > PR: https://github.com/llvm/llvm-project/pull/143035 This reverts commit db8d34db26e9ea92c08d6e813eca9cce40c48478.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions