Commit 5d57f9e
[ARM] Return the correct chain when expanding READ_REGISTER (llvm#145237)
This prevents it CSEing multiple nodes together from "volatile"
registers as they would end up with the same chain. The new chain out
should be the chain from the new READ_REGISTER node.
Fixes llvm#1448451 parent 695d6e0 commit 5d57f9e
File tree
2 files changed
+9
-5
lines changed- llvm
- lib/Target/ARM
- test/CodeGen/ARM
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6186 | 6186 | | |
6187 | 6187 | | |
6188 | 6188 | | |
6189 | | - | |
| 6189 | + | |
6190 | 6190 | | |
6191 | 6191 | | |
6192 | 6192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
35 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
0 commit comments