[llvm] [RISCV] Add searchable table for tune information (PR #66193)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 07:22:46 PDT 2023


topperc wrote:

> We collected some data that shows that different values of these variables are better on different benchmarks. Do we have the ability to override these values at compile time so that different benchmarks can specify which alignment to use?

Alignment can be overridden by frontend options `-falign-loops` and `-falign-functions`. This sets an attribute on each function or loop in IR. if those attributes are present, they are used instead of the information in TargetLowering/Subtarget.

https://github.com/llvm/llvm-project/pull/66193


More information about the llvm-commits mailing list