diff options
author | PiJoules <6019989+PiJoules@users.noreply.github.com> | 2025-06-04 10:57:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 10:57:59 -0700 |
commit | f32f048719455b4813ff7115e4f3a6cdc65efff0 (patch) | |
tree | edc5e366fe700651d99bdce260c3e0b4690e3107 /llvm/lib/Bitcode | |
parent | db5471945b7e36f55c66dfa74e218390c0329dd4 (diff) | |
download | llvm-f32f048719455b4813ff7115e4f3a6cdc65efff0.zip llvm-f32f048719455b4813ff7115e4f3a6cdc65efff0.tar.gz llvm-f32f048719455b4813ff7115e4f3a6cdc65efff0.tar.bz2 |
[llvm] Use ABI instead of preferred alignment for const prop checks (#142500)
We'd hit an assertion checking proper alignment for an i8 when building
chromium because we used the prefered alignment (which is 4 bytes)
instead of the ABI alignment (which is 1 byte). The ABI alignment should
be used because that's the actual alignment needed to load a constant
from the vtable.
This also updates the two `virtual-const-prop-small-alignment-*` to
explicitly give ABI alignments for i64s.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions