[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Feb 5 07:31:44 PST 2024
================
@@ -515,6 +533,8 @@ void VPInstruction::execute(VPTransformState &State) {
State.Builder.setFastMathFlags(getFastMathFlags());
for (unsigned Part = 0; Part < State.UF; ++Part) {
Value *GeneratedValue = generateInstruction(State, Part);
+ if (!GeneratedValue)
+ continue;
if (!hasResult())
continue;
----------------
ayalz wrote:
```suggestion
if (!GeneratedValue || !hasResult())
continue;
```
https://github.com/llvm/llvm-project/pull/80273
More information about the llvm-branch-commits
mailing list