[IR] Add ptradd fast path in accumulateConstantOffset() (NFC)
For getelementptr i8 (aka ptradd) we can skip the whole logic and directly use the offset. As we're now canonicalizing to this form, it's pretty common and worth having a fast-path for.
parent
5e6b4be5
Please register or sign in to comment