Skip to content

[sycl-post-link] Improve spec constants pattern recognition #3360

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

Merged
merged 2 commits into from
Mar 23, 2021

Conversation

bader
Copy link
Contributor

@bader bader commented Mar 15, 2021

1113d0a changes addrspacecast
instruction generation. This impacts the pattern recognition if LLVM IR
is not optimized before SpecConstantsPass. Now both load and store
instructions accepting cast pointer instead of a pointer produced by
alloca instruction.
This change make pattern recognition to support both versions of LLVM
IR.

bader added 2 commits March 15, 2021 10:35
1113d0a changes addrspacecast
instruction generation. This impacts the pattern recognition if LLVM IR
is not optimized before SpecConstantsPass. Now both load and store
instructions accepting cast pointer instead of a pointer produced by
alloca instruction.
This change make pattern recognition to support both versions of LLVM
IR.
@bader bader requested a review from romanovvlad March 17, 2021 08:21
@bader bader merged commit 83b4b75 into intel:sycl Mar 23, 2021
@bader bader deleted the spec-const-fix branch March 23, 2021 07:24
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.

2 participants