Displaying 3 results from an estimated 3 matches for "loop_vari".
Did you mean:
loop_var
2015 Feb 25
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
----- Original Message -----
> From: "Hal Finkel" <hfinkel at anl.gov>
> To: "Francois Pichet" <pichet2000 at gmail.com>
> Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>, "chandlerc" <chandlerc at gmail.com>
> Sent: Tuesday, February 24, 2015 11:27:43 PM
> Subject: Re: [LLVMdev] Question about
2015 Mar 12
3
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...Mark Heffernan <meheff at google.com> wrote:
> Coincidentally, I just ran into this same issue on some of our benchmarks
> for the NVPTX backend. You have something like this before instcombine:
>
> %tmp = getelementptr inbounds i32, i32* %input, i64 %offset
> loop:
> %loop_variant = ...
> %ptr = getelementptr inbounds i32, i32* %tmp, i64 %loop_variant
>
> Which gets transformed to:
>
> loop:
> %loop_variant = ...
> %sum = add nsw i64 %loop_variant, %offset
> %ptr = getelementptr inbounds i32, i32* %input, i64 %sum
>
> The merge essent...
2015 Mar 12
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...t;
> wrote:
>
>
>
> Coincidentally, I just ran into this same issue on some of our
> benchmarks for the NVPTX backend. You have something like this
> before instcombine:
>
>
> %tmp = getelementptr inbounds i32, i32* %input, i64 %offset
>
> loop:
>
> %loop_variant = ...
> %ptr = getelementptr inbounds i32, i32* %tmp, i64 %loop_variant
>
>
> Which gets transformed to:
>
>
>
> loop:
>
> %loop_variant = ...
> %sum = add nsw i64 %loop_variant, %offset
>
> %ptr = getelementptr inbounds i32, i32* %input, i64 %sum
&g...