Skip to content
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

fix bug in printIntrinsicDefinition #198

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Conversation

tonitick
Copy link
Contributor

i should iterate over vectorSize instead of numParams

@vtjnash
Copy link
Member

vtjnash commented Apr 28, 2024

I agree, but seemed like CI thinks this method has a different name? Also style nit: this should use a call to cast, or a dyn_cast in the if statement instead of the isa

@tonitick
Copy link
Contributor Author

tonitick commented Apr 28, 2024

looks like VectorType::getNumElements() is deprecated since llvm13:
llvm/llvm-project@49a6502cd5c2

use getElementCount().getKnownMinValue() instead.

@tonitick tonitick force-pushed the master branch 2 times, most recently from d7cb09d to 12b0848 Compare April 28, 2024 06:36
@vtjnash vtjnash merged commit cc784f6 into JuliaHubOSS:master Apr 28, 2024
1 of 3 checks passed
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