Use generic lowering of G_CTPOP for s32 and s64 scalars when
noimplicitfloat is specified.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp | ||
|---|---|---|
| 1231 | I think this can be simplified into a one-liner? return Ty.isScalar() && (Size == 32 || Size == 64) &&
Helper.lowerBitCount(MI) == LegalizerHelper::LegalizeResult::Legalized;Also can you add a comment explaining why you want this behaviour? | |
I think this can be simplified into a one-liner?
return Ty.isScalar() && (Size == 32 || Size == 64) && Helper.lowerBitCount(MI) == LegalizerHelper::LegalizeResult::Legalized;Also can you add a comment explaining why you want this behaviour?