[llvm] [M68k] Prevent COPY instruction from killing live condition flags (PR #168485)
Peter Mackay via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 27 18:13:39 PDT 2026
================
@@ -470,22 +464,20 @@ def MOV16sd : MxMoveToSR<MxOp16AddrMode_d.Op, MxMoveSrcOpEnc_d>;
/// | EFFECTIVE ADDRESS
/// 0 1 0 0 0 0 0 0 1 1 | MODE | REG
/// --------------------------------------------------
-let Uses = [SR] in {
class MxMoveFromSR_R
: MxInst<(outs MxDRD16:$dst), (ins SRC:$src), "move.w\t$src, $dst", []>,
- Requires<[ AtLeastM68010 ]> {
+ Requires<[ IsM68000 ]> {
----------------
petmac wrote:
Does this mean also that code compiled for M68000 will crash if run on 010+?
https://github.com/llvm/llvm-project/pull/168485
More information about the llvm-commits
mailing list