aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-06-14 17:18:36 +0100
committerFlorian Hahn <flo@fhahn.com>2025-06-14 17:20:46 +0100
commit577199f9221ebc805a69372a2b19f4c8ebaf1daf (patch)
tree903c422ade9aca1f409d74030aa76071a19cc30f /clang/lib/Parse/ParseDecl.cpp
parent72f99b75afc12bb15a7730544339bcc1ca11e8ee (diff)
downloadllvm-577199f9221ebc805a69372a2b19f4c8ebaf1daf.zip
llvm-577199f9221ebc805a69372a2b19f4c8ebaf1daf.tar.gz
llvm-577199f9221ebc805a69372a2b19f4c8ebaf1daf.tar.bz2
Reapply "[VPlan] Set branch weight metadata on middle term in VPlan (NFC) (#143035)"
This reverts commit 0604dc199c019b23746f4a54885ba0c75569cdae. The recommitted version addresses post-commit comments and adjusts the place the branch weights are added. It now runs before VPlans are optimized for VF and UF, which may remove the vector loop region, causing a crash trying to get the middle block after that. Test case added in 72f99b75afc12bb. Original message: 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
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions