[PATCH] D116021: [AArch64] Add a tablegen pattern for UZP2.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 21 02:02:21 PST 2021


SjoerdMeijer added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/uzp2.ll:5
+; Test the (concat_vectors (trunc (lshr)), (trunc (lshr))) pattern.
+
+define <16 x i8> @test_combine_v8i16_to_v16i8(<8 x i16> %x, <8 x i16> %y) {
----------------
Just a nit about the tests: rather than adding a new file, would it make sense to keep all uzp2 tests together in existing file `arm64-uzp.ll`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116021



More information about the llvm-commits mailing list