Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks OK.
As an alternative, maybe we could remove V_MOV_B64_DPP_PSEUDO, use the pseudo V_MOV_B64_dpp on all targets, and expand it post-ra only on targets that don't support it?
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp | ||
---|---|---|
169 | I wonder why we don't include V_MOV_B32_e64? Maybe we never use it for an immediate copy? |
This maybe a good idea at this point. As a separate change of course.
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp | ||
---|---|---|
169 | Probably... Or perhaps it was just forgotten. |
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp | ||
---|---|---|
169 | The only reason I can think of to use V_MOV_B32_e64 over V_MOV_B32_e32 is to use operand modifiers, and our backend doesn't even support those for V_MOV_B32_e64 :) But I agree it should be present here, for completeness. |
I wonder why we don't include V_MOV_B32_e64? Maybe we never use it for an immediate copy?