rengolin added a comment.

In http://reviews.llvm.org/D20709#443950, @srhines wrote:

> Correct. This is only used by RenderScript, and unfortunately can't be done 
> any differently. We had hoped to just predicate this with our own LangOpt 
> (the patch that adds the RenderScript LangOpt is coming soon), but 
> unfortunately, at the point where LangOpts are being parsed, the target 
> machine already has the size and alignment of long specified (and it can't 
> change).


Hi Stephen,

GCC uses -mabi=ilp32 or -mabi=lp64 for AArch64 to change the ABI, you could do 
the same on Renderscript.

If this is how Renderscript *always* operate, than having a "renderscript" ABI 
would make even more sense.

cheers,
--renato


http://reviews.llvm.org/D20709



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to