diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2022-03-31 12:00:00 +0100 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2022-03-31 13:00:08 +0100 |
commit | b4417075dc1cbfac0a3f777850ba77c031d7db3c (patch) | |
tree | e4cf715983e84ebbf959a2f2e628d4daf321fa9b /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 1cb299165c859533e22f2ed05eb2abd5071544df (diff) | |
download | llvm-b4417075dc1cbfac0a3f777850ba77c031d7db3c.zip llvm-b4417075dc1cbfac0a3f777850ba77c031d7db3c.tar.gz llvm-b4417075dc1cbfac0a3f777850ba77c031d7db3c.tar.bz2 |
[FuncSpec] Constant propagate multiple arguments for recursive functions.
This fixes a TODO in constantArgPropagation() to make it feature complete.
However, I do find myself in agreement with the review comments in
https://reviews.llvm.org/D106426. I don't think we should pursue
specializing such recursive functions as the code size increase becomes
linear to 'max-iters'. Compiling the modified test just with -O3 (no
function specialization) generates the same code.
Differential Revision: https://reviews.llvm.org/D122755
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions