If original instruction did not have source modifiers they were
not added to the new DPP instruction as well, even if needed.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp | ||
---|---|---|
221–222 | I do not think such instructions currently exists. VOP2 are tested by the original test. |
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp | ||
---|---|---|
221–222 | Won't this happen for any VOP2 form of an FP instruction? V_MIN_F32_e32 has no modifiers, but V_MIN_F32_dpp does |
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp | ||
---|---|---|
221–222 | Good point, thanks! |
This case isn't tested