[PATCH] D150367: [AIX][TLS] Generate optimized local-exec access code sequence using X-Form loads/stores

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 06:11:04 PDT 2023


amyk updated this revision to Diff 533580.
amyk added a comment.

Address review comments:

- Simplify `canOptimizeTLSDFormToXForm()`
- Add `getThreadPointerRegister()` into `PPCSubtarget.h`
- Confirmed that adding the new `*TLS` load/store instructions are appropriate


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150367

Files:
  llvm/lib/Target/PowerPC/P10InstrResources.td
  llvm/lib/Target/PowerPC/P9InstrResources.td
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCInstr64Bit.td
  llvm/lib/Target/PowerPC/PPCSubtarget.h
  llvm/test/CodeGen/PowerPC/aix-tls-le-ldst-double.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-ldst-float.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-ldst-int.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-ldst-longlong.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc-large.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc-large32.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc.ll
  llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc32.ll
  llvm/test/CodeGen/PowerPC/aix-vec_insert_elt.ll
  llvm/test/CodeGen/PowerPC/tls-pie-xform.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150367.533580.patch
Type: text/x-patch
Size: 213510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/9d14bd36/attachment-0001.bin>


More information about the llvm-commits mailing list