Commit e178e82
authored
[DirectX] Do not flatten GEP chains for unsupported types (llvm#150484)
Fixes llvm#150463 by not processing GEPs for unsupported types such as
structs in the DXILFlattenArrays pass.1 parent 2f53125 commit e178e82
File tree
2 files changed
+9
-2
lines changed- llvm
- lib/Target/DirectX
- test/CodeGen/DirectX
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
0 commit comments