[PATCH] [AArch64] Customer lowering of CTPOP to SIMD should check for NEON availability

Weiming Zhao weimingz at codeaurora.org
Mon Nov 17 14:19:33 PST 2014


Hi apazos,

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.

http://reviews.llvm.org/D6299

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  test/CodeGen/AArch64/arm64-popcnt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6299.16306.patch
Type: text/x-patch
Size: 1416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141117/690c23dd/attachment.bin>


More information about the llvm-commits mailing list