We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d1efc commit d25ed22Copy full SHA for d25ed22
tests/codegen/autodiff/abi_handling.rs
@@ -5,10 +5,10 @@
5
//@ no-prefer-dynamic
6
//@ needs-enzyme
7
8
-// This does only test the funtion attribute handling for autodiff.
9
-// Function argument changes are troublesome for Enzyme, so we have to
10
-// ensure that arguments remain the same, or if we change them, be aware
11
-// of the changes to handle it correctly.
+// This test checks that Rust types are lowered to LLVM-IR types in a way
+// we expect and Enzyme can handle. We explicitly check release mode to
+// ensure that LLVM's O3 pipeline doesn't rewrite function signatures
+// into forms that Enzyme can't process correctly.
12
13
#![feature(autodiff)]
14
0 commit comments