[PATCH] Re-enable movw/movt on iOS static platforms

Tim Northover t.p.northover at gmail.com
Fri Nov 22 11:04:29 PST 2013


>  - You can now remove the FIXME. ;)

Good point, I'll update that when we've sorted out whether we can
actually do this.

>  - That condition seems to be change for non-Darwin, too, if that's the
> case, do we have tests for those?

I think it should be the same (D = isDarwin, S = isStatic):

D=0, S=0 => orig = D == !S = false, new = D || S = false
D=0, S=1 => orig = D == !S = true, new = D || S = true
D=1, S=0 => orig = D == !S = true, new = D || S = true
D=1, S=1 => orig = D == !S = false, new = D || S = true (but that's
the whole point).

Thanks Renato.

Tim.



More information about the llvm-commits mailing list