The Arm architecture reference manual (ARM DDI 0487H.a section
D13.5.12) lists every field in the register as RO, and does not list
an MSR instruction that writes it. So we should be defining it as an
ROSysReg, not an RWSysReg.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AArch64/AArch64SystemOperands.td | ||
---|---|---|
980–981 | There's a section further up in the file just for read-only registers. I recommend you move PMMIR_EL1 there. |
There's a section further up in the file just for read-only registers. I recommend you move PMMIR_EL1 there.