-
Notifications
You must be signed in to change notification settings - Fork 145
fix ConstantExpr handling in CreateAugmentedPrimal #743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@wsmoses MacOs fails, but not sure what the error should tell me? |
|
I also had an issue on Linux on an earlier commit here: https://github.com/EnzymeAD/Enzyme/runs/7436868577?check_suite_focus=true |
|
I was able to reproduce the issue on my machine. I will look into it soon. |
|
It seems like the |
|
@ZuseZ4 the solution then is to move the invertpointer calls ( Enzyme/enzyme/Enzyme/EnzymeLogic.cpp Line 2295 in e8ed87c
|
|
@ZuseZ4 Your added test still triggers assertions. They just don't show up in our CI. CI->getType() => void |
llvm's copyFunctionInto won't add constantexpr to the vmap, since It can be shared, similar to constantData.
fixes #721