[AMDGPU/MemOpsCluster] Compute `width` for `MIMG` instruction class.
authorhsmahesha <mahesha.comp@gmail.com>
Tue, 23 Jun 2020 10:49:34 +0000 (16:19 +0530)
committerYour Name <mahesha.comp@gmail.com>
Tue, 23 Jun 2020 12:02:17 +0000 (17:32 +0530)
commit5832950adbfcd7a5b16922a87a2cde257b7fac43
treefa73eed2d07591aac5e3619c2c278bb612945458
parent1e820e82b1438a52124512175a0e7c6f8d23e158
[AMDGPU/MemOpsCluster] Compute `width` for `MIMG` instruction class.

Summary:
`width` computation is missing for newly added `MIMG`
instruction class. Add it.

Reviewers: foad, rampitec, arsenm

Reviewed By: foad

Subscribers: MatzeB, javed.absar, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81649
llvm/lib/CodeGen/MachineScheduler.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/cluster_stores.ll