search for: ptr7

Displaying 3 results from an estimated 3 matches for "ptr7".

Did you mean: ptr
2017 Jan 13
4
Wrong code bug after GVN/PRE?
...we use tmp in the first round of the second loop, but there we expect the value of the lowest index element in ub. Any ideas? Should I file a PR? Thanks, Mikael -------------- next part -------------- ; llvm assembler. target datalayout = "p:16:16" %int4 = type i16 %int5 = type i16 %ptr7 = type %int4 * %arr18 = type [4 x %int4] %ptr20 = type %arr18 * %arr22 = type [16 x %int4] %ptr24 = type %arr22 * %ptr26 = type %ptr20 * declare void @CVAL_VERIFY_FUNC (%int4 %val.6.par) optsize minsize noinline; define %int4 @main () optsize minsize { %step1.7 = alloca %int4 %i.8 = alloca %int4...
2013 Nov 21
1
[LLVMdev] Problem with labels
...p9, i32* @a ret void } define void @main() { call void @readInteger(i32* @a) call void @readInteger(i32* @b) Until1: %a5 = load i32* @b %b6 = or i32 0, 0 %conditionVar4 = icmp eq i32 %a5, %b6 br i1 %conditionVar4, label %EndUntil3, label %Call2 Call2: call void @find() br label %Until1 EndUntil3: %ptr7 = getelementptr [8 x i8]* @.string1, i32 0, i32 0 call i32 (i8*)* @puts(i8* %ptr7) %output8 = load i32* @a call void @writeInteger(i32 %output8) ret void } define void @diff() { %a2 = load i32* @a %b3 = load i32* @b %tmp1 = sub i32 i32 %a2, %b3 store i32 %tmp1, i32* @a ret void }
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...[ %inc.i, %while.body.i ] %s.0.lcssa.i = phi i8* [ %s, %if.end.i ], [ %incdec.ptr.i, %while.body.i ] %cmp4269.i = icmp sgt i32 %add.i, 0 br i1 %cmp4269.i, label %for.body.i.preheader, label %for.end.i for.body.i.preheader: ; preds = %for.cond.preheader.i %incdec.ptr7.i25 = getelementptr inbounds i8* %lstr.0.i, i32 1 store i8 %5, i8* %lstr.0.i, align 1, !tbaa !1 %cmp9.i26 = icmp eq i8 %5, 0 br i1 %cmp9.i26, label %for.end.i, label %for.inc.i while.body.i: ; preds = %if.end.i, %while.body.i %lenldstr.0276.i = phi i32 [...