[llvm] [M68k] Handle 16 bit MOVs to and from CCR (PR #114714)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 10 21:02:12 PST 2024
================
@@ -571,6 +573,17 @@ bool M68kInstrInfo::ExpandPUSH_POP(MachineInstrBuilder &MIB,
}
bool M68kInstrInfo::ExpandCCR(MachineInstrBuilder &MIB, bool IsToCCR) const {
+ switch (MIB->getOpcode()) {
+ case M68k::MOV8cd: {
+ // Promote used register to the next class
+ auto &Opd = MIB->getOperand(1);
----------------
knickish wrote:
done
https://github.com/llvm/llvm-project/pull/114714
More information about the llvm-commits
mailing list