Promote offset to 32-bit, similarily to what D142549 did for flat_offset.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/DSInstructions.td | ||
---|---|---|
1127 | What prevents a pattern like this from matching an offset that is too large for the DS instruction's 16-bit offset field? |
llvm/lib/Target/AMDGPU/DSInstructions.td | ||
---|---|---|
1127 | Looks like SelectDS1Addr1Offset checks if DS offset is legal. |
llvm/lib/Target/AMDGPU/DSInstructions.td | ||
---|---|---|
1127 | Nothing really stopped that before either. I’m not really sure what the point of these operand types is really, they all end up as int64_ts in the MachineOperand anyway |
What prevents a pattern like this from matching an offset that is too large for the DS instruction's 16-bit offset field?