AArch64: only try to use scaled fcvt ops on legal vector types.
authorTim Northover <tnorthover@apple.com>
Thu, 10 Mar 2016 23:02:21 +0000 (23:02 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 10 Mar 2016 23:02:21 +0000 (23:02 +0000)
commit6092de50750e85b6866950884512ba281d431391
tree191ce722dd6e8f2cb09445b6e4a8a4630fee37ea
parent416ad130eab2047e64fa1be7ab5f60a6caad7cb9
AArch64: only try to use scaled fcvt ops on legal vector types.

Before we ended up calling getSimpleVectorType on a <3 x float>, which
asserted.

llvm-svn: 263169
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/fcvt_combine.ll