[PATCH] D115435: [AArch64] Add a tablegen pattern for UZP1.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 00:56:36 PST 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.td:5291
 
+def : Pat<(v4i32 (concat_vectors (v2i32 (trunc (v2i64 V128:$Vn))),
+                                 (v2i32 (trunc (v2i64 V128:$Vm))))),
----------------
SjoerdMeijer wrote:
> I was wondering if we also need patterns that work on V64 values/regs, so that we get the `uzp1 .8b` variants?
Does this pattern and the one below work? I think illegal types don't get this far through lowering, and tablegen often balks at them.


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

https://reviews.llvm.org/D115435



More information about the llvm-commits mailing list