[PATCH] D32352: Go to eleven

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 08:05:48 PDT 2017


avt77 added a comment.

In https://reviews.llvm.org/D32352#735393, @spatel wrote:

> Is this or should this be limited when optimizing for size? I didn't count the instruction bytes...it might depend on the multiplier constant which version is smaller?


It's already limited:

  // An imul is usually smaller than the alternative sequence.
  if (DAG.getMachineFunction().getFunction()->optForMinSize())


https://reviews.llvm.org/D32352





More information about the llvm-commits mailing list