Displaying 1 result from an estimated 1 matches for "allocamightescapetocalls".
2013 Aug 01
0
[LLVMdev] Tail calls (TCO) in PNaCL | PNaCl Bitcode reference manual
...in PNaCl.
However, it would be fair to say that we didn't invest a lot of effort into
making sure TCO works in all cases because TCO support for C and C++ in
LLVM is very rudimentary. For example, in LLVM 3.3 (the version the current
preview of PNaCl is based on), this is the implementation of
AllocaMightEscapeToCalls:
static bool AllocaMightEscapeToCalls(AllocaInst *AI) {
// FIXME: do simple 'address taken' analysis.
return true;
}
Michael Gottesman (+CC) improved this a couple of weeks ago - this area is
still work in progress. While we'll be happy to have other languages target
PNaCl, our cu...