[PATCH] [NVPTXFavorNonGeneric] canonicalize global variable initializers

Jingyue Wu jingyue at google.com
Wed Apr 22 11:36:34 PDT 2015


Justin and I discussed this issue in http://reviews.llvm.org/D9063. The
conclusion is that, while Justin is working on a comprehensive fix which
can take a few days, I can workaround it by canonicalization as implemented
in this patch.

Anyway, this patch is incorrect because generic(<global var>+<const
offset>) is unacceptable by the NVIDIA driver. I already abandoned it.

Jingyue

On Wed, Apr 22, 2015 at 11:30 AM hfinkel at anl.gov <hfinkel at anl.gov> wrote:

> > outermost possible level, so that NVPTXAsmPrinter can print it more
> likely correctly.
>
>
> You're just hiding a bug?
>
>
> http://reviews.llvm.org/D9204
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150422/a2e2d42b/attachment.html>


More information about the llvm-commits mailing list