-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
llvm upgrade: apply applicable old patches #31849
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
vchuravy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs the version bump for windows
|
Almost working now (doesn't need to block merging though).
|
|
Ah, it wasn't LICM's fault (sorry LICM), someone (emit_select) was creating bad TBAA data for it. We should probably backport that commit fix. |
|
Probably separate f826bba out into it's own PR? It currently fails tests: Would be good to have the backport for the scev patch for LLVM 8, otherwise LGTM. cc: @banex19 since this might impact you. |
bdc5256 to
39dff7f
Compare
|
https://gist.github.com/Keno/0107cea84de827845d204fc398d877ff for a llvm 8.0 version of the scev patch. It's a backport of the current state of the review rather than a forward port of the current patch, FYI. |
also disabled a new X86 pass (x86-disable-avoid-SFB) to avoid running into an assertion error in that pass (see gist)
vchuravy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| } | ||
| #else | ||
| FunctionPass *createNVVMReflectPass(unsigned int SmVersion); | ||
| extern "C" JL_DLLEXPORT void LLVMExtraAddNVVMReflectFunctionPass(LLVMPassManagerRef PM, unsigned int SmVersion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc: @maleadt
A couple have not yet been updated, but this is a start towards updating the patch listOnly one is missing now for LLVM 8. LLVM 7 is complete.Also, this currently fails an offsetarray test.tracked this down to bad TBAA information and fixed itNeeds nanosoldier, and Keno suggested it should have a PkgEval run too.