Displaying 1 result from an estimated 1 matches for "uwtablereadnone".
2012 Apr 16
2
[LLVMdev] Question about the IR code of conditional flow
I used llvm.org/demo to generate IR code from c code.
And I found that: when "return " statement appears several times in
different conditional block, IR code does not genrate one "ret "
instruction for each return statement,
it just put a phi node instruction at the end of the function. Just like
this:
int factorial(int X) {
if (X <100)
X*=3;
else
X += 1;
return X + 3;