[llvm] [GlobalISel][RISCV] Use constant pool for large integer constants. (PR #81101)
Mikhail Gudim via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 21:45:58 PST 2024
================
@@ -451,17 +460,97 @@ bool RISCVLegalizerInfo::legalizeVAStart(MachineInstr &MI,
return true;
}
+bool RISCVLegalizerInfo::shouldBeInConstantPool(APInt APImm,
+ bool shouldOptForSize) const {
----------------
mgudim wrote:
done
https://github.com/llvm/llvm-project/pull/81101
More information about the llvm-commits
mailing list