diff options
author | Alexey Karyakin <akaryaki@quicinc.com> | 2025-03-11 10:41:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-11 10:41:01 -0500 |
commit | 1fe463182cead6e7c6119ab410eae9e9d969325a (patch) | |
tree | ee0f2e464e9ed06184d4ed241ed05b6e0f396dfc /clang/lib/Frontend/CompilerInstance.cpp | |
parent | d8d2e0779a4020aa72b39ab2baf8c4c504877a2a (diff) | |
download | llvm-1fe463182cead6e7c6119ab410eae9e9d969325a.zip llvm-1fe463182cead6e7c6119ab410eae9e9d969325a.tar.gz llvm-1fe463182cead6e7c6119ab410eae9e9d969325a.tar.bz2 |
[hexagon] Prevent alignment search beyond a label (#130631)
When searching for packets to .align, don't consider ones which would
require padding beyond a label.
There are two problems with padding beyond a label:
- the distance between labels may increase for some offsets to become
too large;
- u/sleb128 values that encode a difference will not be updated because
they are computed before the align command is handled.
This is more a short-term fix/hack. The proper solution would be to
unify `.align` and `.falign` handling and move it to the layout loop.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions