Details
Details
- Reviewers
arsenm - Group Reviewers
Restricted Project - Commits
- rGe45a0c299449: [AMDGPU][RFC] Update isLegalAddressingMode for GFX9 SMEM signed offsets
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
a) I don't know how to test this.
b) I'm not even sure if it's correct. Negative offsets are only allowed for regular SMEM loads/stores/atomics. For S_BUFFER_* the signed offset has to be >= 0. I don't know if this code is distinguishing those cases.
Any thoughts?
Comment Actions
I'd hope something like https://godbolt.org/z/cqPPTsdKb works by testing if CGP sinks it like the other addressing mode tests we have