[PATCH] D30472: [DAGCombine] Simplify ISD::AND in GetDemandedBits.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 13:49:37 PST 2017


efriedma created this revision.

This helps in cases involving bitfields where an AND is exposed by legalization.


Repository:
  rL LLVM

https://reviews.llvm.org/D30472

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/illegal-bitfield-loadstore.ll
  test/CodeGen/X86/avx512-insert-extract.ll
  test/CodeGen/X86/illegal-bitfield-loadstore.ll
  test/CodeGen/X86/xaluo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30472.90079.patch
Type: text/x-patch
Size: 10626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/4eb0d5cc/attachment.bin>


More information about the llvm-commits mailing list