Skip to content

Commit

Permalink
drop outdated FAQ entry (#20)
Browse files Browse the repository at this point in the history
We don't support llvm7 for quite a while now (fixed in llvm8),
so let's remove irrelevant warnings.
  • Loading branch information
ZuseZ4 authored Oct 25, 2023
1 parent 020def4 commit 9478e12
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions content/getting_started/Faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ opt input.ll -load=/path/to/LLVMEnzyme-VERSION.so -passes=enzyme -o output.ll -S

If you are using CMake, Enzyme exports a special `ClangEnzymeFlags` target which will automatically add the correct flags. See [here](https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/test_find_package/CMakeLists.txt#L14) for an example.

### UNREACHABLE executed (GVN error)

Until June 2020, LLVM's exisitng GVN pass had a bug handling invariant.load's that would cause it to crash. These tend to be generated a lot by Enzyme for better optimization. This was reported [here](https://bugs.llvm.org/show_bug.cgi?id=46054) and resolved in master. Options for resolving include updating to later verison of LLVM with the fix, or disabling creation of invariant.load's.

## Other

If you have an issue not resolved here, please make an issue on [Github](https://github.com/EnzymeAD/Enzyme) and consider making a pull request to this FAQ!

0 comments on commit 9478e12

Please sign in to comment.