llvm-project
f32f0487 - [llvm] Use ABI instead of preferred alignment for const prop checks (#142500)

Commit
199 days ago
[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.
Author
Parents
Loading