Transfer implicit operands when expanding the RET_ReallyLR pseudo instruction.
authorJuergen Ributzka <juergen@apple.com>
Mon, 30 Mar 2015 22:45:56 +0000 (22:45 +0000)
committerJuergen Ributzka <juergen@apple.com>
Mon, 30 Mar 2015 22:45:56 +0000 (22:45 +0000)
commit1c8595529b9664fc919001e3f24da0830d68bef2
treeb1f5d0c1b074f2710175a307208e10eb39bf8d20
parentb0b7c53ee4c676691ed5114880ef53bf4100968d
Transfer implicit operands when expanding the RET_ReallyLR pseudo instruction.

When we expand the RET_ReallyLR pseudo instruction we also need to transfer the
implicit operands.

The return register is an implicit operand and without it the liveness
calculation generates an incorrect live-out set for the patchpoint.

This fixes rdar://problem/19068476.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
test/CodeGen/AArch64/stackmap-liveness.ll [new file with mode: 0644]