[PATCH] D125948: [M68k] Fix decoding conflict between move instructions and their tail call version

Sheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 21 19:35:35 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd6994f7ccc25: [M68k][Disassembler] Fix decoding conflict (authored by 0x59616e).

Changed prior to commit:
  https://reviews.llvm.org/D125948?vs=430582&id=431190#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125948/new/

https://reviews.llvm.org/D125948

Files:
  llvm/lib/Target/M68k/M68kInstrData.td


Index: llvm/lib/Target/M68k/M68kInstrData.td
===================================================================
--- llvm/lib/Target/M68k/M68kInstrData.td
+++ llvm/lib/Target/M68k/M68kInstrData.td
@@ -205,7 +205,9 @@
     foreach TYPE = [MxType16, MxType32] in
     def MOV # TYPE.Size # REG # AM # _TC
         : MxMove_RM<TYPE, REG, !cast<MxOpBundle>("MxOp"#TYPE.Size#"AddrMode_"#AM),
-                    !cast<MxEncMemOp>("MxMoveSrcOpEnc_"#AM)>;
+                    !cast<MxEncMemOp>("MxMoveSrcOpEnc_"#AM)> {
+      let isCodeGenOnly = true;
+    }
   } // foreach AM
 } // let Pattern
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125948.431190.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220522/6aba3bba/attachment.bin>


More information about the llvm-commits mailing list