[llvm] [clang] [clang-tools-extra] [ISel] Add pattern matching for depositing subreg value (PR #75978)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 14:58:47 PST 2023


================
@@ -561,6 +561,16 @@ def MOV64rm : RI<0x8B, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$src),
                  [(set GR64:$dst, (load addr:$src))]>;
 }
 
+def : Pat<(or (and GR64:$dst, -256), 
----------------
topperc wrote:

The patterns probably belong in X86InstrCompiler.td where we keep most of these kinds of patterns.

https://github.com/llvm/llvm-project/pull/75978


More information about the cfe-commits mailing list