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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 14 03:18:24 PDT 2019


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

Actually all the necessary support is already in place here, all you need to do is call `SimplifyDemandedInstructionBits()`:

  if (SimplifyDemandedInstructionBits(*II))
      return &CI;


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

https://reviews.llvm.org/D60660





More information about the llvm-commits mailing list