[PATCH] D35340: [x86] use more shift or LEA for select-of-constants

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 12:10:59 PDT 2017


spatel added a comment.

In https://reviews.llvm.org/D35340#826398, @spatel wrote:

> Note that the memcmp code with the potentially questionable partial-reg codegen has changed. We're producing setcc+movzbl more consistently now, but I'm not sure why x86-fixup-setcc doesn't transform those.


Disregard that - I didn't scroll down far enough. Sometimes we use movzbl and other times we use xor, and I don't know what causes the difference. IMO the improvements stand independent of that question/problem, but I plan to look at that next.


https://reviews.llvm.org/D35340





More information about the llvm-commits mailing list