Displaying 3 results from an estimated 3 matches for "offset167".
Did you mean:
offset161
2020 Jul 23
2
How to optimize out the duplicated memory load instructions?
...%offset161 to i64
246005 %maddr62 = getelementptr inbounds i8, i8* %mem_base60, i64 %12
246006 %data_ptr63 = bitcast i8* %maddr62 to i64*
**246007 store i64 0, i64* %data_ptr63, align 1, !noalias !3
**246008 %mem_base66 = load i8*, i8** %mem_base_addr_ptr, align 8,
!alias.scope !3
246009 %offset167 = add i32 %call56, 12
246010 %13 = sext i32 %offset167 to i64
....
382681 !3 = !{!3}
382682 !4 = !{!4}
BR,
Terry
On Thu, Jul 23, 2020 at 11:43 PM Johannes Doerfert <
johannesdoerfert at gmail.com> wrote:
> Hi Terry,
>
>
> various LLVM passes that run with O3 would do this for...
2020 Jul 23
2
How to optimize out the duplicated memory load instructions?
...r inbounds i8, i8* %mem_base60, i64 %12
> > 246006 %data_ptr63 = bitcast i8* %maddr62 to i64*
> > **246007 store i64 0, i64* %data_ptr63, align 1, !noalias !3
> > **246008 %mem_base66 = load i8*, i8** %mem_base_addr_ptr, align 8,
> > !alias.scope !3
> > 246009 %offset167 = add i32 %call56, 12
> > 246010 %13 = sext i32 %offset167 to i64
> > ....
> > 382681 !3 = !{!3}
> > 382682 !4 = !{!4}
> >
> > BR,
> > Terry
> >
> > On Thu, Jul 23, 2020 at 11:43 PM Johannes Doerfert <
> > johannesdoerfert at gmail.co...
2020 Jul 23
2
How to optimize out the duplicated memory load instructions?
...ll56, 4
392545 %11 = sext i32 %offset161 to i64
392546 %maddr62 = getelementptr inbounds i8, i8* %mem_base60, i64 %11
392547 %data_ptr63 = bitcast i8* %maddr62 to i64*
392548 store i64 0, i64* %data_ptr63, align 8
**392549 %mem_base66 = load i8*, i8** %mem_base_addr_ptr, align 8
392550 %offset167 = add i32 %call56, 12
392551 %12 = sext i32 %offset167 to i64
392552 %maddr68 = getelementptr inbounds i8, i8* %mem_base66, i64 %12
392553 %data_ptr69 = bitcast i8* %maddr68 to i32*
392554 store i32 %call, i32* %data_ptr69, align 8
BR,
Terry
-------------- next part --------------
An HTML...