Displaying 1 result from an estimated 1 matches for "branchcount".
Did you mean:
branchcond
2010 Apr 04
1
[LLVMdev] Code generators (both llvmc and Jit) get stuck when dealing circular CFG
...tion
call)
Basically it is a CFG with circles, (the function will return by
comparing a branch counter to a threshold on runtime - see the
"Brancher" blocks below)
Any idea what goes wrong? Is it a bug in llvm ?
; ModuleID = 'TestModule!'
define double @fn1(i8*, i64) {
Entry:
%BranchCounter = alloca i32 ; <i32*> [#uses=7]
store i32 0, i32* %BranchCounter
%Vars = alloca double, i32 3 ; <double*> [#uses=3]
%DoubleVar = getelementptr inbounds double* %Vars, i32 0 ; <double*> [#uses=6]
store double 0xC031AD5A40000000, doub...