[all-commits] [llvm/llvm-project] 18883a: [TTI] Replace ceil lambdas with divideCeil. NFCI

David Green via All-commits all-commits at lists.llvm.org
Tue May 4 01:05:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18883a3fec5a153ab64fb756f6c7f92bce9f9283
      https://github.com/llvm/llvm-project/commit/18883a3fec5a153ab64fb756f6c7f92bce9f9283
  Author: David Green <david.green at arm.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp

  Log Message:
  -----------
  [TTI] Replace ceil lambdas with divideCeil. NFCI

As pointed out in D101726, this function already exists in MathExtras.
It uses different types, but with the values used here I believe that
should not make a functional difference.




More information about the All-commits mailing list