[PATCH] D46073: [DagCombine] De Morgan laws: 'nand' logic with an inverted operand

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 27 03:53:39 PDT 2018


lebedev.ri updated this revision to Diff 144309.
lebedev.ri added a comment.

- Rebased ontop of revised tests.
- Handle `nor` pattern too.
- Still not sure how to handle `vandnpd`/`vandnps` breakage.


Repository:
  rL LLVM

https://reviews.llvm.org/D46073

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/demorgan-extra.ll
  test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll
  test/CodeGen/X86/avx-schedule.ll
  test/CodeGen/X86/demorgan-extra.ll
  test/CodeGen/X86/sse-schedule.ll
  test/CodeGen/X86/sse2-schedule.ll
  test/CodeGen/X86/unfold-masked-merge-scalar-variablemask.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46073.144309.patch
Type: text/x-patch
Size: 47960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180427/a9d4458d/attachment-0001.bin>


More information about the llvm-commits mailing list