Displaying 1 result from an estimated 1 matches for "9b762ed8".
2014 May 20
4
[LLVMdev] How to decide whether a function is executed or not
Hello everyone,
I want to decide whether a function is executed or not. For example (the
value of
cond is not determined at compile time):
br i1 %cond, label %if, label %else
if:
...
call void f()
...
br label %exit
else:
...
br label %exit
We could say that function f is control dependent on cond and may not be
executed.
On the other hand:
br i1 %cond, label %if, label %else