aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-08-08 20:03:10 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-08-08 20:03:10 +0000
commit5b45a390568c5245ab3b1df5be68536c785ee3ae (patch)
treeda23c168ba9e0a2a7b4fb8db2c652f086c2bbb1e /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent0a4f6be4434c9c5d03d9e7ed46ed21af1fdd6a1a (diff)
downloadllvm-5b45a390568c5245ab3b1df5be68536c785ee3ae.zip
llvm-5b45a390568c5245ab3b1df5be68536c785ee3ae.tar.gz
llvm-5b45a390568c5245ab3b1df5be68536c785ee3ae.tar.bz2
[ARM] Avoid spilling lr with Thumb1 tail calls.
Normally, if any registers are spilled, we prefer to spill lr on Thumb1 so we can fold the "bx lr" into the "pop". However, if there are tail calls involved, restoring lr is expensive, so skip the optimization in that case. The spill of r7 in the new test also isn't necessary, but that's mostly orthogonal to this patch. (It's the same code in ARMFrameLowering, but it's not related to tail calls.) Differential Revision: https://reviews.llvm.org/D49459 llvm-svn: 339283
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions