ARM: implement allowTruncateForTailCall
authorTim Northover <tnorthover@apple.com>
Tue, 6 Aug 2013 13:58:03 +0000 (13:58 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 6 Aug 2013 13:58:03 +0000 (13:58 +0000)
commit8775a51d94b277ca6ebe12a1d20bfc2bc5a53960
tree93800f95cf3224cbf59c213c60b6a50e278fdace
parent5f28b1ff894917aa626c38be206957294d0c47c7
ARM: implement allowTruncateForTailCall

Now that it's in place, it seems silly not to let ARM make use of the extra
tail call opportunities.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187795 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
test/CodeGen/ARM/returned-trunc-tail-calls.ll [new file with mode: 0644]