This patch allows vector types to be lowered for the min/max instruction in GlobalISel.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp | ||
---|---|---|
173 | I think you can use the helper functions in LegalizerInfo.h here to make this a little cleaner: .lowerIf(any(isScalar(0), isVector(0))) |
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp | ||
---|---|---|
173 | At this point, the rule just becomes equivalent to lower(). |
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp | ||
---|---|---|
173 | Good point, I'll just make it lower() |
I think you can use the helper functions in LegalizerInfo.h here to make this a little cleaner: