When passing -mgeneral-regs-only, compiler crashes as it tries to lower CTPOP to "cnt v0.8b..." unless -mno-implicit-float presents. But users may not aware the -mno-implicit-float flag and ICE is not good.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi,
The change itself looks reasonable, but I think the tests could be improved:
test/CodeGen/AArch64/arm64-popcnt.ll | ||
---|---|---|
12 | Can we check that what actually is produced is sensible? Purely negative tests are discouraged when alternatives are possible. |
Comment Actions
Hi Weiming,
Are you sure you updated the patch? It's showing up the same for me.
Cheers.
Tim.
Can we check that what actually is produced is sensible? Purely negative tests are discouraged when alternatives are possible.