[llvm-branch-commits] [LoongArch][Codegen] Add support for TLSDESC (PR #90159)

Lu Weining via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 29 03:00: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()) {
----------------
SixWeining wrote:

Is it better to sort alphabetically?

https://github.com/llvm/llvm-project/pull/90159


More information about the llvm-branch-commits mailing list