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

Add utility IRCode() constructor #47218

Merged
merged 2 commits into from
Oct 19, 2022
Merged

Add utility IRCode() constructor #47218

merged 2 commits into from
Oct 19, 2022

Conversation

Keno
Copy link
Member

@Keno Keno commented Oct 19, 2022

Just to make it easy to get one. Right now, people tend to do code_ircode on something random and then strip it which is just silly. Should mostly be used in debug and utilty code. Proper compile pipelines should still get it from the frontend or the cache, but it seems like a useful addition.

Just to make it easy to get one. Right now, people tend to do `code_ircode` on
something random and then strip it which is just silly. Should mostly be used
in debug and utilty code. Proper compile pipelines should still get it from
the frontend or the cache, but it seems like a useful addition.
@aviatesk aviatesk added compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) merge me PR is reviewed. Merge when all tests are passing labels Oct 19, 2022
@aviatesk
Copy link
Member

Test failures look unrelated.

@aviatesk aviatesk merged commit 0aff6dd into master Oct 19, 2022
@aviatesk aviatesk deleted the kf/ircodeconstruct branch October 19, 2022 14:56
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:optimizer Optimization passes (mostly in base/compiler/ssair/)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants