Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/Transforms/LoopVectorize/select-min-index.ll | ||
---|---|---|
23 | Note that checking if %iv.next is zero after bumping it with no-wrap flags (having initialized it to zero) is undefined. As is the case now if %n is zero. |
llvm/test/Transforms/LoopVectorize/select-min-index.ll | ||
---|---|---|
23 | If %n is less than or equal to 0, the loop will result in an infinite loop. To handle such cases, what else can I do for these cases? Maybe adding a loop guard to ensure that %n is greater than 0? |
Note that checking if %iv.next is zero after bumping it with no-wrap flags (having initialized it to zero) is undefined. As is the case now if %n is zero.