[PATCH] PowerPC: CTR shouldn't fire if a TLS call is in the loop

Joerg Sonnenberger joerg at britannica.bec.de
Sat Dec 27 01:34:47 PST 2014


On Sat, Dec 27, 2014 at 09:12:04AM +0000, David Majnemer wrote:
> Determining the address of a TLS variable results in a function call in
> certain TLS models.  This means that a simple ICmpInst might actually
> result in invalidating the CTR register.

Why is %load not moved out of the loop?

Joerg



More information about the llvm-commits mailing list