Skip to content

[CodeGen] Fix ICE caused by invalid cast #3206

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 1 commit into from
Feb 12, 2021
Merged

Conversation

bader
Copy link
Contributor

@bader bader commented Feb 11, 2021

CodeGen wrongly casts function declaration to a variable declaration
assuming that alias attribute can be applied to variable declarations
only.

CodeGen wrongly casts function declaration to a variable declaration
assuming that alias attribute can be applied to variable declarations
only.
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.

LGTM

@bader bader merged commit e362e7a into intel:sycl Feb 12, 2021
@bader bader deleted the codegen-crash branch February 12, 2021 07:00
zahiraam pushed a commit to zahiraam/llvm-1 that referenced this pull request Feb 16, 2021
CodeGen wrongly casts function declaration to a variable declaration
assuming that alias attribute can be applied to variable declarations
only.
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.

3 participants