Skip to content

Commit 7e8ac55

Browse files
committed
[NFC][SPIRV] Removed unused variable
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent dc326d0 commit 7e8ac55

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)