[PATCH] PR20778: [SelectionDAG] Teach the vector scalarizer about FP conversions.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Wed Oct 15 15:44:12 PDT 2014
[SelectionDAG] Teach the vector scalarizer about FP conversions.
This adds support for legalization of instructions of the form:
[fp_conv] <1 x i1> %op to <1 x double>
where fp_conv is one of fpto[us]i, [us]itofp. This used to assert
because they were simply missing from the vector operand scalarizer.
A similar problem arose in r190830, with trunc instead.
Also, fix typos in comment and assert message (separate commit).
http://reviews.llvm.org/D5810
Files:
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5810.14968.patch
Type: text/x-patch
Size: 2395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141015/2daaf101/attachment.bin>
More information about the llvm-commits
mailing list