diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-07-27 16:26:39 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-07-27 16:26:39 +0000 |
commit | a34d63954965891943e71d733832cc7c83be2388 (patch) | |
tree | b2223e861ebd99e4f0c5e947ff0fd1eca87cd97f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8c6eb1566c28aadbcf43208ab984e8c50b7e1c6f (diff) | |
download | bcm5719-llvm-a34d63954965891943e71d733832cc7c83be2388.tar.gz bcm5719-llvm-a34d63954965891943e71d733832cc7c83be2388.zip |
[Hexagon] Add saved callee-saved registers as live-in in non-wrapped blocks
The callee-saved registers that are saved in a function are not pristine,
and so they can be defined and used. In case of shrink-wrapping though,
there are blocks that are outside of the save/restore range, and in those
blocks the saved registers must be treated as pristine. To avoid any uses
of these registers, add them as live-in in all those blocks.
This was already done for blocks reaching function exits after restore,
add code that does the same for blocks reached from the function entry
before save.
llvm-svn: 276886
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions