[PATCH] D32277: Replace slow LEA instructions in X86

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 20:54:44 PDT 2017


skatkov added a comment.

Interesting... it would be nice to know why :)

Anyway I still believe that some negative tests should also be added here. For example for the sequence
cmp
lea
jb

lea cannot be converted to add due to add implicitly kills the eflags and defines it as well while lea does not do it.


https://reviews.llvm.org/D32277





More information about the llvm-commits mailing list