[clang-tools-extra] [clang] [llvm] [RISCV] Support Global Dynamic TLSDESC in the RISC-V backend (PR #66915)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 14:20:20 PST 2024


================
@@ -597,7 +613,10 @@ struct RISCVOperand final : public MCParsedAsmOperand {
     if (!isImm())
       return false;
     bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
-    if (VK == RISCVMCExpr::VK_RISCV_LO || VK == RISCVMCExpr::VK_RISCV_PCREL_LO)
+    if (VK == RISCVMCExpr::VK_RISCV_LO ||
----------------
ilovepi wrote:

I think the tests added in RISCV/MC should cover this now. Please let me know if I've missed one of the cases.

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


More information about the cfe-commits mailing list