[PATCH] D60660: [InstCombine] Prune fshl/fshr with masked operands

Shawn Landden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 05:11:43 PDT 2019


shawnl marked an inline comment as done.
shawnl added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:2100-2101
     if (SimplifyDemandedBits(II, 2, Op2Demanded, Op2Known))
       return &CI;
     break;
   }
----------------
lebedev.ri wrote:
> I think that new code should be here.
but it has to be above this:

    if (!isPowerOf2_32(BitWidth))


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

https://reviews.llvm.org/D60660





More information about the llvm-commits mailing list