[PATCH] D37419: Teach scalar evolution to handle inttoptr/ptrtoint

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 3 18:19:14 PDT 2017


On Sun, Sep 3, 2017 at 6:10 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>> "A pointer value formed from a getelementptr operation is based on the
>> second [should be *first*] value operand of the getelementptr."
>
> I don't think it is a typo. It is referring to the textual form where we now
> print the type first and the base pointer second.

It specifically says "value operand" though.  In any case, I've
proposed a less ambiguous wording in https://reviews.llvm.org/D37432.

-- Sanjoy


More information about the llvm-commits mailing list