[PATCH] D149722: [AIX][TLS] Generate 64-bit local-exec access code sequence
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 11:40:58 PDT 2023
DiggerLin added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:824
+ TLSModel::Model Model = TM.getTLSModel(MO.getGlobal());
+ if (Model == TLSModel::LocalExec)
+ return MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSLE;
----------------
```
TLSModel::Model Model = TM.getTLSModel(MO.getGlobal());
if (Model == TLSModel::LocalExec)
```
change to
```
if(TM.getTLSModel(MO.getGlobal() == TLSModel::LocalExec))
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149722/new/
https://reviews.llvm.org/D149722
More information about the llvm-commits
mailing list