[AArch64][FastISel] Fix kill flags for integer extends.
authorJuergen Ributzka <juergen@apple.com>
Mon, 10 Nov 2014 21:05:31 +0000 (21:05 +0000)
committerJuergen Ributzka <juergen@apple.com>
Mon, 10 Nov 2014 21:05:31 +0000 (21:05 +0000)
commit1b9706b8c64114217e49981e4f3d26ccb148fabe
treef40f45b57ed62df84d54c13874a33e3e34ea818d
parentd0995fb98219a056006645f21833c450c78cc96b
[AArch64][FastISel] Fix kill flags for integer extends.

In the case we optimize an integer extend away and replace it directly with the
source register, we also have to clear all kill flags at all its uses.
This is necessary, because the orignal IR instruction might be trivially dead,
but we replaced it with a nop at MI level.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221628 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/fast-isel-int-ext4.ll [new file with mode: 0644]