aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2022-05-21 15:28:24 +0100
committerDavid Green <david.green@arm.com>2022-05-21 15:28:24 +0100
commita86cfaea549799c1083b21f664489f131937c148 (patch)
treebb258d4064dc602bdcdad812aa54c24069d05598 /clang/unittests/Format/FormatTestJava.cpp
parentc8b675eaa1de1d4edebd0292ca6de3180c687127 (diff)
downloadllvm-a86cfaea549799c1083b21f664489f131937c148.zip
llvm-a86cfaea549799c1083b21f664489f131937c148.tar.gz
llvm-a86cfaea549799c1083b21f664489f131937c148.tar.bz2
[ARM] Add register-mask for tail returns
The TC_RETURN/TCRETURNdi under Arm does not currently add the register-mask operand when tail folding, which leads to the register (like LR) not being 'used' by the return. This changes the code to unconditionally set the register mask on the call, as opposed to skipping it for tail calls. I don't believe this will currently alter any codegen, but should glue things together better post-frame lowering. It matches the AArch64 code better. Differential Revision: https://reviews.llvm.org/D125906
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions