Displaying 2 results from an estimated 2 matches for "then19".
Did you mean:
then1
2017 May 19
4
memcmp code fragment
...bounds i8, i8* %block, i64 %idxprom11
%2 = load i8, i8* %arrayidx12, align 1
%idxprom13 = zext i32 %inc10 to i64
%arrayidx14 = getelementptr inbounds i8, i8* %block, i64 %idxprom13
%3 = load i8, i8* %arrayidx14, align 1
%cmp17 = icmp eq i8 %2, %3
br i1 %cmp17, label %if.end25, label %if.then19
if.then19: ; preds = %if.end
%cmp22 = icmp ugt i8 %2, %3
br label %return
..
..
<repeats 12 times>
This code sequence can be collapsed into call to memcmp and we can get rid
of basic blocks. I have written a small peephole optimization for squene...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...align 2, !tbaa !5
%conv15.i.i.i.i = zext i16 %145 to i32
%146 = load i16* %arrayidx16.i.i.i.i, align 2, !tbaa !5
%conv17.i.i.i.i = zext i16 %146 to i32
%sub.i.i.i.i = sub nsw i32 %conv15.i.i.i.i, %conv17.i.i.i.i
%cmp.i3.i.i.i = icmp sgt i32 %sub.i.i.i.i, 0
br i1 %cmp.i3.i.i.i, label %if.then19.i.i.i.i, label %if.end29.i.i.i.i
if.then19.i.i.i.i: ; preds = %if.end7.i.i.i.i
%147 = load i16* %arraydecay8.i.i.i.i, align 2, !tbaa !5
%148 = load i16* %incdec.ptr.1.i151.i.i.i.i, align 2, !tbaa !5
%149 = load i16* %incdec.ptr.2.i153.i.i.i.i, align 2, !tbaa !5...