[PATCH] D44442: [X86] Teach X86TargetLowering::targetShrinkDemandedConstant to set non-demanded bits if it helps created an and mask that can be matched as a zero extend.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 10:48:05 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

Fixes PR36689.


Repository:
  rL LLVM

https://reviews.llvm.org/D44442

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/pr12360.ll
  test/CodeGen/X86/pr32284.ll
  test/CodeGen/X86/zext-demanded.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44442.138228.patch
Type: text/x-patch
Size: 4649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/eec1ac99/attachment.bin>


More information about the llvm-commits mailing list