[all-commits] [llvm/llvm-project] 7a617f: Use std::gcd (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Aug 27 21:21:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a617fdf39dad656e08001fb2dfa31cc42fd30e2
https://github.com/llvm/llvm-project/commit/7a617fdf39dad656e08001fb2dfa31cc42fd30e2
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/MCA/Support.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
Log Message:
-----------
Use std::gcd (NFC)
This patch replaces calls to GreatestCommonDivisor64 with std::gcd
where both arguments are known to be of unsigned types no larger than
64 bits in size.
Commit: 33b93044352fae09376b7d71ce6f2441a34f343d
https://github.com/llvm/llvm-project/commit/33b93044352fae09376b7d71ce6f2441a34f343d
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M clang-tools-extra/clang-tidy/zircon/TemporaryObjectsCheck.cpp
M clang-tools-extra/clangd/QueryDriverDatabase.cpp
M clang/lib/Frontend/FrontendAction.cpp
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
Log Message:
-----------
Use llvm::is_contained (NFC)
Commit: 56ea4f9bd3d6c44f95f9b7b8639c9db043448742
https://github.com/llvm/llvm-project/commit/56ea4f9bd3d6c44f95f9b7b8639c9db043448742
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/Coroutines/Coroutines.cpp
M llvm/lib/Transforms/IPO/BlockExtractor.cpp
M llvm/lib/Transforms/IPO/CrossDSOCFI.cpp
M llvm/lib/Transforms/IPO/GlobalDCE.cpp
M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
M llvm/lib/Transforms/Utils/CodeLayout.cpp
M llvm/lib/Transforms/Utils/FixIrreducible.cpp
M llvm/lib/Transforms/Utils/LCSSA.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
M llvm/lib/Transforms/Utils/LowerGlobalDtors.cpp
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/lib/Transforms/Utils/PredicateInfo.cpp
M llvm/lib/Transforms/Utils/SampleProfileInference.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlanSLP.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
Log Message:
-----------
[Transforms] Qualify auto in range-based for loops (NFC)
Identified with readability-qualified-auto.
Commit: d0f1283e6b48acb67c1f43e851f6aea2a5f2f516
https://github.com/llvm/llvm-project/commit/d0f1283e6b48acb67c1f43e851f6aea2a5f2f516
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Semantics/resolve-names.cpp
Log Message:
-----------
[flang] Simplify string comparisons (NFC)
Identified with readability-string-compare.
Commit: 0660249cca89208f042b13913bf0bb5485527ec1
https://github.com/llvm/llvm-project/commit/0660249cca89208f042b13913bf0bb5485527ec1
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Remove a redundaunt return statement (NFC)
Identified with readability-redundant-control-flow.
Commit: 920ffab9cccfe1a5dde0368d252ed50e5dbcd6a5
https://github.com/llvm/llvm-project/commit/920ffab9cccfe1a5dde0368d252ed50e5dbcd6a5
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Use nullptr instead of NULL (NFC)
Identified with modernize-use-nullptr.
Commit: 472e1a065d6f673290bdf393b412be5e4fa565c0
https://github.com/llvm/llvm-project/commit/472e1a065d6f673290bdf393b412be5e4fa565c0
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M llvm/lib/Support/SmallVector.cpp
Log Message:
-----------
[Support] Use std::clamp (NFC)
We can safely use std::clamp here because the call to
report_size_overflow a few lines above guarantees MinSize <= MaxSize.
Compare: https://github.com/llvm/llvm-project/compare/1b002d276835...472e1a065d6f
More information about the All-commits
mailing list