[llvm] c249e27 - [RISCV] Add missing break in switch-case in convertToThreeAddress function. NFC.
Jim Lin via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 02:53:11 PDT 2023
Author: Jim Lin
Date: 2023-10-25T17:51:17+08:00
New Revision: c249e2778602207f1e770c57123d14bdf078308f
URL: https://github.com/llvm/llvm-project/commit/c249e2778602207f1e770c57123d14bdf078308f
DIFF: https://github.com/llvm/llvm-project/commit/c249e2778602207f1e770c57123d14bdf078308f.diff
LOG: [RISCV] Add missing break in switch-case in convertToThreeAddress function. NFC.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
index e48d90f5be46b62..0abf302bb25e310 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
@@ -2683,6 +2683,7 @@ MachineInstr *RISCVInstrInfo::convertToThreeAddress(MachineInstr &MI,
.add(MI.getOperand(3))
.add(MI.getOperand(4))
.add(MI.getOperand(5));
+ break;
}
}
MIB.copyImplicitOps(MI);
More information about the llvm-commits
mailing list