The code to adjust types when merging fields on the coroutine frame accidentally used GetElementPtrInst::getResultElementType() which does the return the type the resulting pointer points to (so misses a pointer type). This worked most of the time by accident because the type nearly never matched, but failed to add a necessary bitcast for from i8** to i8*.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Please remove the test case, we do not accept new typed pointer test coverage.
The issue does not exist for opaque pointers so I cannot convert the test.
Will remove the test then...