[PATCH] ComputeKnownBits: be a bit smarter about ADDs

escha escha at apple.com
Sat Jun 27 21:27:52 PDT 2015


I really can't think of anything without going into x86-specific backend hacks (or other larger-scale changes in the constant optimization bits of the backend) :-/

LLVM tries to aggressively shrink constants in the general case, and unfortunately it hurts here... but I imagine it already hurts in a lot of other cases, this optimization just exposes one more.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10512

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






More information about the llvm-commits mailing list