[ARM] isTruncateFree fix
authorSam Parker <sam.parker@arm.com>
Wed, 27 Sep 2017 08:30:45 +0000 (08:30 +0000)
committerSam Parker <sam.parker@arm.com>
Wed, 27 Sep 2017 08:30:45 +0000 (08:30 +0000)
commit211f47aa37ce69f89adf62c772768bc2a33696ae
treee8034111c0e94c5111fee4e2b3b4129d020fae16
parentcaf6fd51eee1eb2103b25ad006dc12af8606eb70
[ARM] isTruncateFree fix

I implemented isTruncateFree in rL313533, this patch fixes the logic
to match my comment, as the previous logic was too general. Now the
only truncates that are free are i64 -> i32.

Differential Revision: https://reviews.llvm.org/D38234

llvm-svn: 314280
llvm/lib/Target/ARM/ARMISelLowering.cpp