Commit 116e14c
Case handling MachineOperandType address of a global value in SIFoldOperands
While `FoldingImmLike` accepts `MO_Immediate`, `MO_FrameIndex` and `MO_GlobalAddress`, the conditional block after it only covers the first 2, so I have added a case for the global value as well.1 parent 2927050 commit 116e14c
File tree
2 files changed
+8
-4
lines changed- clang/include/clang/Basic
- llvm/lib/Target/AMDGPU
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7517 | 7517 | | |
7518 | 7518 | | |
7519 | 7519 | | |
7520 | | - | |
7521 | | - | |
7522 | | - | |
| 7520 | + | |
| 7521 | + | |
| 7522 | + | |
| 7523 | + | |
| 7524 | + | |
7523 | 7525 | | |
7524 | 7526 | | |
7525 | 7527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
| 1164 | + | |
1165 | 1165 | | |
| 1166 | + | |
| 1167 | + | |
1166 | 1168 | | |
1167 | 1169 | | |
1168 | 1170 | | |
| |||
0 commit comments