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:
parent
337240fd51
commit
50867895fb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user