-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[LiveRangeEdit] Remove any MemoryOperand on MI when converting it to KILL. #114407
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
Changes from 4 commits
c5df1fd
f03ba98
772910b
f71dc93
1ee2226
48ecf40
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,52 @@ | ||||||||||||||||||||||||||||||||||||||||||||||
| # RUN: llc -o /dev/null %s -mtriple=s390x-linux-gnu -mcpu=z16 \ | ||||||||||||||||||||||||||||||||||||||||||||||
| # RUN: -verify-machineinstrs -run-pass=register-coalescer | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| # Test that the MemoryOperand of the produced KILL instruction is removed | ||||||||||||||||||||||||||||||||||||||||||||||
| # and as a result the machine verifier succeeds. | ||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||
| --- | | ||||||||||||||||||||||||||||||||||||||||||||||
| define void @fun(ptr %Src, ptr %Dst, ptr %Src2) { | ||||||||||||||||||||||||||||||||||||||||||||||
| ret void | ||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||
| ... | ||||||||||||||||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||||||||||||||||
| name: fun | ||||||||||||||||||||||||||||||||||||||||||||||
| alignment: 16 | ||||||||||||||||||||||||||||||||||||||||||||||
| tracksRegLiveness: true | ||||||||||||||||||||||||||||||||||||||||||||||
| noPhis: true | ||||||||||||||||||||||||||||||||||||||||||||||
| isSSA: false | ||||||||||||||||||||||||||||||||||||||||||||||
| noVRegs: false | ||||||||||||||||||||||||||||||||||||||||||||||
| hasFakeUses: false | ||||||||||||||||||||||||||||||||||||||||||||||
| registers: | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 0, class: grx32bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 1, class: grx32bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 2, class: grx32bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 3, class: addr64bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 4, class: gr64bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 5, class: grx32bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 6, class: grx32bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 7, class: grx32bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| - { id: 8, class: addr64bit } | ||||||||||||||||||||||||||||||||||||||||||||||
| liveins: | ||||||||||||||||||||||||||||||||||||||||||||||
| - { reg: '$r2d', virtual-reg: '%3' } | ||||||||||||||||||||||||||||||||||||||||||||||
| frameInfo: | ||||||||||||||||||||||||||||||||||||||||||||||
| maxAlignment: 1 | ||||||||||||||||||||||||||||||||||||||||||||||
| machineFunctionInfo: {} | ||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||
| alignment: 16 | |
| tracksRegLiveness: true | |
| noPhis: true | |
| isSSA: false | |
| noVRegs: false | |
| hasFakeUses: false | |
| registers: | |
| - { id: 0, class: grx32bit } | |
| - { id: 1, class: grx32bit } | |
| - { id: 2, class: grx32bit } | |
| - { id: 3, class: addr64bit } | |
| - { id: 4, class: gr64bit } | |
| - { id: 5, class: grx32bit } | |
| - { id: 6, class: grx32bit } | |
| - { id: 7, class: grx32bit } | |
| - { id: 8, class: addr64bit } | |
| liveins: | |
| - { reg: '$r2d', virtual-reg: '%3' } | |
| frameInfo: | |
| maxAlignment: 1 | |
| machineFunctionInfo: {} | |
| tracksRegLiveness: true |
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.
actually, that line is already present further up...
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.
This is to delete everything else, not add the line
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.
ah, ofc, sorry.
Uh oh!
There was an error while loading. Please reload this page.