Commit 31700c8
authored
[CIR] Fix element type for lowering vtt.address_point (#1876)
While upstreaming vtt.address_point lowering, I noticed an important
difference in the LLVM IR generated between the CIR path and the OGCG
path. We were incorrectly using i8 as the element type for the GEP
generated when vtt.address_point is lowered with a value argument. This
patch fixes that.1 parent 9e1dcc2 commit 31700c8
File tree
2 files changed
+2
-3
lines changed- clang
- lib/CIR/Lowering/DirectToLLVM
- test/CIR/CodeGen
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
1200 | | - | |
1201 | | - | |
| 1200 | + | |
1202 | 1201 | | |
1203 | 1202 | | |
1204 | 1203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments