[llvm] r211174 - [PowerPC] Do not use BLA with the 64-bit SVR4 ABI

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Wed Jun 18 10:40:00 PDT 2014


Hal Finkel <hfinkel at anl.gov> wrote on 18.06.2014 19:04:53:

> > The absolute value is loaded into a register, and then the usual
> > indirect call sequence takes place (dereferencing the function
> > descriptor, loading the TOC etc.)
>
> Okay; instead of removing the test, can you add it back and just
> change what it is testing for?

Fine with me, done in r211190.

I thought that this wasn't really needed since there is already
a test for the indirect call sequence; however, after adding the
test I noticed that the generated code is a bit less efficient
than it might be; this should improve with another patch to
improve TOC loading I'm planning to commit soon :-)

Bye,
Ulrich




More information about the llvm-commits mailing list