[Hexagon] Only use restore functions for single register at -Oz
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 28 Mar 2016 14:52:21 +0000 (14:52 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 28 Mar 2016 14:52:21 +0000 (14:52 +0000)
commitbb63f66686ce2fd17e7391596dad35451328a66f
treebd9e13e3faa9e9e060790a483af5d19bb05c7aa4
parenta34901aae965d3006d528a1487f8a4880ce215e2
[Hexagon] Only use restore functions for single register at -Oz

llvm-svn: 264581
llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
llvm/test/CodeGen/Hexagon/restore-single-reg.ll [new file with mode: 0644]