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 8 pull requests #138802

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c58c06a
Return blocks from DropTree::build_mir
bjorn3 Mar 11, 2025
8dc0c0e
Simplify lit_to_mir_constant a bit
bjorn3 Mar 12, 2025
bdaf23b
Forward `stream_position` in `Arc<File>` as well
tbu- Mar 14, 2025
eca391f
Cleanup `LangString::parse`
yotamofek Mar 15, 2025
03ece26
update tests
ZuseZ4 Mar 17, 2025
f5c37c3
[NFC] split up gen_body_helper
ZuseZ4 Mar 17, 2025
f9d0a14
resolve repeated attribute fixme
ZuseZ4 Mar 17, 2025
5f7ff88
[NFC] use outer_normal_attr helper
ZuseZ4 Mar 17, 2025
f4c2978
[NFC] extract autodiff call lowering in cg_llvm into own function
ZuseZ4 Mar 17, 2025
47c07ed
[NFC] simplify matching
ZuseZ4 Mar 17, 2025
69a3ad0
Add `MutMirVisitor`
makai410 Mar 18, 2025
ad315f6
Add test for `MutMirVisitor`
makai410 Mar 18, 2025
81b2d55
addressing feedback, removing unused arg
ZuseZ4 Mar 18, 2025
68267d0
Fix build failure on Trusty
taiki-e Mar 18, 2025
485c14f
Make `crate_hash` not iterate over `hir_crate` owners anymore
oli-obk Mar 19, 2025
a0918b7
jsondocck: Replace `jsonpath_lib` with `jsonpath-rust`
aDotInTheVoid Mar 20, 2025
7ab71c4
tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`
aDotInTheVoid Mar 20, 2025
42631d8
tests/rustdoc-json: replace `$.paths[*][?` with `$.paths[?`
aDotInTheVoid Mar 20, 2025
13335e3
tests/rustdoc-json: change assertions to use RFC 9535 jsonpath
aDotInTheVoid Mar 21, 2025
9a39bef
Rollup merge of #138410 - bjorn3:misc_cleanups, r=compiler-errors
matthiaskrgr Mar 21, 2025
b8e6a48
Rollup merge of #138490 - tbu-:pr_arc_file_pos, r=Noratrieb
matthiaskrgr Mar 21, 2025
02d2623
Rollup merge of #138535 - yotamofek:pr/rustdoc/lang-string-parse-clea…
matthiaskrgr Mar 21, 2025
3f6d0d3
Rollup merge of #138536 - makai410:mut-mir-visitor, r=celinval
matthiaskrgr Mar 21, 2025
89d93f7
Rollup merge of #138627 - EnzymeAD:autodiff-cleanups, r=oli-obk
matthiaskrgr Mar 21, 2025
a184641
Rollup merge of #138673 - taiki-e:trusty-fix, r=Noratrieb
matthiaskrgr Mar 21, 2025
de6f67c
Rollup merge of #138750 - oli-obk:decouple-hir-queries, r=fee1-dead
matthiaskrgr Mar 21, 2025
51ccfa2
Rollup merge of #138763 - aDotInTheVoid:two-years-later, r=GuillaumeG…
matthiaskrgr Mar 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update tests
  • Loading branch information
ZuseZ4 committed Mar 17, 2025
commit 03ece26b79c8b04a916bcd6ee0ab26c8c20e7b66
2 changes: 1 addition & 1 deletion tests/pretty/autodiff_forward.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
pub fn f3(x: &[f64], y: f64) -> f64 {
::core::panicking::panic("not implemented")
}
#[rustc_autodiff(ForwardFirst, Dual, Const, Const,)]
#[rustc_autodiff(Forward, Dual, Const, Const,)]
#[inline(never)]
pub fn df3(x: &[f64], bx: &[f64], y: f64) -> f64 {
unsafe { asm!("NOP", options(pure, nomem)); };
Expand Down
2 changes: 1 addition & 1 deletion tests/pretty/autodiff_forward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn f2(x: &[f64], y: f64) -> f64 {
unimplemented!()
}

#[autodiff(df3, ForwardFirst, Dual, Const, Const)]
#[autodiff(df3, Forward, Dual, Const, Const)]
pub fn f3(x: &[f64], y: f64) -> f64 {
unimplemented!()
}
Expand Down
2 changes: 1 addition & 1 deletion tests/pretty/autodiff_reverse.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
pub fn f3(x: &[f64], y: f64) -> f64 {
::core::panicking::panic("not implemented")
}
#[rustc_autodiff(ReverseFirst, Duplicated, Const, Active,)]
#[rustc_autodiff(Reverse, Duplicated, Const, Active,)]
#[inline(never)]
pub fn df3(x: &[f64], dx: &mut [f64], y: f64, dret: f64) -> f64 {
unsafe { asm!("NOP", options(pure, nomem)); };
Expand Down
2 changes: 1 addition & 1 deletion tests/pretty/autodiff_reverse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn f1(x: &[f64], y: f64) -> f64 {
#[autodiff(df2, Reverse)]
pub fn f2() {}

#[autodiff(df3, ReverseFirst, Duplicated, Const, Active)]
#[autodiff(df3, Reverse, Duplicated, Const, Active)]
pub fn f3(x: &[f64], y: f64) -> f64 {
unimplemented!()
}
Expand Down