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

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 17:42:36 PDT 2024


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

Thanks for addressing the comments. Maybe you are still working on the refactor, but since now you add this function, should we remove the ones in `llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp` and `llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp`?

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


More information about the llvm-commits mailing list