[llvm] [VP][EVL] Support select instruction with EVL-vectorization (PR #109614)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 03:56:52 PDT 2024


fhahn wrote:

I am wondering if there's a better way to avoid duplicating all or most recipes for EVL. 

Would it be sufficient to create recipes to widen the appropriate VPIntrinsic directly at least for some cases? This would need allowing creating widened intrinsic recipes without underlying call instruction or function object (https://github.com/llvm/llvm-project/pull/110486). Then introducing vp.select (and others) can be added with a few lines like in https://github.com/llvm/llvm-project/pull/110489 

https://github.com/llvm/llvm-project/pull/109614


More information about the llvm-commits mailing list