[PATCH] D112187: [SelectionDAG] Add widen result function for insert subvector

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 02:32:58 PDT 2021


CarolineConcatto marked an inline comment as done.
CarolineConcatto added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve-insert-vector.ll:466
+  %v0 = call <vscale x 6 x i32> @llvm.experimental.vector.insert.nxv6i32.nxv2i32(<vscale x 6 x i32> undef, <vscale x 2 x i32> %sv0, i64 0)
+  %v1 = call <vscale x 6 x i32> @llvm.experimental.vector.insert.nxv6i32.nxv2i32(<vscale x 6 x i32> %v0, <vscale x 2 x i32> %sv0, i64 2)
+  ret <vscale x 6 x i32> %v1
----------------
david-arm wrote:
> Hi @CarolineConcatto, did you mean to pass in `%sv1` here instead?
Thank you David!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112187



More information about the llvm-commits mailing list