[llvm] PreISelIntrinsicLowering: Lower llvm.exp to a loop if scalable vec arg (PR #117568)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 07:29:26 PST 2024


================
@@ -335,6 +335,59 @@ bool PreISelIntrinsicLowering::expandMemIntrinsicUses(Function &F) const {
   return Changed;
 }
 
+static bool lowerExpIntrinsicToLoop(Module &M, Function &F, CallInst *CI) {
----------------
arsenm wrote:

Should generalize this over the intrinsic. Probably should put it in utils

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


More information about the llvm-commits mailing list