Displaying 3 results from an estimated 3 matches for "cmp17".
Did you mean:
cmp1
2017 May 19
4
memcmp code fragment
...%idxprom11 = zext i32 %inc to i64
%arrayidx12 = getelementptr inbounds 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...
2018 Jul 06
2
Verify that we only get loop metadata on latches
...; preds = %do.body, %entry
...
br i1 %cmp, label %do.body, label %do.end, !llvm.loop !2
do.end: ; preds = %do.body
br label %do.body6, !llvm.loop !8
do.body6: ; preds = %do.body6, %do.end
...
br i1 %cmp17, label %do.body6, label %do.end18, !llvm.loop !8
do.end18: ; preds = %do.body6
ret i32 %add14
}
*** IR Dump After Simplify the CFG ***
; Function Attrs: nounwind
define i32 @test(i32* %a, i32 %n) local_unnamed_addr #0 {
entry:
br label %do.body, !llvm.lo...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...8.i511.i, align 2, !tbaa !5
switch i16 %storemerge.i, label %land.lhs.true.i [
i16 0, label %for.cond.i
i16 32767, label %if.then30.i
]
for.cond.i: ; preds = %if.end11.i, %for.body.i
%k.0.i = phi i32 [ %inc.i, %for.body.i ], [ 0, %if.end11.i ]
%cmp17.i = icmp slt i32 %k.0.i, 9
br i1 %cmp17.i, label %for.body.i, label %isone.i
for.body.i: ; preds = %for.cond.i
%arrayidx19.i = getelementptr inbounds [13 x i16]* %y.i, i32 0, i32 %k.0.i
%47 = load i16* %arrayidx19.i, align 2, !tbaa !5
%cmp21.i = icmp e...