[all-commits] [llvm/llvm-project] 02295e: [InstCombine] matchFunnelShift - canonicalize to O...

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 02295e6d1a1559f0689aeca09d98f468e3f29d9a
      https://github.com/llvm/llvm-project/commit/02295e6d1a1559f0689aeca09d98f468e3f29d9a
  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 - canonicalize to OR(SHL,LSHR). NFCI.

Simplify the shift amount matching code by canonicalizing the shift ops first.




More information about the All-commits mailing list