OSDN Git Service

[Hexagon] Don't mark callee saved registers as clobbered by a tail call
authorArnold Schwaighofer <arnolds@codeaurora.org>
Mon, 13 Aug 2012 19:54:01 +0000 (19:54 +0000)
committerArnold Schwaighofer <arnolds@codeaurora.org>
Mon, 13 Aug 2012 19:54:01 +0000 (19:54 +0000)
commitd252aa43c91027f3f6234c06c7a05c498d73a954
tree32a25a5e590f7d973e23fff26f400376a385a2e6
parent2e018f1cf6c056c05b212eb6a69cf0c852329fb9
[Hexagon] Don't mark callee saved registers as clobbered by a tail call

This was causing unnecessary spills/restores of callee saved registers.

Fixes PR13572.

Patch by Pranav Bhandarkar!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161778 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonInstrInfo.td
test/CodeGen/Hexagon/simpletailcall.ll [new file with mode: 0644]