[llvm] [AIX] Support per global code model. (PR #79202)

Sean Fertile via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 07:34:20 PDT 2024


================
@@ -194,6 +202,46 @@ bool PPCSubtarget::isGVIndirectSymbol(const GlobalValue *GV) const {
   return true;
 }
 
+CodeModel::Model PPCSubtarget::getCodeModel(const TargetMachine &TM,
----------------
mandlebug wrote:

The remaining ones are light wrappers that extract the GlobalValue we need from the arguments we have at those particular call sites (IE the SDNode or the MachineOperand) so we can call this.

https://github.com/llvm/llvm-project/pull/79202


More information about the llvm-commits mailing list