[PATCH] D130481: [RISCV] Add the GlobalMerge pass (disabled by default)
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 16:04:50 PDT 2022
luismarques added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVTargetMachine.cpp:213
+
+ if (EnableGlobalMerge == cl::BOU_TRUE) {
+ addPass(createGlobalMergePass(TM, /* MaxOffset */ 2047,
----------------
reames wrote:
> Can't this just be if (EnableGlobalMerge)?
This seems to be used in various other places.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130481/new/
https://reviews.llvm.org/D130481
More information about the llvm-commits
mailing list