This fixes a bug with ds_*permute instructions where if it was passed a
constant address, then the offset operand would get assigned a register
operand instead of an immediate.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D19994
AMDGPU/SI: Make sure to emit TargetConstant nodes when matching ds_*permute ClosedPublic Authored by • tstellarAMD on May 5 2016, 2:06 PM.
Details Summary This fixes a bug with ds_*permute instructions where if it was passed a
Diff Detail Event Timeline• tstellarAMD retitled this revision from to AMDGPU/SI: Make sure to emit TargetConstant nodes when matching ds_*permute. • tstellarAMD updated this object. This revision is now accepted and ready to land.May 5 2016, 2:09 PM Closed by commit rL272349: AMDGPU/SI: Make sure to emit TargetConstant nodes when matching ds_*permute (authored by tstellar). · Explain WhyJun 9 2016, 5:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 56345 lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
test/CodeGen/AMDGPU/llvm.amdgcn.ds.bpermute.ll
|