-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Fix -fno-sycl-early-optimizations behavior broken in pulldown. #2999
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
Should this have tests? Or is this just fixing failing tests because of incorrect pulldown? |
Yeah, I forgot to add test. |
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.
Looks okay to me. @elizabethandrews?
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. Just had one question
FYI: D83892 is reverted by https://reviews.llvm.org/rG7ad666798f12456d9e663e763e17e29007c3728d (Dec 23) and re-applied by https://reviews.llvm.org/rGce8c59e6af487f0b8786ae921aa926341f0ae04f (Jan 5). |
I suggest we integrate this fix to #3015, which includes the final version of the community change. |
I see that this fix is included into #3015, so I'm closing this one. |
D83892 simplifies Clang option parsing, including that of
"-disable-llvm-passes", but inadvertently removes SYCL custom logic for it.
This patch reverts to the old way of handling "-disable-llvm-passes" and
restores the original behavior.