[llvm-commits] [PATCH] ARM: Custom lower v2f32 = fp_round to fix crash with NEON

Pete Couperus pjcoup at gmail.com
Tue Nov 13 23:24:00 PST 2012


Hello,

Lowering "fptrunc <2 x double> %a to <2 x float>" is broken on ARM with
NEON.
This patch custom lowers this conversion using two single element vcvt's.
This fixes the following PRs.

http://llvm.org/bugs/show_bug.cgi?id=12540
http://llvm.org/bugs/show_bug.cgi?id=13964

Please review!
Thanks.

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121113/cd5a8d90/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neon_fptrunc.diff
Type: application/octet-stream
Size: 3300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121113/cd5a8d90/attachment.obj>


More information about the llvm-commits mailing list