[PATCH] D78847: [LV] Fix recording of BranchTakenCount for FoldTail
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 11 01:02:12 PDT 2020
Ayal added a comment.
In D78847#2028853 <https://reviews.llvm.org/D78847#2028853>, @anhtuyen wrote:
>
[snip]
> Below is an example to demonstrate that **setting VTCMO to TCMO when State->VF == 1** will not help in the case of a loop of VF 1 having a vector loop-bound.
[snip]
> In this case, the operand[0] (which is %vec.iv) has type <1 x i64>. The loop-bound, however, will get the type as **i64** instead of the expected **<i64 2305843009213693951>** .
Right, VPWidenCanonicalIVRecipe::execute() also needs to treat VF==1 differently.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78847/new/
https://reviews.llvm.org/D78847
More information about the llvm-commits
mailing list