[PATCH] D114950: [RISCV] Use constant pool for large integers
Wang Pengcheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 16 19:03:37 PST 2021
pcwang-thead added a comment.
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?
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