Displaying 3 results from an estimated 3 matches for "check_exce_succ59".
Did you mean:
check_exce_succ40
2020 Jul 23
2
How to optimize out the duplicated memory load instructions?
Hi Johannes,
Thanks for your help. I tried with something like below and nothing
changes. Maybe I am doing something wrong?
246001 check_exce_succ59: ; preds =
%check_exce_succ40
**246002 %mem_base60 = load i8*, i8** %mem_base_addr_ptr, align 8,
!alias.scope !3
246003 %offset161 = add i32 %call56, 4
246004 %12 = sext i32 %offset161 to i64
246005 %maddr62 = getelementptr inbounds i8, i8* %mem_base60, i64 %1...
2020 Jul 23
2
How to optimize out the duplicated memory load instructions?
...sis as valid annotations
> and consequently ignored.
>
>
> On 7/23/20 10:48 AM, Terry Guo wrote:
> > Hi Johannes,
> >
> > Thanks for your help. I tried with something like below and nothing
> > changes. Maybe I am doing something wrong?
> >
> > 246001 check_exce_succ59: ; preds =
> > %check_exce_succ40
> > **246002 %mem_base60 = load i8*, i8** %mem_base_addr_ptr, align 8,
> > !alias.scope !3
> > 246003 %offset161 = add i32 %call56, 4
> > 246004 %12 = sext i32 %offset161 to i64
> > 246005 %...
2020 Jul 23
2
How to optimize out the duplicated memory load instructions?
...ase66) are referring to the same
memory location. How can I instruct llvm optimization pass to optimize out
the %mem_base66 and make the subsequent code reuse the %mem_base60? I
tried with metadata 'alias.scope' and 'noalias' and it doesn't help. Thanks
for any advice.
392542 check_exce_succ59: ; preds =
%check_exce_succ40
**392543 %mem_base60 = load i8*, i8** %mem_base_addr_ptr, align 8
392544 %offset161 = add i32 %call56, 4
392545 %11 = sext i32 %offset161 to i64
392546 %maddr62 = getelementptr inbounds i8, i8* %mem_base60, i64 %11
392547 %data_...