[PATCH] Prefer small negative constants in InstCombine
Tim Northover
tnorthover at apple.com
Wed Jun 26 12:45:58 PDT 2013
On Wednesday 26 June 2013 11:24:10 Eli Friedman wrote:
> This seems like a big change that could affect all sorts of optimizations;
> I'd like to see performance numbers from the nightly test suite.
Sounds like a good idea. I'll see what I can do...
> Also, I'm not sure this code is actually performing the check you want it
> to; it appears that, for example, it would prefer -3 over -4.
... after fixing this anyway.
Thanks.
Tim.
More information about the llvm-commits
mailing list