[FastISel][AArch64] Fix "Fold sign-/zero-extends into the load instruction."
authorJuergen Ributzka <juergen@apple.com>
Tue, 7 Oct 2014 03:39:59 +0000 (03:39 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 7 Oct 2014 03:39:59 +0000 (03:39 +0000)
commitca07e256f62f772d14c42f41af46f2aeacc54983
tree2976a735185d6fff5968be343b5542868a41d851
parent4f17a54bfaafb639cd74250917cad5974b04d69a
[FastISel][AArch64] Fix "Fold sign-/zero-extends into the load instruction."

This commit fixes an issue with sign-/zero-extending loads that was discovered
by Richard Barton.

We use now the correct load instructions for sign-extending loads to 64bit. Also
updated and added more unit tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219185 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/fast-isel-int-ext.ll