Commit 0663710
authored
[X86] narrowBitOpRMW/combineTruncate - don't retain pointer info for unknown offset load/stores (llvm#166752)
llvm#166337 replaces large (illegal type) loads/stores with a smaller i32
load/store based off the demanded shifted bits. As these shifts are
non-constant we can't regenerate the PointerInfo data with a fixed
offset, so we need to discard the data entirely.
Fixes llvm#166744 - post-ra has to reconstruct dependencies after the chains
have been stripped and uses pointer info instead - which resulted in
some loads being rescheduled earlier than the dependent store as it was
thought they didn't alias1 parent e4467fb commit 0663710
File tree
2 files changed
+8
-6
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53442 | 53442 | | |
53443 | 53443 | | |
53444 | 53444 | | |
53445 | | - | |
| 53445 | + | |
| 53446 | + | |
53446 | 53447 | | |
53447 | 53448 | | |
53448 | 53449 | | |
| |||
54639 | 54640 | | |
54640 | 54641 | | |
54641 | 54642 | | |
54642 | | - | |
| 54643 | + | |
| 54644 | + | |
54643 | 54645 | | |
54644 | 54646 | | |
54645 | 54647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| 18 | + | |
20 | 19 | | |
| 20 | + | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | | - | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments