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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 06:18:04 PDT 2019


lebedev.ri added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:2090-2091
+    if (SimplifyDemandedInstructionBits(*II))
+      return &CI;
     // The shift amount (operand 2) of a funnel shift is modulo the bitwidth,
     // so only the low bits of the shift amount are demanded if the bitwidth is
----------------
Separate with newline


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

https://reviews.llvm.org/D60660





More information about the llvm-commits mailing list