diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-26 17:16:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-26 17:16:36 +0100 |
commit | fa3ec0c17c48349e6027710d234c83e7bfeaf854 (patch) | |
tree | 04bd44cfc632721dfc0db27ae9081e57142f1638 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 29992cfd628ed5b968ccb73b17ed0521382ba317 (diff) | |
download | llvm-fa3ec0c17c48349e6027710d234c83e7bfeaf854.zip llvm-fa3ec0c17c48349e6027710d234c83e7bfeaf854.tar.gz llvm-fa3ec0c17c48349e6027710d234c83e7bfeaf854.tar.bz2 |
[VPlan] Materialize constant vector trip counts before final opts. (#142309)
Materialize constant vector trip counts before ::execute, if the trip
count can be computed as Original (TC / (VF * UF)) * (VF * UF). For now
this excludes when the tail is folded or scalar epilogues are required.
This enables removing a number of redundant branches from the middle
block.
For now this is also only done when not vectorizing the epilogue, as the
simplification complicates stitching the 2 plans together.
PR: https://github.com/llvm/llvm-project/pull/142309
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions