[LLVMdev] GetElementPtr

Ryan Taylor ryta1203 at gmail.com
Wed Dec 7 15:13:25 PST 2011


No I think I misunderstood you, I actually want the GEP broken  down into
it's arithmetic instructions, I don't want any GEP instructions in my code
at all. Is there a way to do that?

On Wed, Dec 7, 2011 at 2:24 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:

>
>
> On Wed, Dec 7, 2011 at 1:50 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>
>> There is a GEPSplitterPass in the Scalar.h but not in the
>> LLVM_SRC/lib/Transforms/Scalar folder, there is no GEPSplitterPass.cpp
>> file. Is it possible to get this from 2.8 and compile it and use it for 2.9?
>>
>>
>> On Wed, Dec 7, 2011 at 12:31 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>>
>>> Looking at the release notes for 2.9, it appears that GEPSplitterPass
>>> has been removed from 2.9. Is this the case, can I access it anyways or no?
>>>
>>> Due to all the changes between versions of LLVM, it's not timely to
>>> switch to any other version of LLVM, since the code modifications would be
>>> too many. Any other ideas?
>>>
>>>
>>> On Wed, Dec 7, 2011 at 12:14 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>>>
>>>> Yes, exactly along these lines, how do I use this pass? It's not
>>>> documented in the Transforms section of llvm.org
>>>>
>>>>
>>>> On Wed, Dec 7, 2011 at 6:06 AM, Pedro Ferreira <
>>>> pedro.ferreira at imgtec.com> wrote:
>>>>
>>>>>  You mean, something along the lines of the GEPSplitterPass?
>>>>>
>>>>> // GEPSplitter - Split complex GEPs into simple ones
>>>>>
>>>>> in
>>>>>
>>>>> ./include/llvm/Transforms/Scalar.h
>>>>>
>>>>>
>>>>> On 06/12/11 20:53, Ryan Taylor wrote:
>>>>>
>>>>> Does a transform exist to breakdown the GEP?
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> LLVM Developers mailing listLLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111207/035e334c/attachment.html>


More information about the llvm-dev mailing list