These instructions can add an immediate offset to the address, like other
ds instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
827 ↗ | (On Diff #54103) | Indentation |
835 ↗ | (On Diff #54103) | How was this working before? |
lib/Target/AMDGPU/SIInstrInfo.td | ||
2606 ↗ | (On Diff #54103) | Why is offset1 not set to 0 now? It's called offset but I thought this was always called offset0 for the single offset instructions |
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
835 ↗ | (On Diff #54103) | All of the ds patterns are stand-alone patterns and they use an SDNodeXForm to convert the immediate to a target immediate. I couldn't get SDNodeXForm to work with the instruction's pattern, so I had to change this here. |
lib/Target/AMDGPU/SIInstrInfo.td | ||
2606 ↗ | (On Diff #54103) | The operand name is 'offset' for the single offset instructions. |
Comment Actions
LGTM
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
833 ↗ | (On Diff #55089) | So should the xform be removed now? |