[PATCH][PowerPC] Fix BlockAddress access on ppc64

Anton Blanchard anton at samba.org
Thu Oct 30 17:48:06 PDT 2014


Hi Uli,

> I've attached an updated version that implements that solution,
> and enhances the test to actually verify the correct label name.

Thanks! This version does pass my tests, no more link errors.

The generated code looks good:

.Ltmp35:                                # Block address taken
# BB#1:                                 # %__here
        addis 3, 2, .LC7 at toc@ha
        li 4, 512
        ld 3, .LC7 at toc@l(3)
        bl __local_bh_enable_ip

...

.LC7:
        .tc .Ltmp35[TC],.Ltmp35

Anton



More information about the llvm-commits mailing list