Commit 6206d7d
authored
[X86] combineConstantPoolLoads - correctly merge constant pool loads by pointer and chain (#139575)
We were merging with a larger constant pool load if it didn't have any
chain dependencies (and implicitly assuming all uses were on the vector
value), instead we should flip this, explicitly check for uses of the
vector value and merge the memory chain dependencies with
makeEquivalentMemoryOrdering.
As these are constant pool loads we shouldn't expect any changes here,
but we should be consistent with how we merge/reuse loads - an upcoming
patch for other loads will do the same as we will see changes there.1 parent 06f779b commit 6206d7d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53035 | 53035 | | |
53036 | 53036 | | |
53037 | 53037 | | |
53038 | | - | |
| 53038 | + | |
53039 | 53039 | | |
53040 | 53040 | | |
53041 | 53041 | | |
| |||
53057 | 53057 | | |
53058 | 53058 | | |
53059 | 53059 | | |
| 53060 | + | |
53060 | 53061 | | |
53061 | 53062 | | |
53062 | 53063 | | |
| |||
0 commit comments