Skip to content

[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

Closed
wants to merge 2 commits into from

Conversation

tianqingw
Copy link
Contributor

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.

@elizabethandrews
Copy link
Contributor

Should this have tests? Or is this just fixing failing tests because of incorrect pulldown?

@tianqingw tianqingw changed the title [SYCL] Reenable -disable-llvm-passes behavior for kernels lost in pulldown. [SYCL] Fix -fno-sycl-early-optimizations behavior broken in pulldown. Jan 8, 2021
@tianqingw
Copy link
Contributor Author

Should this have tests? Or is this just fixing failing tests because of incorrect pulldown?

Yeah, I forgot to add test.

Copy link
Contributor

@premanandrao premanandrao left a 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?

Copy link
Contributor

@elizabethandrews elizabethandrews left a 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

@bader
Copy link
Contributor

bader commented Jan 11, 2021

@bader
Copy link
Contributor

bader commented Jan 11, 2021

I suggest we integrate this fix to #3015, which includes the final version of the community change.

@bader
Copy link
Contributor

bader commented Jan 12, 2021

I see that this fix is included into #3015, so I'm closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants