Skip to content

Commit 5c141f5

Browse files
authored
Update README.md
1 parent f70a33d commit 5c141f5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,17 @@ The last two variables will print the whole module directly before and after Enz
4949
When experimenting with flags please make sure that EnzymeStrictAliasing=0
5050
is not changed, since it is required for Enzyme to handle enums correctly.
5151

52-
52+
## Bug reporting
53+
Bugs are pretty much expected at this point of the development process.
54+
In order to help us please minimize the Rust code as far as possible.
55+
This tool might be a nicer helper: https://github.com/Nilstrieb/cargo-minimize
56+
If you have some knowledge of LLVM-IR we also greatly appreciate it if you could help
57+
us by compiling your minimized Rust code to LLVM-IR and reducing it further.
58+
59+
The only exception to this strategy is error based on "Can not deduce type of X",
60+
where reducing your example will make it harder for us to understand the origin of the bug.
61+
In this case please just try to inline all dependencies into a single crate or even file,
62+
without deleting used code.
5363

5464

5565

0 commit comments

Comments
 (0)