[PATCH] D114950: [RISCV] Use constant pool for large integers
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 18 11:47:46 PST 2021
craig.topper added a comment.
In D114950#3199143 <https://reviews.llvm.org/D114950#3199143>, @pcwang-thead wrote:
> GCC will merge constant pool entries with the same value in the whole compilation unit, can LLVM do this too?
> It seems that `ConstantPool` is owned by `MachineFunction` and can't be shared with other `MachineFunction`s.
> Are there something I missed? Is it possible for LLVM to create module-scoped constant pool that can be used by all functions?
I found this related bug https://bugs.llvm.org/show_bug.cgi?id=16711
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114950/new/
https://reviews.llvm.org/D114950
More information about the llvm-commits
mailing list