[PATCH] D108136: [LoopVectorize] Permit vectorisation of more select(cmp(), X, Y) reduction patterns

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 08:59:34 PDT 2021


kmclaughlin added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/select-cmp.ll:290
+
+; We don't support the icmp and select using the same PHI.
+define i32 @select_i32_from_icmp_same_inputs(i32 %a, i32 %b, i64 %n) {
----------------
Hi @david-arm, I'm not sure why we wouldn't support the icmp & select using the same PHI?


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

https://reviews.llvm.org/D108136



More information about the llvm-commits mailing list