diff options
author | Fangrui Song <i@maskray.me> | 2025-06-15 16:01:28 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-06-15 16:01:28 -0700 |
commit | 4635b6076dc1933b7ebd9fcca9f22ec93e2f9c0c (patch) | |
tree | 5983b0dfd6a271b65ef0a1c10ae79099c767ff20 | |
parent | e3025c95090f74b26e36106d2aa394b213f713a1 (diff) | |
download | llvm-4635b6076dc1933b7ebd9fcca9f22ec93e2f9c0c.zip llvm-4635b6076dc1933b7ebd9fcca9f22ec93e2f9c0c.tar.gz llvm-4635b6076dc1933b7ebd9fcca9f22ec93e2f9c0c.tar.bz2 |
RISCV: Rename RISCVMCExpr::VK_ to RISCV::S_
-rw-r--r-- | bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp b/bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp index 18be125..ee6f067 100644 --- a/bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp +++ b/bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp @@ -438,12 +438,12 @@ public: return RISCVMCExpr::create(Expr, ELF::R_RISCV_PCREL_HI20, Ctx); case ELF::R_RISCV_PCREL_LO12_I: case ELF::R_RISCV_PCREL_LO12_S: - return RISCVMCExpr::create(Expr, RISCVMCExpr::VK_PCREL_LO, Ctx); + return RISCVMCExpr::create(Expr, RISCV::S_PCREL_LO, Ctx); case ELF::R_RISCV_HI20: return RISCVMCExpr::create(Expr, ELF::R_RISCV_HI20, Ctx); case ELF::R_RISCV_LO12_I: case ELF::R_RISCV_LO12_S: - return RISCVMCExpr::create(Expr, RISCVMCExpr::VK_LO, Ctx); + return RISCVMCExpr::create(Expr, RISCV::S_LO, Ctx); case ELF::R_RISCV_CALL: return RISCVMCExpr::create(Expr, ELF::R_RISCV_CALL_PLT, Ctx); case ELF::R_RISCV_CALL_PLT: |