diff options
author | Ryotaro Kasuga <kasuga.ryotaro@fujitsu.com> | 2025-04-02 15:41:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 15:41:40 +0900 |
commit | 528e408b94cd093e582de8352acebf85a41f5d56 (patch) | |
tree | 040e29161d0f2345742091ec7226800dc97f8728 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | c47023dceb11fcb06c2405ea11eca10ea1139aa0 (diff) | |
download | llvm-528e408b94cd093e582de8352acebf85a41f5d56.zip llvm-528e408b94cd093e582de8352acebf85a41f5d56.tar.gz llvm-528e408b94cd093e582de8352acebf85a41f5d56.tar.bz2 |
[LoopInterchange] Add an option to control the cost heuristics applied (#133664)
LoopInterchange has several heuristic functions to determine if
exchanging two loops is profitable or not. Whether or not to use each
heuristic and the order in which to use them were fixed, but #125830
allows them to be changed internally at will. This patch adds a new
option to control them via the compiler option.
The previous patch also added an option to prioritize the vectorization
heuristic. This patch also removes it to avoid conflicts between it and
the newly introduced one, e.g., both
`-loop-interchange-prioritize-vectorization=1` and
`-loop-interchange-profitabilities='cache,vectorization'` are specified.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions