[llvm-branch-commits] [LoongArch][Codegen] Add support for TLSDESC (PR #90159)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 29 18:26:28 PDT 2024
================
@@ -737,7 +737,7 @@ bool tools::isTLSDESCEnabled(const ToolChain &TC,
StringRef V = A->getValue();
bool SupportedArgument = false, EnableTLSDESC = false;
bool Unsupported = !Triple.isOSBinFormatELF();
- if (Triple.isRISCV()) {
+ if (Triple.isRISCV() || Triple.isLoongArch()) {
----------------
wangleiat wrote:
Thanks, I will make the modifications.
https://github.com/llvm/llvm-project/pull/90159
More information about the llvm-branch-commits
mailing list