[llvm-branch-commits] [lld] [llvm][lld][RISCV] Support x3_reg_usage (PR #84598)
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 12 10:04:37 PDT 2024
================
@@ -50,6 +54,13 @@ Error RISCVAttributeParser::atomicAbi(unsigned Tag) {
return Error::success();
}
+Error RISCVAttributeParser::x3RegUsage(unsigned Tag) {
+ uint64_t Value = de.getULEB128(cursor);
+ std::string Description = "X3 reg usage is " + utostr(Value);
----------------
MaskRay wrote:
`printAttribute(..., "..." + Twine(Value)`.str())`
https://github.com/llvm/llvm-project/pull/84598
More information about the llvm-branch-commits
mailing list