aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorHarald van Dijk <harald@gigawatt.nl>2020-12-02 22:20:36 +0000
committerHarald van Dijk <harald@gigawatt.nl>2020-12-02 22:20:36 +0000
commitc9be4ef184c1a8cb042ae846f9f1818b3ffcddb0 (patch)
tree085ffabddf5f8532113bc0633cd51ab313c9b9fc /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent18ce612353795da6838aade2b933503cbe3cf9b9 (diff)
downloadllvm-c9be4ef184c1a8cb042ae846f9f1818b3ffcddb0.zip
llvm-c9be4ef184c1a8cb042ae846f9f1818b3ffcddb0.tar.gz
llvm-c9be4ef184c1a8cb042ae846f9f1818b3ffcddb0.tar.bz2
[X86] Add TLS_(base_)addrX32 for X32 mode
LLVM has TLS_(base_)addr32 for 32-bit TLS addresses in 32-bit mode, and TLS_(base_)addr64 for 64-bit TLS addresses in 64-bit mode. x32 mode wants 32-bit TLS addresses in 64-bit mode, which were not yet handled. This adds TLS_(base_)addrX32 as copies of TLS_(base_)addr64, except that they use tls32(base)addr rather than tls64(base)addr, and then restricts TLS_(base_)addr64 to 64-bit LP64 mode, TLS_(base_)addrX32 to 64-bit ILP32 mode. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D92346
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions