[llvm] [AIX] Support per global code model. (PR #79202)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 10 21:29:05 PDT 2024
================
@@ -723,8 +772,11 @@ void PPCAsmPrinter::EmitTlsCall(const MachineInstr *MI,
static MCSymbol *getMCSymbolForTOCPseudoMO(const MachineOperand &MO,
AsmPrinter &AP) {
switch (MO.getType()) {
- case MachineOperand::MO_GlobalAddress:
- return AP.getSymbol(MO.getGlobal());
+ case MachineOperand::MO_GlobalAddress: {
+ const GlobalValue *GV = MO.getGlobal();
----------------
chenzheng1030 wrote:
This seems unnecessary?
https://github.com/llvm/llvm-project/pull/79202
More information about the llvm-commits
mailing list