[all-commits] [llvm/llvm-project] ce9f00: [llvm] Use llvm::find_if (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Aug 28 10:42:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce9f007c7ccf845e169c803a81d00a141853d861
      https://github.com/llvm/llvm-project/commit/ce9f007c7ccf845e169c803a81d00a141853d861
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

  Changed paths:
    M llvm/include/llvm/MCA/Instruction.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-coff.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/tools/llvm-xray/xray-account.cpp
    M llvm/utils/TableGen/AsmMatcherEmitter.cpp
    M llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp

  Log Message:
  -----------
  [llvm] Use llvm::find_if (NFC)


  Commit: 9861a68a7cc5825fc9e680c76dfe71cda4a3c0b9
      https://github.com/llvm/llvm-project/commit/9861a68a7cc5825fc9e680c76dfe71cda4a3c0b9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
    M llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
    M llvm/lib/Target/AMDGPU/GCNIterativeScheduler.cpp
    M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
    M llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp

  Log Message:
  -----------
  [Target] Qualify auto in range-based for loops (NFC)


  Commit: 267f21a21bee4029d4f5bda8b192abdcc8c3db36
      https://github.com/llvm/llvm-project/commit/267f21a21bee4029d4f5bda8b192abdcc8c3db36
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M mlir/include/mlir/Analysis/Presburger/MPInt.h
    M mlir/lib/Analysis/Presburger/Utils.cpp

  Log Message:
  -----------
  Use std::gcd (NFC)

This patch replaces calls to greatestCommonDivisor with std::gcd where
two arguments are of the same type.  This means that
std::common_type_t of the argument type is the same as the argument
type.

We could drop calls to std::abs in some cases, but that's left for
another patch.


  Commit: 4a2377afd69bcf014492cb665ee955eab3121c4c
      https://github.com/llvm/llvm-project/commit/4a2377afd69bcf014492cb665ee955eab3121c4c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

  Changed paths:
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Analysis/Presburger/Utils.cpp
    M mlir/lib/IR/AffineExpr.cpp
    M polly/lib/Analysis/ScopInfo.cpp

  Log Message:
  -----------
  Use std::gcd (NFC)

To avoid changing semantics inadvertently, this patch casts arguments
to uint64_t before calling std::gcd.


Compare: https://github.com/llvm/llvm-project/compare/21dceb3ca67c...4a2377afd69b


More information about the All-commits mailing list