[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 cfe-commits cfe-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 cfe-commits mailing list