Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2466,6 +2466,9 @@ SILoadStoreOptimizer::collectMergeableInsts(
continue;

if (CI.InstClass == DS_WRITE && CI.IsAGPR) {
LLVM_DEBUG(
dbgs() << "cannot merge ds writes with mixed AGPR and VGPR data\n");

// FIXME: nothing is illegal in a ds_write2 opcode with two AGPR data
// operands. However we are reporting that ds_write2 shall have
// only VGPR data so that machine copy propagation does not
Expand Down
Loading