[PATCH] D113890: [RISCV] Add new ELF attribute to track reserved registers

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 05:10:17 PST 2022


kito-cheng added inline comments.


================
Comment at: llvm/test/MC/RISCV/attribute-reserved-regs.s:13
+.attribute reserved_registers, { x0-x5 }
+# CHECK: attribute      14, 63
+
----------------
I saw you've setup a mask attribute printer but seems like here still print in decimal?
```
            RISCVAttrs::RESERVED_REGS,
            &ELFAttributeParser::maskAttribute,
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113890/new/

https://reviews.llvm.org/D113890



More information about the llvm-commits mailing list