Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #79122

Closed
wants to merge 36 commits into from

Conversation

Dylan-DPC-zz
Copy link

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

gnzlbg and others added 30 commits November 8, 2020 12:01
This PR allows using `#[repr(simd)]` on ADTs containing a
single array field:

```rust
 #[repr(simd)] struct S0([f32; 4]);
 #[repr(simd)] struct S1<const N: usize>([f32; N]);
 #[repr(simd)] struct S2<T, const N: usize>([T; N]);
```

This should allow experimenting with portable packed SIMD
abstractions on nightly that make use of const generics.
The memory allocation in vec might panic in the case of capacity
overflow. Move the allocation outside the function to fix the test.
Backtrace frames might include column numbers.
Print them if they are included.
…backline, r=jyn514

Ensure that the source code display is working with DOS backline

Fixes rust-lang#76361.

cc ```@lzutao```
r? ```@jyn514```
…r=oli-obk

Introduce `TypeVisitor::BreakTy`

Implements MCP rust-lang/compiler-team#383.
r? `@ghost`
cc `@lcnr` `@oli-obk`

~~Blocked on FCP in rust-lang/compiler-team#383.~~
Support repr(simd) on ADTs containing a single array field

This is a squash and rebase of `@gnzlbg's` rust-lang#63531

I've never actually written code in the compiler before so just fumbled my way around until it would build 😅

I imagine there'll be some work we need to do in `rustc_codegen_cranelift` too for this now, but might need some input from `@bjorn3` to know what that is.

cc `@rust-lang/project-portable-simd`

-----

This PR allows using `#[repr(simd)]` on ADTs containing a single array field:

```rust
 #[repr(simd)] struct S0([f32; 4]);
 #[repr(simd)] struct S1<const N: usize>([f32; N]);
 #[repr(simd)] struct S2<T, const N: usize>([T; N]);
```

This should allow experimenting with portable packed SIMD abstractions on nightly that make use of const generics.
Make codegen tests compatible with extra inlining
Add column number support to Backtrace

Backtrace frames might include column numbers.
Print them if they are included.
…r=oli-obk

Limit storage duration of inlined always live locals

Closes rust-lang#76375.
document that __rust_alloc is also magic to our LLVM fork

Based on [comments](rust-lang#79045 (comment)) by ```@tmiasko``` and ```@bjorn3.```
clarify `span_label` documentation

Fixes rust-lang#71857.

r? `@estebank`

cc `@RalfJung`
…tml-tag-lint, r=jyn514

Code block invalid html tag lint

Fixes rust-lang#79095

r? `@jyn514`
@rustbot rustbot added the rollup A PR which is a rollup label Nov 17, 2020
@Dylan-DPC-zz
Copy link
Author

@bors r+ rollup=never p=5

@bors
Copy link
Contributor

bors commented Nov 17, 2020

📌 Commit da0319b has been approved by Dylan-DPC

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 17, 2020
@bors
Copy link
Contributor

bors commented Nov 17, 2020

⌛ Testing commit da0319b with merge 95719fa85f35513f584f732b9c66c432bf6bfe95...

@bors
Copy link
Contributor

bors commented Nov 17, 2020

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 17, 2020
@m-ou-se
Copy link
Member

m-ou-se commented Nov 17, 2020

codegen/simd-intrinsic/simd-intrinsic-transmute-array failed. Looks like #78863.

@m-ou-se m-ou-se closed this Nov 17, 2020
@Dylan-DPC-zz Dylan-DPC-zz deleted the rollup-4sxnujr branch November 17, 2020 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.