aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@igalia.com>2024-11-09 10:02:50 +0000
committerGitHub <noreply@github.com>2024-11-09 10:02:50 +0000
commitae4fc80574cfbbf2b2b53f2728cd785db76e9e69 (patch)
treec2fb57513aa66d9f421671d049292757814468c7 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent5a08acc1e7874a6cb4b273988b83e587e6fea605 (diff)
downloadllvm-ae4fc80574cfbbf2b2b53f2728cd785db76e9e69.zip
llvm-ae4fc80574cfbbf2b2b53f2728cd785db76e9e69.tar.gz
llvm-ae4fc80574cfbbf2b2b53f2728cd785db76e9e69.tar.bz2
[RISCV] When using global merging, don't enable merging of external globals by default (#115484)
AArch64 left this disabled after seeing some cases of slightly worse codegen that weren't tracked down, so I suggest as a path to incrementally moving towards enable globals merging we follow suit, and evaluate turning on later. This patch disables merging of external globals, but also adds a flag to override that. This reduces churn in test cases, simplifies benchmarking runs, and this flag can be removed later. A follow-on PR enables the globals merging pass by default (and as it's based on this commit, merging of external globals is disabled just as they are for AArch64).
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions