[PATCH] D143619: [llvm][codegen] Disallow default Emulated TLS for RISCV

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 10:38:50 PST 2023


paulkirth added inline comments.


================
Comment at: llvm/include/llvm/TargetParser/Triple.h:955
+  bool supportsEmulatedTLS() const {
+    return !isRISCV64();
+  }
----------------
asb wrote:
> Shouldn't this return false for 32-bit RISC-V as well?
Maybe? I was only aware of the 64-bit limitation. If the situation is the same, I'll update this to include `!isRISCV32()` as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143619/new/

https://reviews.llvm.org/D143619



More information about the llvm-commits mailing list