[GISel] Add combine for constant G_PTR_ADD offsets.
https://reviews.llvm.org/D88865 This adds a single combine for GlobalISel to fold: ptradd (inttoptr C1) C2 Into: C1 + C2 Additionally, a small test for AArch64 is added. Patch by pnappa.
Loading
Please sign in to comment