diff options
author | Pavel Samolysov <samolisov@gmail.com> | 2022-05-12 16:39:26 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-05-12 16:44:52 +0200 |
commit | 098afdb0a0f9254f84733fb1987018528a89accc (patch) | |
tree | 1da5920f15f74921659c5401c584fa73652ab880 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | ee51e9795a31e1280e30179215c27e09927230e2 (diff) | |
download | llvm-098afdb0a0f9254f84733fb1987018528a89accc.zip llvm-098afdb0a0f9254f84733fb1987018528a89accc.tar.gz llvm-098afdb0a0f9254f84733fb1987018528a89accc.tar.bz2 |
[ArgPromotion] Make a non-byval promotion attempt first
It makes sense to make a non-byval promotion attempt first and then
fall back to the byval one. The non-byval ('usual') promotion is
generally better, for example it does promotion even when a structure
has more elements than 'MaxElements' but not all of them are actually
used in the function.
Differential Revision: https://reviews.llvm.org/D124514
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions