[llvm] r223786 - [CodeGenPrepare] Split branch conditions into multiple conditional branches.

Juergen Ributzka juergen at apple.com
Tue Dec 9 09:03:44 PST 2014


I see.

I still would like to get rid of the implementation in SelectionDAG, but it looks like we need to add a new target hook for this.
There is also the issue that CodeGenPrepare doesn’t run during -O0 (yet).

What do you think Hal?

—Juergen

> On Dec 9, 2014, at 8:48 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> 
> At least for PPC, it should likely stay that way. At -O0, we don't use CR-bit-register tracking, and so this is likely profitable. For optimized builds, PPC uses CR bit register tracking, and this transformation is likely not profitable (it is definitely not profitable on the A2 and other embedded cores, and likely not on the others either).
> 
> Thanks again,
> Hal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141209/eba8f18c/attachment.html>


More information about the llvm-commits mailing list