Test for armv7 get_unchecked(...) inlining#152847
Test for armv7 get_unchecked(...) inlining#152847rust-bors[bot] merged 1 commit intorust-lang:mainfrom
get_unchecked(...) inlining#152847Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
8a39e77 to
41fa18d
Compare
|
Why does this need an assembly test? It seems like we should be able to check that inlining behaves as expected across target_feature differences (specifically subsets, it sounds like, from the issue)? That would also probably let us check this without relying on the standard library having a particular set of target features enabled, since we can write all N functions that we're checking for inlining in the test itself? |
a19b39a to
9a23bbb
Compare
This comment has been minimized.
This comment has been minimized.
9a23bbb to
8cfc347
Compare
| #![crate_type = "lib"] | ||
| #![no_std] | ||
|
|
||
| #[inline] |
There was a problem hiding this comment.
I was a little worried this would get MIR inlined, but it seems like that doesn't happen right now at least... https://rust.godbolt.org/z/jvs7K3W9f
|
r=me with the lang_items feature removed |
8cfc347 to
00980f4
Compare
|
@bors r=Mark-Simulacrum |
|
@Jamesbarford: 🔑 Insufficient privileges: not in review users |
|
@Mark-Simulacrum I don't have permissions to do |
|
@bors delegate+ |
|
✌️ @Jamesbarford, you can now approve this pull request! If @lqd told you to " |
|
@bors r=Mark-Simulacrum |
…uwer Rollup of 11 pull requests Successful merges: - #152847 (Test for armv7 `get_unchecked(...)` inlining) - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size) - #153413 (std: organise `sys::pal::os`) - #139692 (Rustfmt now support use closures) - #152800 (Adds recursion limit into FindParamInClause) - #153244 (tools: remote-test-server: Add UEFI run support) - #153305 (Adapt codegen test to accept operand bundles) - #153340 (tweak r-a default settings) - #153509 (Cleanup unused diagnostic emission methods - part 2) - #153527 (Fix LegacyKeyValueFormat report from docker build: ohos) - #153594 (Move some ui tests)
Added test for
get_unchecked(...)to be inlined on armv7.closes #131745