[llvm] [M68k] Do not allow addressing modes k and q as MOVE targets (llvm#200826) (PR #201653)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 23:06:27 PDT 2026
================
@@ -33,14 +33,6 @@ foreach size = [8, 16, 32] in {
def : Pat<(!cast<SDPatternOperator>("atomic_store_"#size) !cast<MxRegOp>("MxDRD"#size):$val, MxCP_ARID:$ptr),
(!cast<MxInst>("MOV"#size#"pd") !cast<MxMemOp>("MxARID"#size):$ptr,
!cast<MxRegOp>("MxDRD"#size):$val)>;
-
- def : Pat<(!cast<SDPatternOperator>("atomic_store_"#size) !cast<MxRegOp>("MxDRD"#size):$val, MxCP_PCD:$ptr),
----------------
mshockwave wrote:
is it possible to write tests for these changes too?
https://github.com/llvm/llvm-project/pull/201653
More information about the llvm-commits
mailing list