When merging GEP of GEP with constant indices, if the second GEP's offset is not divisible by the first GEP's element size, convert both type to i8* and merge.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This revision is now accepted and ready to land.May 19 2022, 1:49 AM
This revision was landed with ongoing or failed builds.Jun 30 2022, 2:27 PM
Closed by commit rGa9119143a2d1: [InstCombine] Changing constant-indexed GEP of GEP to i8* for merging (authored by huangjd). · Explain Why
This revision was automatically updated to reflect the committed changes.