[libc-commits] [libcxx] [lld] [lldb] [flang] [compiler-rt] [llvm] [libcxxabi] [libclc] [clang] [libc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

Florian Hahn via libc-commits libc-commits at lists.llvm.org
Thu Jan 25 03:32:35 PST 2024


================
@@ -498,10 +498,34 @@ static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID,
   VPCanonicalIVPHIRecipe *CanonicalIV = Plan.getCanonicalIV();
   Type *TruncTy = TruncI ? TruncI->getType() : IVTy;
   VPValue *BaseIV = CanonicalIV;
----------------
fhahn wrote:

Updated, thanks! This works well now with the refactoring in this patch. IVTy removed.

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


More information about the libc-commits mailing list