[PATCH] D43349: [InstCombine] Make SimplifyDemandedUseBits handle PhiNode

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 12:15:01 PST 2018


xur created this revision.
xur added a reviewer: craig.topper.

This patch enables SimplifyDemandedUseBits to handle PhiNode so that some redundant instructions across the PhiNode can be eliminated.


https://reviews.llvm.org/D43349

Files:
  lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  test/Transforms/InstCombine/simplify-demanded-bits-across-phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43349.134487.patch
Type: text/x-patch
Size: 3972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/0c45f341/attachment.bin>


More information about the llvm-commits mailing list