[llvm] [Mips] Fix instruction size for unfinalized bundles (PR #220953)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 4 00:46:11 PDT 2026


================
@@ -708,6 +708,9 @@ bool MipsInstrInfo::isAsCheapAsAMove(const MachineInstr &MI) const {
 unsigned MipsInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
   switch (MI.getOpcode()) {
   default:
+    // Handle non-finalized bundle.
----------------
yingopq wrote:

OK, got it.

https://github.com/llvm/llvm-project/pull/220953


More information about the llvm-commits mailing list