[PATCH] D19087: [x86, ppc] prefer comparisons against zero for and+cmp sequences
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 18:21:04 PDT 2016
hfinkel added a comment.
This certainly a good pattern to catch, but I'm not sure that CGP is the right place for this. We generally have things in CGP to work-around the fact that SDAG/ISel is basic-block local. This kind of thing seems much more natural as a something that should be in DAGCombine.
http://reviews.llvm.org/D19087
More information about the llvm-commits
mailing list