[PATCH] D58869: [X86] Allow 8-bit INC/DEC to be converted to LEA.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 2 09:55:31 PST 2019


spatel added a comment.

Side note/follow-up from D58412 <https://reviews.llvm.org/D58412> - in a local experiment, I removed 'FeatureSlowIncDec' from the default/generic x86-64 CPU model, and saw no regression test diffs. So I assume we're already converting to LEA in most cases already. As seen in some of the diffs here, that's probably for the best since it allows getting rid of an explicit mov register instruction?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58869/new/

https://reviews.llvm.org/D58869





More information about the llvm-commits mailing list