[llvm] [VP] Refactor VectorBuilder to avoid layering violation. NFC (PR #99276)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 19:58:34 PDT 2024


================
@@ -918,6 +918,44 @@ bool llvm::hasIterationCountInvariantInParent(Loop *InnerLoop,
   return true;
 }
 
+constexpr Intrinsic::ID llvm::getReductionIntrinsicID(RecurKind RK) {
----------------
topperc wrote:

I guess we will need this functionality for EVL vectorization of other intrinsics so maybe this is the right design.

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


More information about the llvm-commits mailing list