RFC: tailcall ppc32 patch

Hi there,

it's me again. attached is preliminary support for tail calls on ppc
32. (once i get access to a 64bit machine that part will follow). It
has passed the llvm-test with the -tailcallopt flag enabled. (after
half a day on an old g4/800 :slight_smile:

okay to submit? probably not. :slight_smile: suggestions.

regards
arnold

tc-ppc.patch (55.9 KB)

Hi there,

it's me again. attached is preliminary support for tail calls on ppc
32. (once i get access to a 64bit machine that part will follow). It
has passed the llvm-test with the -tailcallopt flag enabled. (after
half a day on an old g4/800 :slight_smile:

okay to submit? probably not. :slight_smile: suggestions.

I can see some stylistic issues. e.g. getFramePointerFrameIndex() etc. should be declared const, also please make sure there is a space between 'if' and '('. But I don't enough about PPC to really pick on it. :slight_smile:

Dale, can you look through the patch?

Thanks,

Evan