Skip to content

Commit 24a7409

Browse files
committed
Test commit: Remove double variable assignment
llvm-svn: 357601
1 parent ed3eaf4 commit 24a7409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ static bool CC_RISCV(const DataLayout &DL, RISCVABI::ABI ABI, unsigned ValNo,
11891189
else if (ValVT == MVT::f64 && !UseGPRForF64)
11901190
Reg = State.AllocateReg(ArgFPR64s, ArgFPR32s);
11911191
else
1192-
Reg = Reg = State.AllocateReg(ArgGPRs);
1192+
Reg = State.AllocateReg(ArgGPRs);
11931193
unsigned StackOffset = Reg ? 0 : State.AllocateStack(XLen / 8, XLen / 8);
11941194

11951195
// If we reach this point and PendingLocs is non-empty, we must be at the

0 commit comments

Comments
 (0)