Commit 57a964c
committed
[SelectionDAG][PPC][SystemZ] Fix GET_DYNAMIC_AREA_OFFSET chain result
The node has a chain, but it wasn't handled correctly:
- DAG builder didn't update the root
- DAG legalizer replaced the chain result with integer 0
- PPC and SystemZ lowerings didn't return the chain result at all
SystemZ lowering is still incorrect because it now returns the source
chain. Fixing it turned out to be a non-trivial task, so I left a FIXME.1 parent 797330e commit 57a964c
File tree
4 files changed
+9
-10
lines changed- llvm/lib
- CodeGen/SelectionDAG
- Target
- PowerPC
- SystemZ
4 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3499 | 3499 | | |
3500 | 3500 | | |
3501 | 3501 | | |
3502 | | - | |
| 3502 | + | |
3503 | 3503 | | |
3504 | 3504 | | |
3505 | 3505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7401 | 7401 | | |
7402 | 7402 | | |
7403 | 7403 | | |
7404 | | - | |
7405 | | - | |
7406 | | - | |
| 7404 | + | |
| 7405 | + | |
| 7406 | + | |
7407 | 7407 | | |
7408 | 7408 | | |
7409 | 7409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7916 | 7916 | | |
7917 | 7917 | | |
7918 | 7918 | | |
7919 | | - | |
7920 | | - | |
7921 | | - | |
7922 | 7919 | | |
7923 | 7920 | | |
7924 | 7921 | | |
7925 | 7922 | | |
7926 | 7923 | | |
7927 | | - | |
7928 | | - | |
| 7924 | + | |
7929 | 7925 | | |
7930 | 7926 | | |
7931 | 7927 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4127 | 4127 | | |
4128 | 4128 | | |
4129 | 4129 | | |
4130 | | - | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
| 4133 | + | |
4131 | 4134 | | |
4132 | 4135 | | |
4133 | 4136 | | |
| |||
0 commit comments