Fix typos in the default scheduling resources when using the post indexed addressing modes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The change for LoadPostIdx looks good, I am not entirely sure about StorePostIdx. Could you elaborate why we should remove ReadAdrBase there? Maybe @javed.absar has some thoughts too.
Comment Actions
@fhahn, ReadAddrBase is used only for the register offset addressing mode and doesn't apply to either the pre or post indexed addressing modes. This patch makes these classes similar to classes LoadPairPostIdx and StorePairPostIdx.
Comment Actions
LGTM.
I don't expect you have a test case that exposed the problem, right?
(In particular for Cyclone at least WriteAdr is the same as WriteI).
Comment Actions
I noticed this issue when working in D39976, where otherwise test cases fail without this change.
Thank you.