[PATCH] Add option to selectively disable the GVN pass.

Dimitry Andric dimitry at andric.com
Thu May 28 00:04:19 PDT 2015


In http://reviews.llvm.org/D10069#179821, @hfinkel wrote:

> I would much rather try to understand the problem. If GVN is doing something that tends to increase binary size even when compiling a function with the optsize attribute, then GVN should stop doing that.


Sure, but at the moment we imported clang 3.5.0, this was our only showstopper, and we had to do a quick fix.  We just experimented with enabling and disabling different passes, and ended up at this result.

> Have you provided a test case for this?


I will dig this up later.


http://reviews.llvm.org/D10069

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






More information about the llvm-commits mailing list