================ @@ -362,6 +364,34 @@ static bool expandClampIntrinsic(CallInst *Orig, Intrinsic::ID ClampIntrinsic) { return true; } +static bool expandSaturateIntrinsic(CallInst *SaturateCall) { + FunctionType *FT = SaturateCall->getFunctionType(); + Type *FTRetTy = FT->getReturnType(); + assert(FTRetTy == FT->getParamType(0) && ---------------- farzonl wrote:
I think we should drop this for now. We likely won't be preserving any intrinsic specific behaviors. https://github.com/llvm/llvm-project/pull/104619 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits