[llvm] [VPlan] Dispatch to multiple exit blocks via middle blocks. (PR #112138)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 07:23:39 PST 2024


================
@@ -1230,6 +1230,7 @@ class VPInstruction : public VPRecipeWithIRFlags,
     // operand). Only generates scalar values (either for the first lane only or
     // for all lanes, depending on its uses).
     PtrAdd,
+    AnyOf,
----------------
david-arm wrote:

Perhaps worth adding a simple comment here? Something along the lines of:

```
  // Returns a scalar boolean value, which is true if any lane in the vector
  // predicate input is true.
```


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


More information about the llvm-commits mailing list