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 c1557e5 commit 5b5f547Copy full SHA for 5b5f547
src/enzyme_ad/jax/raise.cpp
@@ -30,7 +30,8 @@
30
31
extern "C" std::string runLLVMToMLIRRoundTrip(std::string input,
32
std::string outfile,
33
- std::string backend) {
+ std::string backend,
34
+ std::string library) {
35
llvm::LLVMContext Context;
36
Context.setDiscardValueNames(false);
37
llvm::SMDiagnostic Err;
@@ -118,6 +119,11 @@ extern "C" std::string runLLVMToMLIRRoundTrip(std::string input,
118
119
pass_pipeline += "},strip-"
120
"gpu-info,gpu-"
121
"module-to-binary";
122
+ if (!library.empty()) {
123
+ pass_pipeline += "{l=";
124
+ pass_pipeline += library;
125
+ pass_pipeline += "}";
126
+ }
127
}
128
129
// clang-format on
0 commit comments