[llvm] 989c437 - [RISCV][GISEL][NFC] Add break statement to reduce diff on future changes of preISelLower
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 07:24:05 PDT 2024
Author: Michael Maitland
Date: 2024-10-07T07:23:52-07:00
New Revision: 989c437d7f40cf5a53cb111a915013ac28bf8891
URL: https://github.com/llvm/llvm-project/commit/989c437d7f40cf5a53cb111a915013ac28bf8891
DIFF: https://github.com/llvm/llvm-project/commit/989c437d7f40cf5a53cb111a915013ac28bf8891.diff
LOG: [RISCV][GISEL][NFC] Add break statement to reduce diff on future changes of preISelLower
Added:
Modified:
llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp b/llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
index cfe8644b892298..7f14e98b5bc6ab 100644
--- a/llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
+++ b/llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
@@ -800,6 +800,7 @@ void RISCVInstructionSelector::preISelLower(MachineInstr &MI,
replacePtrWithInt(MI.getOperand(1), MIB);
MI.setDesc(TII.get(TargetOpcode::G_AND));
MRI->setType(DstReg, sXLen);
+ break;
}
}
}
More information about the llvm-commits
mailing list