[PATCH] D114600: [CodeGen][AArch64] Bail out in performConcatVectorsCombine for scalable vectors

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 26 01:51:55 PST 2021


sdesmalen added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/concat_vector-truncate-combine.ll:53
+; CHECK-NEXT:  ret
+  %0 = shufflevector <vscale x 4 x double> insertelement (<vscale x 4 x double> poison, double 1.000000e+00, i32 0), <vscale x 4 x double> poison, <vscale x 4 x i32> zeroinitializer
+  %1 = fptrunc <vscale x 4 x double> %0 to <vscale x 4 x float>
----------------
It's a bit of a pity that we can't properly express a concat_vector directly. I tried creating a test using vector.insert in the hope that would lead to a concat_vector, without success.

Can you maybe add a comment explaining why this test relates to a 'concat_vector' issue ?


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

https://reviews.llvm.org/D114600



More information about the llvm-commits mailing list