[all-commits] [llvm/llvm-project] a33ef8: Use llvm::all_equal (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Aug 27 09:53:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a33ef8f2b7b28e4ae50a6e4fa206f82d3b230a68
https://github.com/llvm/llvm-project/commit/a33ef8f2b7b28e4ae50a6e4fa206f82d3b230a68
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M clang/lib/Driver/Action.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Transforms/IPO/PartialInlining.cpp
M llvm/lib/Transforms/Scalar/GVNSink.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M mlir/lib/Dialect/Shape/IR/ShapeCanonicalization.td
Log Message:
-----------
Use llvm::all_equal (NFC)
Commit: 21de2888a4b3bf60c68b6e507ed629b977ef5a0e
https://github.com/llvm/llvm-project/commit/21de2888a4b3bf60c68b6e507ed629b977ef5a0e
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M clang/lib/AST/Expr.cpp
M llvm/lib/CodeGen/WinEHPrepare.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Dialect/Quant/QuantTypes.h
Log Message:
-----------
Use llvm::is_contained (NFC)
Commit: 86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd
https://github.com/llvm/llvm-project/commit/86bc4587e1fdb7b1b90eadc138619f5e3f2dd6fd
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/TargetInfo.cpp
M llvm/tools/llvm-xray/xray-color-helper.cpp
M llvm/tools/llvm-xray/xray-graph-diff.cpp
Log Message:
-----------
Use std::clamp (NFC)
This patch replaces clamp idioms with std::clamp where the range is
obviously valid from the source code (that is, low <= high) to avoid
introducing undefined behavior.
Commit: 099775c2d6609cb03f459393d5bfa4b34e183bc9
https://github.com/llvm/llvm-project/commit/099775c2d6609cb03f459393d5bfa4b34e183bc9
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M mlir/include/mlir/Support/MathExtras.h
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
Log Message:
-----------
[mlir] Use std::lcm (NFC)
This patch replaces mlir::lcm with std::lcm, a C++17 feature.
Note that all the arguments to mlir::lcm are of int64_t with no
implicit type conversion as they are passed to mlir::lcm, which I've
verified by modifying mlir::lcm as:
template <typename TA, typename TB>
inline int64_t lcm(TA a, TB b) {
static_assert(std::is_same_v<TA, int64_t>);
static_assert(std::is_same_v<TB, int64_t>);
:
Commit: 9d6ab7230b4b07a113e13b0958efbd2fc2ce6a73
https://github.com/llvm/llvm-project/commit/9d6ab7230b4b07a113e13b0958efbd2fc2ce6a73
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-27 (Sat, 27 Aug 2022)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
Log Message:
-----------
[GlobalISel] Use std::lcm (NFC)
This patch replaces getLCMSize with std::lcm, a C++17 feature.
Note that all the arguments are of unsigned with no implicit type
conversion as they are passed to getLCMSize.
Compare: https://github.com/llvm/llvm-project/compare/b2c96d7855b8...9d6ab7230b4b
More information about the All-commits
mailing list