[llvm] PreISelIntrinsicLowering: Lower llvm.exp to a loop if scalable vec arg (PR #117568)
Stephen Long via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 11:21:06 PST 2024
================
@@ -453,6 +454,11 @@ bool PreISelIntrinsicLowering::lowerIntrinsics(Module &M) const {
case Intrinsic::objc_sync_exit:
Changed |= lowerObjCCall(F, "objc_sync_exit");
break;
+ case Intrinsic::exp:
+ Changed |= forEachCall(F, [&](CallInst *CI) {
+ return lowerUnaryMathIntrinsicWithScalableVecArgAsLoop(M, CI);
----------------
steplong wrote:
I'm new to this, how do you check the target legality?
https://github.com/llvm/llvm-project/pull/117568
More information about the llvm-commits
mailing list