Skip to content

Commit 544a161

Browse files
authored
[NFC][SPIR-V] Remove unused variable (#127985)
Fix warning after #127737 Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent 9787240 commit 544a161

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,10 +1053,10 @@ static bool buildBindlessImageINTELInst(const SPIRV::IncomingCall *Call,
10531053
return buildOpFromWrapper(MIRBuilder, Opcode, Call,
10541054
GR->getSPIRVTypeID(Call->ReturnType));
10551055

1056-
auto MIB = MIRBuilder.buildInstr(Opcode)
1057-
.addDef(Call->ReturnRegister)
1058-
.addUse(GR->getSPIRVTypeID(Call->ReturnType))
1059-
.addUse(Call->Arguments[0]);
1056+
MIRBuilder.buildInstr(Opcode)
1057+
.addDef(Call->ReturnRegister)
1058+
.addUse(GR->getSPIRVTypeID(Call->ReturnType))
1059+
.addUse(Call->Arguments[0]);
10601060

10611061
return true;
10621062
}

0 commit comments

Comments
 (0)