[PATCH] Add NVPTXPeephole pass to reduce unnecessary address cast

Xuetian Weng xweng at google.com
Wed Jun 24 11:39:03 PDT 2015


In http://reviews.llvm.org/D10549#193496, @jholewinski wrote:

> What is the future expectation for NVPTXPeephole?  Are you planning on adding additional transforms?  If not, perhaps a more specific name is warranted.  Otherwise, LGTM!  Thanks!


One thing currently in my mind is to combine some other unnecessary address cast just like this pass. I've noticed some other pointless address cast in generated code (e.g. the "FIXME" in call-with-alloca-buffer.ll).


http://reviews.llvm.org/D10549

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list