Skip to content

Commit 40439cd

Browse files
committed
clang-format
1 parent 4a64565 commit 40439cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,6 @@ static RISCVCC::CondCode getCondFromBranchOpc(unsigned Opc) {
998998
}
999999
}
10001000

1001-
10021001
static bool evaluateCondBranch(unsigned CC, int64_t C0, int64_t C1) {
10031002
switch (CC) {
10041003
default:
@@ -1351,7 +1350,7 @@ bool RISCVInstrInfo::optimizeCondBranch(MachineInstr &MI) const {
13511350
int64_t C0, C1;
13521351
if (isFromLoadImm(Cond[1], C0) && isFromLoadImm(Cond[2], C1)) {
13531352
unsigned NewCC =
1354-
evaluateCondBranch(CC, C0, C1) ? RISCVCC::COND_EQ : RISCVCC::COND_NE;
1353+
evaluateCondBranch(CC, C0, C1) ? RISCVCC::COND_EQ : RISCVCC::COND_NE;
13551354
Cond[0] = MachineOperand::CreateImm(NewCC);
13561355
Cond[1] = Cond[2] = MachineOperand::CreateReg(RISCV::X0, /*isDef=*/false);
13571356
modifyBranch();

0 commit comments

Comments
 (0)