[PATCH] D155600: [AIX][TLS] Produce a faster local-exec access sequence with -maix-small-local-exec-tls (And optimize when load/store offsets are 0)

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 13 09:07:34 PDT 2023


amyk updated this revision to Diff 549708.
amyk marked 4 inline comments as done.
amyk added a comment.

Update `PPCISelLowering.cpp` to:

- Reword comments
- Change `AIXTLSUpperDisplacement` to `AIXSmallTlsPolicySizeLimit`
- Move additional checks on the global variable only if the non-TOC based local-exec access method is enabled


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155600/new/

https://reviews.llvm.org/D155600

Files:
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-char.ll
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-double.ll
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-float.ll
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-int.ll
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-largeaccess.ll
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-longlong.ll
  llvm/test/CodeGen/PowerPC/aix-small-local-exec-tls-short.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-ldst-O0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155600.549708.patch
Type: text/x-patch
Size: 82890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230813/9938a278/attachment.bin>


More information about the llvm-commits mailing list