[PATCH] D38273: [X86] Don't select (cmp (and, imm), 0) to testw

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 18:02:39 PDT 2017


craig.topper updated this revision to Diff 116914.
craig.topper added a comment.

Qualified with optforminsize instead.


https://reviews.llvm.org/D38273

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  test/CodeGen/X86/tbm_patterns.ll
  test/CodeGen/X86/test-shrink-bug.ll
  test/CodeGen/X86/test-shrink.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38273.116914.patch
Type: text/x-patch
Size: 4109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170928/04ec9d47/attachment.bin>


More information about the llvm-commits mailing list