[SVE] Move INT_TO_FP i1 promotion into custom lowering.
authorPaul Walker <paul.walker@arm.com>
Sat, 24 Oct 2020 10:23:10 +0000 (11:23 +0100)
committerPaul Walker <paul.walker@arm.com>
Tue, 15 Dec 2020 11:57:07 +0000 (11:57 +0000)
commitb74c4dbb9634f6210c6539fb4c09b0b68cb3cf0a
tree522d2403f1f289ca4d8514a0cb2ee562f86be28c
parent6d35bd1d48e9fdde38483e6b22a900daa7e3d46a
[SVE] Move INT_TO_FP i1 promotion into custom lowering.

AddPromotedToType is being used to legalise INT_TO_FP operations
when the source is a predicate. The point where this introduces
vector extends might cause problems in the future so this patch
falls back to manual promotion within custom lowering.

Differential Revision: https://reviews.llvm.org/D90093
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp