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

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 23 17:14:11 PST 2023


================
@@ -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 ||
----------------
topperc wrote:

None of these change to accept more values for `VK` are tested.

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


More information about the cfe-commits mailing list