[all-commits] [llvm/llvm-project] fa5662: [InstCombine] matchFunnelShift - remove shift valu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Oct 12 07:59:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fa566233706ce8345f2c0152b51312a217b848c9
      https://github.com/llvm/llvm-project/commit/fa566233706ce8345f2c0152b51312a217b848c9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] matchFunnelShift - remove shift value commutation. NFCI.

After rG02295e6d1a15 we no longer need to invert the shift values for fshr - this is just hidden at the moment as funnel shifts only ever match for constant values so never use the fshr "Sub on SHL" path.




More information about the All-commits mailing list