================ @@ -80,6 +80,11 @@ static cl::opt<bool> EnableRISCVDeadRegisterElimination( " them with stores to x0"), cl::init(true)); +// TODO: This should be controlled by -mtls-dialect=<option> +cl::opt<bool> EnableRISCVTLSDESC("riscv-enable-tlsdesc", ---------------- MaskRay wrote:
We should add an option to `codegen::InitTargetOptionsFromCodeGenFlags`, then reference it using something like `DAG.getTarget().useTLSDESC()`. aarch64 ELF only implements TLSDESC for dynamic TLS models, it is fine for it to ignore `useTLSDESC`. https://github.com/llvm/llvm-project/pull/66915 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits