Commit 109bc60
committed
[X86] Remove extra MOV after widening atomic load
This change adds patterns to optimize out an extra MOV
present after widening the atomic load. It also casts floats
to ints in an atomic load during AtomicExpand to support 128 bit
vectors in SSE/AVX.
commit-id:459895031 parent 39f039e commit 109bc60
File tree
4 files changed
+102
-163
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
4 files changed
+102
-163
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32070 | 32070 | | |
32071 | 32071 | | |
32072 | 32072 | | |
| 32073 | + | |
| 32074 | + | |
| 32075 | + | |
| 32076 | + | |
| 32077 | + | |
| 32078 | + | |
| 32079 | + | |
32073 | 32080 | | |
32074 | 32081 | | |
32075 | 32082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1838 | 1838 | | |
1839 | 1839 | | |
1840 | 1840 | | |
| 1841 | + | |
| 1842 | + | |
1841 | 1843 | | |
1842 | 1844 | | |
1843 | 1845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1207 | 1214 | | |
1208 | 1215 | | |
1209 | 1216 | | |
| |||
0 commit comments