diff options
author | Austin <zhenhangwang@huawei.com> | 2025-03-03 20:20:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 20:20:43 +0800 |
commit | 742fa8ac67796198dde99e18cdadeaf9b96c2f88 (patch) | |
tree | 73a8d35f5c6578ecd41e5a0e503b278e60b9ddcc /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 370d34fe40162946905b900097ed746dd4aeb6ad (diff) | |
download | llvm-742fa8ac67796198dde99e18cdadeaf9b96c2f88.zip llvm-742fa8ac67796198dde99e18cdadeaf9b96c2f88.tar.gz llvm-742fa8ac67796198dde99e18cdadeaf9b96c2f88.tar.bz2 |
[ARM] Introduce -mtp=auto and make it the default (#128901)
This adds a new value auto to the possible values of the existing -mtp=
clang option which controls how the thread pointer is found. auto means
the same as soft if the target architecture doesn't support a hardware
thread pointer at all; otherwise it means the same as cp15.
This behavior is the default in gcc version 4.1.0 and later. The new
auto option is therefore also the default in clang, so this change
aligns clang with gcc.
Fixes #123864.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions