[all-commits] [llvm/llvm-project] 51ae46: [RISCV] Add the GlobalMerge pass (disabled by defa...
Alex Bradbury via All-commits
all-commits at lists.llvm.org
Thu Sep 8 18:51:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 51ae462447d9557c681844c2056b1075c748a7af
https://github.com/llvm/llvm-project/commit/51ae462447d9557c681844c2056b1075c748a7af
Author: Alex Bradbury <asb at igalia.com>
Date: 2022-09-08 (Thu, 08 Sep 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
A llvm/test/CodeGen/RISCV/global-merge-offset.ll
A llvm/test/CodeGen/RISCV/global-merge.ll
Log Message:
-----------
[RISCV] Add the GlobalMerge pass (disabled by default)
Split out from D129178, this just adds the GlobalMerge tests (other than global-merge-minsize.ll which is testing a specific configuration of the pass when it's enabled) and exposes `-riscv-enable-global-merge` and //doesn't enable it by default//.
Note that the comment "// FIXME: Unify control over GlobalMerge." is copied from the Arm and AArch64 backends, which expose the same flag. Presumably the author is imagining some later refactoring that provides a target-independent flag.
Reviewed By: craig.topper, reames, hiraditya
Differential Revision: https://reviews.llvm.org/D130481
More information about the All-commits
mailing list