[all-commits] [llvm/llvm-project] 3aab3c: [InstCombine] getLogBase2 - no need to specify Typ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Oct 10 12:15:36 PDT 2020


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

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

  Log Message:
  -----------
  [InstCombine] getLogBase2 - no need to specify Type. NFCI.

In all the getLogBase2 uses, the specified Type is always the same as the constant being folded.




More information about the All-commits mailing list