Instead of doing lots of complicated calculations to get the shortest GEP, I'll just cast it to i8*, do the GEP, and optionally cast to the requested type. This currently produces ugly constant expressions, but once LLVM switches to opaque pointer types all of this shouldn't matter anymore. |
||
|---|---|---|
| .. | ||
| basic.ll | ||
| basic.out.ll | ||
| consteval.ll | ||
| consteval.out.ll | ||
| interface.ll | ||
| interface.out.ll | ||
| phi.ll | ||
| phi.out.ll | ||
| revert.ll | ||
| revert.out.ll | ||
| slice-copy.ll | ||
| slice-copy.out.ll | ||