Commit 3c4b931
authored
Rename RISCVMCExpr::VK_RISCV_ to VK_. NFC
They implement relocation operators and are named VK_RISCV_ probably to
avoid confusion with `MCSymbolRefExpr::VariantKind`.
`MCSymbolRefExpr::VariantKind` is discouraged
(https://discourse.llvm.org/t/error-expected-relocatable-expression-with-mctargetexpr/84926/2)
and targets are migrating away from `MCSymbolRefExpr::VariantKind`.
Therefore, there is no need to make the name long in the presence of the
clear `RISCVMCExpr::` prefix.
Pull Request: #1314891 parent 297f6d9 commit 3c4b931
File tree
7 files changed
+241
-250
lines changed- llvm/lib/Target/RISCV
- AsmParser
- MCTargetDesc
7 files changed
+241
-250
lines changed
0 commit comments