[llvm] [PowerPC][AIX] Enable aix-small-local-dynamic-tls target attribute without folding opt (PR #86641)
Amy Kwan via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 1 13:15:49 PDT 2024
================
@@ -1672,7 +1673,12 @@ const MCExpr *PPCAsmPrinter::getAdjustedLocalExecExpr(const MachineOperand &MO,
assert(MO.isGlobal() && "Only expecting a global MachineOperand here!");
const GlobalValue *GValue = MO.getGlobal();
- assert(TM.getTLSModel(GValue) == TLSModel::LocalExec &&
+ // TODO: handle aix-small-local-dynamic-tls none-zero offset case.
----------------
amy-kwan wrote:
```suggestion
// TODO: Handle the aix-small-local-dynamic-tls non-zero offset case.
```
https://github.com/llvm/llvm-project/pull/86641
More information about the llvm-commits
mailing list