diff options
author | Owen Anderson <resistor@mac.com> | 2022-12-22 21:24:49 -0700 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2022-12-23 16:15:24 -0700 |
commit | 8256ddf78cc558fa24070feb966075aa0c26589e (patch) | |
tree | 87638d1d8bd1dca496b4c477a0278893872a0796 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 387c1573f89117687f4b964ae3a90ea7c91a4f90 (diff) | |
download | llvm-8256ddf78cc558fa24070feb966075aa0c26589e.zip llvm-8256ddf78cc558fa24070feb966075aa0c26589e.tar.gz llvm-8256ddf78cc558fa24070feb966075aa0c26589e.tar.bz2 |
Resolve a long-standing FIXME in memcpyopt.
Inspecting the downstream use of the cpyAlign, it is clear that
`performCallSlotOptzn` is expecting it to represent the alignment
of the copy destination, not the minimum of the src and dest
alignments. This patch renames the parameter to make this more
obvious.
I believe this change is NFC, because the downstream code has
alignment checks such that it all works out in the end. I have not
been able to construct a test case that actually triggers a change
in output.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D140603
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions