aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2025-08-06 13:08:25 -0300
committerGitHub <noreply@github.com>2025-08-06 09:08:25 -0700
commit8e57689c34f0b0af70f9aaf009c3be0e85d90dda (patch)
tree5c5aa7160f367ba997c11eb86944ee969818baed /llvm/lib/Object
parent3686e5b52f2a02c1c19050479d1dd0fd9d1dd4f8 (diff)
downloadllvm-8e57689c34f0b0af70f9aaf009c3be0e85d90dda.zip
llvm-8e57689c34f0b0af70f9aaf009c3be0e85d90dda.tar.gz
llvm-8e57689c34f0b0af70f9aaf009c3be0e85d90dda.tar.bz2
[RISCV] add load/store misched/PostRA subtarget features (#149409)
Some processors benefit more from store clustering than load clustering, and vice-versa, depending on factors that are exclusive to each one (e.g. macrofusions implemented). Likewise, certain optimizations benefits more from misched clustering than postRA clustering. Macrofusions are again an example: in a processor with store pair macrofusions, like the veyron-v1, it is observed that misched clustering increases the amount of macrofusions more than postRA clustering. This of course isn't necessarily true for other processors, but it shows that processors can benefit from a more fine grained control of clustering mutations, and each one is able to do it differently. Add 4 new subtarget features that deprecates the existing riscv-misched-load-store-clustering and riscv-postmisched-load-store-clustering options: - disable-misched-load-clustering and disable-misched-store-clustering: disable load/store clustering during misched; - disable-postmisched-load-clustering and disable-postmisched-store-clustering: disable load/store clustering during PostRA. Note that the new subtarget features disables specific stages of the default clustering settings. The default per se (load and store clustering for both misched and PostRA) is left untouched. Disable all clustering but misched-store-clustering for the veyron-v1 processor using the new features.
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions