Revert "[AArch64][FastISel] Add more truncation tests." and "[AArch64][FastISel]...
authorJuergen Ributzka <juergen@apple.com>
Thu, 6 Aug 2015 22:13:48 +0000 (22:13 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 6 Aug 2015 22:13:48 +0000 (22:13 +0000)
commit6f653ee44c24a4e8190e741b1d493651e6ebaded
tree4f29fa427bd40d065bf4e5d8de042fd23e1bd819
parent3153f23b24e65127e3fe5a2ff5b10a9e304a4ac6
Revert "[AArch64][FastISel] Add more truncation tests." and "[AArch64][FastISel] Always use an AND instruction when truncating to non-legal types."

This reverts commit r243198 and 243304.

Turns out this wasn't the correct fix for this problem. It works only within
FastISel, but fails when the truncate is selected by SDAG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/arm64-fast-isel-conversion.ll
test/CodeGen/AArch64/fast-isel-address-extends.ll