Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks great to me, that'll certainly fit the bill for mesa (not sure though on the name should it have the Legacy in the name too for consistency - either way looks fine to me however).
It would be great to also have this mentioned in the release notes, to make it easier for other llvm-as-a-library users to tell what they have to do.
The name should be consistent with the other C binding names, "legacy" is an implementation detail.
It would be great to also have this mentioned in the release notes, to make it easier for other llvm-as-a-library users to tell what they have to do.
Done.
Actually it doesn't seem to work, I get undefined references to LLVMAddInstructionSimplifyPass at link time in mesa.
Not entirely sure why (would InstSimplifyPass.cpp have to include Scalar.h?), but moving the LLVMAddInstructionSimplifyPass() function to Scalar.cpp (all the other scalar passes have the wrapper function there already) fixes it.
clang-tidy: warning: invalid case style for function 'LLVMAddInstructionSimplifyPass' [readability-identifier-naming]
not useful