diff options
| author | bors <bors@rust-lang.org> | 2017-12-27 10:19:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-27 10:19:43 +0000 |
| commit | 71ed31f24054863b807f68f244c6828ce6d2e516 (patch) | |
| tree | 398510c60a4095ce0f185401880fa51e9ae173f9 /src/rustllvm/PassWrapper.cpp | |
| parent | 3fd27b2718438ceec6243869cde3edde7e5a904e (diff) | |
| parent | 97228f5e7b0d6a0dc5c97fa73fa7ab096e4eb58d (diff) | |
| download | rust-71ed31f24054863b807f68f244c6828ce6d2e516.tar.gz rust-71ed31f24054863b807f68f244c6828ce6d2e516.zip | |
Auto merge of #47007 - eddyb:issue-46897, r=arielb1
rustc: don't use union layouts for tagged union enums. Fixes #46897, fixes #43517 (AFAICT from the testcases). This PR doesn't add any testcases, we should try to at least get perf ones (cc @Mark-Simulacrum). I couldn't find an example in those issues where the choice of LLVM array vs struct (with N identical fields) for padding filler types is still needed, *on top of* this change, to prevent excessive LLVM sinking. r? @arielb1
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
