Commit 8395343
authored
[X86] combineTruncate - trunc(srl(load(p),amt)) -> load(p+amt/8) - ensure we merge the full / truncated load chains (llvm#166160)
The full load might persist so ensure that the chains are merged into a token factor instead of just transferring the chain to the new load
Noticed while trying to fix the regression reported from llvm#1655401 parent 3d3fab1 commit 8395343
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54529 | 54529 | | |
54530 | 54530 | | |
54531 | 54531 | | |
54532 | | - | |
54533 | | - | |
| 54532 | + | |
54534 | 54533 | | |
54535 | 54534 | | |
54536 | 54535 | | |
| |||
0 commit comments