Commit 41c6859
authored
AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (llvm#157845)
Use same rules for G_ZEXTLOAD and G_SEXTLOAD as for G_LOAD.
Flat addrspace(0) and private addrspace(5) G_ZEXTLOAD and G_SEXTLOAD
should be always divergent.1 parent 265b032 commit 41c6859
File tree
2 files changed
+20
-15
lines changed- llvm
- lib/Target/AMDGPU
- test/Analysis/UniformityAnalysis/AMDGPU/MIR
2 files changed
+20
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10281 | 10281 | | |
10282 | 10282 | | |
10283 | 10283 | | |
10284 | | - | |
| 10284 | + | |
10285 | 10285 | | |
10286 | 10286 | | |
10287 | 10287 | | |
| |||
10301 | 10301 | | |
10302 | 10302 | | |
10303 | 10303 | | |
10304 | | - | |
| 10304 | + | |
10305 | 10305 | | |
10306 | 10306 | | |
10307 | 10307 | | |
| |||
10329 | 10329 | | |
10330 | 10330 | | |
10331 | 10331 | | |
10332 | | - | |
| 10332 | + | |
| 10333 | + | |
10333 | 10334 | | |
10334 | 10335 | | |
10335 | 10336 | | |
| |||
10343 | 10344 | | |
10344 | 10345 | | |
10345 | 10346 | | |
10346 | | - | |
10347 | | - | |
10348 | | - | |
10349 | | - | |
| 10347 | + | |
| 10348 | + | |
| 10349 | + | |
| 10350 | + | |
10350 | 10351 | | |
10351 | 10352 | | |
10352 | 10353 | | |
| |||
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
0 commit comments