[PATCH] D65802: [DAGCombiner] Rebuild (setcc x, y, ==) from (xor (xor x, y), 1)

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 00:03:06 PDT 2019


rogfer01 updated this revision to Diff 214070.
rogfer01 added a comment.

ChangeLog:

- Tighten even more the condition in which the fold is applied
- Rephrase comments so they mention `brcond`.


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

https://reviews.llvm.org/D65802

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/cmp-bool.ll
  llvm/test/CodeGen/ARM/cmp-bool.ll
  llvm/test/CodeGen/RISCV/cmp-bool.ll
  llvm/test/CodeGen/WebAssembly/reg-stackify.ll
  llvm/test/CodeGen/X86/cmp-bool.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65802.214070.patch
Type: text/x-patch
Size: 6856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/d2e9905c/attachment-0001.bin>


More information about the llvm-commits mailing list