Fix TRUNCATE splitting helper logic.
authorJames Molloy <james.molloy@arm.com>
Fri, 17 Apr 2015 13:51:40 +0000 (13:51 +0000)
committerJames Molloy <james.molloy@arm.com>
Fri, 17 Apr 2015 13:51:40 +0000 (13:51 +0000)
commit10331c740096c196b55f54a05d1a918bdea7dbfc
tree01ce3598f98f377454c1b503ebc62ff11832dee5
parentdb244041cd9ff1c7c4ef70db5212fc9de224e5c8
Fix TRUNCATE splitting helper logic.

This is a followon to r233681 - I'd misunderstood the semantics of FTRUNC,
and had confused it with (FP_ROUND ..., 0).

Thanks for Ahmed Bougacha for his post-commit review!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235191 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/AArch64/arm64-convert-v4f64.ll