[llvm] [AIX] Support per global code model. (PR #79202)
    Zaara Syeda via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Feb 21 13:18:12 PST 2024
    
    
  
================
@@ -176,6 +176,15 @@ bool PPCSubtarget::isGVIndirectSymbol(const GlobalValue *GV) const {
   // Large code model always uses the TOC even for local symbols.
   if (TM.getCodeModel() == CodeModel::Large)
----------------
syzaara wrote:
What happens if the TM.getCodeModel is large, but the specific GV is set to small?
https://github.com/llvm/llvm-project/pull/79202
    
    
More information about the llvm-commits
mailing list