<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/builder, branch 1.86.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.86.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.86.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-10T15:38:23+00:00</updated>
<entry>
<title>Rollup merge of #136419 - EnzymeAD:autodiff-tests, r=onur-ozkan,jieyouxu</title>
<updated>2025-02-10T15:38:23+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-10T15:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=78f5bddd57e8eabd0a71efd5fe59005a7b2a87c1'/>
<id>urn:sha1:78f5bddd57e8eabd0a71efd5fe59005a7b2a87c1</id>
<content type='text'>
adding autodiff tests

I'd like to get started with upstreaming some tests, even though I'm still waiting for an answer on how to best integrate the enzyme pass. Can we therefore temporarily support the -Z llvm-plugins here without too much effort? And in that case, how would that work? I saw you can do remapping, e.g. `rust-src-base`, but I don't think that will give me the path to libEnzyme.so. Do you have another suggestion?

Other than that this test simply checks that the derivative of `x*x` is `2.0 * x`, which in this case is computed as
`%0 = fadd fast double %x.0.val, %x.0.val`
(I'll add a few more tests and move it to an autodiff folder if we can use the -Z flag)

r? ``@jieyouxu``

Locally at least `-Zllvm-plugins=${PWD}/build/x86_64-unknown-linux-gnu/enzyme/build/Enzyme/libEnzyme-19.so` seems to work if I copy the command I get from x.py test and run it manually. However, running x.py test itself fails.

Tracking:

- https://github.com/rust-lang/rust/issues/124509

Zulip discussion: https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Enzyme.20build.20changes
</content>
</entry>
<entry>
<title>remove outdated *First autodiff variants for higher-order ad</title>
<updated>2025-02-10T06:35:53+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-02-10T06:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=061abbc36928cce784c54463c266f4d43d14d419'/>
<id>urn:sha1:061abbc36928cce784c54463c266f4d43d14d419</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move second opt run to lto phase and cleanup code</title>
<updated>2025-02-10T06:35:22+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-02-10T06:35:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1221cff55149d2dbbf8761345799ef06f8099b97'/>
<id>urn:sha1:1221cff55149d2dbbf8761345799ef06f8099b97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rustfmt</title>
<updated>2025-02-08T22:12:13+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-08T22:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fcae03369abb4c2cc180cd5a49e1f4440a81300'/>
<id>urn:sha1:1fcae03369abb4c2cc180cd5a49e1f4440a81300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix fwd-mode autodiff case</title>
<updated>2025-02-05T23:47:23+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-02-05T23:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=70b9ba3d6e1d64e6b00da707e5b1b5127e63b1cf'/>
<id>urn:sha1:70b9ba3d6e1d64e6b00da707e5b1b5127e63b1cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>upstream rustc_codegen_ssa/rustc_middle changes for enzyme/autodiff</title>
<updated>2025-01-30T02:31:13+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-01-30T02:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f30517d40a9a8fe3b89479891c7a167adb75cbd'/>
<id>urn:sha1:1f30517d40a9a8fe3b89479891c7a167adb75cbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make CodegenCx and Builder generic</title>
<updated>2025-01-24T21:05:26+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-01-24T21:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=386c233858874c5412345df6fd6ebf87298727dd'/>
<id>urn:sha1:386c233858874c5412345df6fd6ebf87298727dd</id>
<content type='text'>
Co-authored-by: Oli Scherer &lt;github35764891676564198441@oli-obk.de&gt;
</content>
</entry>
<entry>
<title>upstream rustc_codegen_llvm changes for enzyme/autodiff</title>
<updated>2025-01-01T20:42:45+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-01-01T20:42:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d753cbf7793f20229ed7a151d060456a9e1396e9'/>
<id>urn:sha1:d753cbf7793f20229ed7a151d060456a9e1396e9</id>
<content type='text'>
</content>
</entry>
</feed>
