[PATCH] D136251: [LoopVectorize] Use available masked vector functions when required
Thorsten via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 25 03:00:02 PST 2022
tschuett added inline comments.
================
Comment at: llvm/include/llvm/Analysis/VectorUtils.h:291
+ if (!VF.has_value() || Info.Shape.VF == VF.value())
+ HasMaskedVersion |= Info.isMasked();
+
----------------
tschuett wrote:
> ```
> if (Info.isMasked())
> return true;
>
>
> return false;
> ```
```
if (!VF || Info.Shape.VF == *VF)
if (Info.isMasked())
return false;
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136251/new/
https://reviews.llvm.org/D136251
More information about the llvm-commits
mailing list