enable PassMode::Indirect { on_stack: true, .. } tail call arguments#153361
Conversation
|
|
| // FIXME: some LLVM backends (notably x86) do not correctly pass byval | ||
| // arguments to tail calls (as of LLVM 21). See also: | ||
| // | ||
| // - https://github.com/rust-lang/rust/pull/144232#discussion_r2218543841 | ||
| // - https://github.com/rust-lang/rust/issues/144855 |
There was a problem hiding this comment.
Is this comment not accurate anymore, shouldn't we wait until we don't support llvm 21 anymore?
There was a problem hiding this comment.
you can only use tail calls with nightly, which builds with the latest LLVM? We'll need to wait until we don't support LLVM 21 (or higher, given that e.g. riscv will only add support in LLVM 23) for stabilization, but not for experimentation.
|
@bors r+ |
…tack-true, r=WaffleLapkin
enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments
tracking issue: rust-lang#112788
fixes rust-lang#144855
And add a bunch of tests for tail call target support.
r? WaffleLapkin
…tack-true, r=WaffleLapkin
enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments
tracking issue: rust-lang#112788
fixes rust-lang#144855
And add a bunch of tests for tail call target support.
r? WaffleLapkin
…tack-true, r=WaffleLapkin
enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments
tracking issue: rust-lang#112788
fixes rust-lang#144855
And add a bunch of tests for tail call target support.
r? WaffleLapkin
…tack-true, r=WaffleLapkin
enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments
tracking issue: rust-lang#112788
fixes rust-lang#144855
And add a bunch of tests for tail call target support.
r? WaffleLapkin
Rollup of 9 pull requests Successful merges: - #152164 (Lint unused features) - #152801 (Refactor WriteBackendMethods a bit) - #153317 (Abort after `representability` errors) - #153361 (enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments) - #153402 (miri subtree update) - #153276 (Remove `cycle_fatal` query modifier) - #153396 (use `minicore` in some `run-make` tests) - #153401 (Migrationg of `LintDiagnostic` - part 7) - #153406 (Remove a ping for myself)
Rollup of 9 pull requests Successful merges: - #152164 (Lint unused features) - #152801 (Refactor WriteBackendMethods a bit) - #153317 (Abort after `representability` errors) - #153361 (enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments) - #153402 (miri subtree update) - #153276 (Remove `cycle_fatal` query modifier) - #153396 (use `minicore` in some `run-make` tests) - #153401 (Migrationg of `LintDiagnostic` - part 7) - #153406 (Remove a ping for myself)
e78a9f7 to
391a755
Compare
|
Having a @bors try jobs=test-various |
This comment has been minimized.
This comment has been minimized.
…r=<try>
enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments
try-job: test-various
|
@bors r=WaffleLapkin |
…uwer Rollup of 8 pull requests Successful merges: - #153361 (enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments) - #153369 (library/test: always enable unstable features for miri) - #152283 (Properly pass offload sizes to kernel args) - #153323 (Remove `impl QueryVTable`) - #153385 (Fix comment on `is_horizontal_whitespace`) - #153394 (fix(thir): Include `NoneWithError` in Enum Struct Tail Assertion) - #153419 (rustc_llvm: add missing `-` to flag-comparison logic) - #153423 (Update dispatch2 to v0.3.1)
tracking issue: #112788
fixes #144855
And add a bunch of tests for tail call target support.
r? WaffleLapkin