Skip to content

Fix typetree generation for differentiated functions#158333

Open
ZuseZ4 wants to merge 1 commit into
rust-lang:mainfrom
ZuseZ4:typetrees-for-enzyme3
Open

Fix typetree generation for differentiated functions#158333
ZuseZ4 wants to merge 1 commit into
rust-lang:mainfrom
ZuseZ4:typetrees-for-enzyme3

Conversation

@ZuseZ4

@ZuseZ4 ZuseZ4 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Further improvements after #158278
This fixes a test failure on main (encountered while working on the PR above) in tests/codegen-llvm/autodiff/autodiffv2.rs.

Further improvements are split out into #158440, with high-level docs available in rust-lang/rustc-dev-guide#2911
Also noticed that I can (probably?) remove the llvm_enzyme cfg at this point, #158460

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. F-autodiff `#![feature(autodiff)]` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 23, 2026
@rustbot

rustbot commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

r? @mu001999

rustbot has assigned @mu001999.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler, types
  • compiler, types expanded to 73 candidates
  • Random selection from 20 candidates

@ZuseZ4

ZuseZ4 commented Jun 23, 2026

Copy link
Copy Markdown
Member Author

r? oli-obk

@rustbot rustbot assigned oli-obk and unassigned mu001999 Jun 23, 2026
@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@ZuseZ4

ZuseZ4 commented Jun 25, 2026

Copy link
Copy Markdown
Member Author

Doesn't look like Github CI will merge the previous PR anytime soon, so I'll add a few more features here in the meantime.

@ZuseZ4 ZuseZ4 marked this pull request as draft June 25, 2026 00:15
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 25, 2026
@rust-bors

This comment has been minimized.

@ZuseZ4 ZuseZ4 force-pushed the typetrees-for-enzyme3 branch 2 times, most recently from 3227538 to 64d9d50 Compare June 26, 2026 10:59
@rust-log-analyzer

This comment has been minimized.

…r generation for memcpy.

This moves a TA failure in the testcase from memcpy to a later location.
@ZuseZ4 ZuseZ4 force-pushed the typetrees-for-enzyme3 branch from 64d9d50 to 75c0091 Compare June 30, 2026 02:32
@rustbot rustbot added the A-run-make Area: port run-make Makefiles to rmake.rs label Jun 30, 2026
@ZuseZ4 ZuseZ4 marked this pull request as ready for review June 30, 2026 02:36
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-run-make Area: port run-make Makefiles to rmake.rs F-autodiff `#![feature(autodiff)]` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants