[PATCH] D11904: [X86] Disable mul -> shl + lea combine when compiling for minsize

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 09:07:47 PDT 2015


RKSimon added a comment.

Slightly off at a tangent: are we ensuring that we keep to the small (8-bit immediate) imul implementation when possible? I seem to recall there's been a problem with unnecessary 32-bit immediate imul instructions causing code bloat.


http://reviews.llvm.org/D11904





More information about the llvm-commits mailing list