[PATCH] D105433: [AArch64][GlobalISel] Lower vector types for min/max
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 6 10:35:29 PDT 2021
paquette added inline comments.
================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:173
+ .lowerIf([=](const LegalityQuery &Q) { return Q.Types[0].isScalar(); })
+ .lowerIf([=](const LegalityQuery &Q) { return Q.Types[0].isVector(); });
----------------
I think you can use the helper functions in LegalizerInfo.h here to make this a little cleaner:
```
.lowerIf(any(isScalar(0), isVector(0)))
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105433/new/
https://reviews.llvm.org/D105433
More information about the llvm-commits
mailing list