Skip to content

Commit 3057ac1

Browse files
authored
[SelectionDAG] Fix "unused variable" warnings after #119268 (NFC) (#119550)
1 parent 8eb12f6 commit 3057ac1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,6 @@ void SelectionDAGBuilder::visitRet(const ReturnInst &I) {
21952195

21962196
if (!FuncInfo.CanLowerReturn) {
21972197
Register DemoteReg = FuncInfo.DemoteRegister;
2198-
const Function *F = I.getParent()->getParent();
21992198

22002199
// Emit a store of the return value through the virtual register.
22012200
// Leave Outs empty so that LowerReturn won't try to load return
@@ -10980,7 +10979,6 @@ std::pair<SDValue, SDValue>
1098010979
TargetLowering::LowerCallTo(TargetLowering::CallLoweringInfo &CLI) const {
1098110980
// Handle the incoming return values from the call.
1098210981
CLI.Ins.clear();
10983-
Type *OrigRetTy = CLI.RetTy;
1098410982
SmallVector<EVT, 4> RetTys;
1098510983
SmallVector<TypeSize, 4> Offsets;
1098610984
auto &DL = CLI.DAG.getDataLayout();

0 commit comments

Comments
 (0)