[PATCH] D55667: [RISCV] Support assembling TLS LA pseudo instructions

Lewis Revill via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 13 12:55:31 PST 2018


lewis-revill created this revision.
lewis-revill added reviewers: asb, rogfer01, jrtc27.
Herald added subscribers: llvm-commits, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, mgrang, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar.

This patch adds the pseudo instructions la.tls.ie and la.tls.gd, used in the initial-exec and global-dynamic TLS models respectively when addressing a global. The pseudo instructions are expanded in the assembly parser.


Repository:
  rL LLVM

https://reviews.llvm.org/D55667

Files:
  lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  lib/Target/RISCV/RISCVInstrInfo.td
  test/MC/RISCV/rvi-pseudos.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55667.178119.patch
Type: text/x-patch
Size: 6871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181213/9366db40/attachment.bin>


More information about the llvm-commits mailing list