<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/builder, branch 1.87.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.87.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.87.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-03-17T23:13:09+00:00</updated>
<entry>
<title>[NFC] simplify matching</title>
<updated>2025-03-17T23:13:09+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-03-17T23:13:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=47c07ed9637bb59bb37d7b541ff3ed11d158a9ee'/>
<id>urn:sha1:47c07ed9637bb59bb37d7b541ff3ed11d158a9ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[NFC] extract autodiff call lowering in cg_llvm into own function</title>
<updated>2025-03-17T22:58:51+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-03-17T22:58:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f4c297802ff34cd6a36d077c1271041fc0501cb7'/>
<id>urn:sha1:f4c297802ff34cd6a36d077c1271041fc0501cb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove inherent function that has a trait method duplicate of a commonly imported trait</title>
<updated>2025-02-24T15:11:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-02-24T14:33:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f16f64b15a51789984d9014e92e86fb3a2fe8ce0'/>
<id>urn:sha1:f16f64b15a51789984d9014e92e86fb3a2fe8ce0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Generalize BaseTypeCodegenMethods</title>
<updated>2025-02-24T15:11:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2025-02-24T11:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=840e31b29f93a5e0569d05c8879468877a9991d4'/>
<id>urn:sha1:840e31b29f93a5e0569d05c8879468877a9991d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid some duplication between SimpleCx and CodegenCx</title>
<updated>2025-02-24T15:11:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-02-24T08:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bfd88cead0dd79717f123ad7e9a26ecad88653cb'/>
<id>urn:sha1:bfd88cead0dd79717f123ad7e9a26ecad88653cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update autodiff flags</title>
<updated>2025-02-22T02:51:20+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-02-22T02:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2d250c3f63d14e068e92ab3048817af6e1770c2'/>
<id>urn:sha1:e2d250c3f63d14e068e92ab3048817af6e1770c2</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
