[PATCH] [AArch64] Fix v2i8->i16 bitcast legalization.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Tue Nov 18 06:39:36 PST 2014
Hi t.p.northover,
r213378 improved f16 bitcasts, so that they go directly through subregs,
instead of through the stack. That code now causes an assertion failure
for bitcasts from other 16-bits types (most importantly v2i8).
Correct that by doing the custom lowering for i16 bitcasts only when the
input is an f16.
Part of PR21549.
http://reviews.llvm.org/D6307
Files:
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/bitcast-v2i8.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6307.16331.patch
Type: text/x-patch
Size: 2130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141118/9fa89085/attachment.bin>
More information about the llvm-commits
mailing list