[PATCH] PowerPC: Resolve constant at l/h/ha without fixups

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Wed Mar 12 09:31:36 PDT 2014


Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote on 11.03.2014 21:47:38:

> > This is only an issue when printing assembly, right? When producing an
> > object file we should have an Layout available.

Looks like you're right; there are no relocations in the object file.
Not sure if there are other cases where Layout might be NULL ...

> In any case. If it is important to resolve this when printing
> assembly, I would probably prefer to just change the interface (patch
> attached, includes your testcase).

This patch is certainly fine with me as well.

It does seem nicer to have the assembly output match the generated
object file, if only for simplified testing ...

Thanks,
Ulrich





More information about the llvm-commits mailing list