Commit graph

4 commits

Author SHA1 Message Date
Dylan MacKenzie
8c710118f6 Disable MIR optimization for alignment codegen tests
NRVO optimizes away the locals whose alignment is tested. I don't think
this affects the purpose of the test.
2020-05-16 17:15:24 -07:00
Josh Stone
2304c25f31 Update the minimum external LLVM to 7
LLVM 7 is over a year old, which should be plenty for compatibility. The
last LLVM 6 holdout was llvm-emscripten, which went away in #65501.

I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`,
which was broken by #66522.
2019-12-02 11:36:21 -08:00
Mazdak Farrokhzad
de1e1ad706 Stabilize repr_align_enum in 1.37.0. 2019-05-27 07:26:11 +02:00
Niklas Fiekas
a6fd6eccda Test alloca with #[repr(align(x))] on enum 2019-02-02 00:52:38 +01:00