[PATCH] D108138: [SimplifyCFG] Remove switch statements before vectorization

Dave Green via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 17 03:22:31 PDT 2021


dmgreen added a comment.

> I'm under the impression that the vectoriser has a policy of never making scalar transformations

I'm not sure what you mean. I've not looked into the details, but it could presumably be done as some sort of VPlan transformation, possibly in the constructions of vplans to treat switches like multiple icmp's/branches?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108138



More information about the cfe-commits mailing list