about summary refs log tree commit diff
path: root/src/test/codegen/dst-vtable-align-nonzero.rs
AgeCommit message (Collapse)AuthorLines
2022-03-01tests: avoid problems on 32 bit machinesAugie Fackler-2/+2
2022-03-01tests: accept llvm intrinsic in align-checking testAugie Fackler-2/+2
This changed in upstream change https://reviews.llvm.org/D98152 (aka https://github.com/llvm/llvm-project/commit/a266af721153fab6452094207b09ed265ab0be7b) wherein LLVM got smarter about using intrinsics. As best I can tell the change I've made here preserves the intent of the test on LLVM 14 and before while also passing on LLVM 15 and later.
2021-12-08add // compile-flags: -O to test that depends on optsErik Desjardins-0/+2
2021-12-05Attach range metadata to alignment loads from vtablesErik Desjardins-0/+43
...because alignment is always nonzero. This helps eliminate redundant runtime alignment checks, when a DST is a field of a struct whose remaining fields have alignment 1.