-
Notifications
You must be signed in to change notification settings - Fork 1.9k
C++: IR: Drop the aliased SSA #21407
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
base: main
Are you sure you want to change the base?
Changes from all commits
a4456eb
f7ed2c7
dea0704
ea2d3fc
12faa37
9f7a411
7f860a7
bf10623
6decc7f
59ed644
3618810
dbf497e
ba5c078
8bb7a26
7d7992a
ef7a1a8
aefab6d
56e1ef5
953c1d6
18f7e48
9c77bb0
b5d871e
70fd130
cc0773b
979f8b4
8f9f4ca
2e3c0a0
b2b9a74
ca4f70d
ff80211
a83d733
0c0ac1d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| category: breaking | ||
| --- | ||
| * The aliased SSA was expensive, and had little benefit, so has been removed. The unaliased SSA should be used instead. In most cases it will be imported by default, so no changes will be necessary. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,4 @@ | |
| * be represented as the `IRType` `uint4`, a four-byte unsigned integer. | ||
| */ | ||
|
|
||
| // Most queries should operate on the aliased SSA IR, so that's what we expose | ||
| // publicly as the "IR". | ||
| import implementation.aliased_ssa.IR | ||
| import implementation.unaliased_ssa.IR | ||
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,4 +5,4 @@ | |
| * @kind graph | ||
| */ | ||
|
|
||
| import implementation.aliased_ssa.PrintIR | ||
| import implementation.unaliased_ssa.PrintIR | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,4 +8,4 @@ | |
| * to dump. | ||
| */ | ||
|
|
||
| import implementation.aliased_ssa.PrintIR | ||
| import implementation.unaliased_ssa.PrintIR | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| import implementation.aliased_ssa.gvn.ValueNumbering | ||
| import implementation.unaliased_ssa.gvn.ValueNumbering |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aliased SSA vs unaliased SSA was always an internal name that we never communicated outwards. I'd prefer if we phrased this as something like this:
I would probably also add something to the effect of "We plan to address these in the future" if you actually believe that to be the case. Personally, I would really like the regressions in the guards and barrier guards libraries fixed in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth including "aliased" in there somewhere so people with custom queries that import it and break can find this changenote, or will that not be an issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. I guess it couldn't hurt if you can find a good way to phrase it 😂 I think it would be the first mention of "aliased IR" in a change note, though.