1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[AMDGPU] SIFoldOperands: remove an unneeded make_early_inc_range. NFC.

This commit is contained in:
Jay Foad 2021-04-08 14:32:36 +01:00
parent 337240fd51
commit 50867895fb

View File

@ -695,7 +695,7 @@ void SIFoldOperands::foldOperand(
if (!DestReg.isPhysical()) {
if (TRI->isSGPRClass(SrcRC) && TRI->hasVectorRegisters(DestRC)) {
SmallVector<FoldCandidate, 4> CopyUses;
for (auto &Use : make_early_inc_range(MRI->use_nodbg_operands(DestReg))) {
for (auto &Use : MRI->use_nodbg_operands(DestReg)) {
// There's no point trying to fold into an implicit operand.
if (Use.isImplicit())
continue;