[all-commits] [llvm/llvm-project] 2789c4: [mlir] Use value_or (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Mon Jul 25 23:01:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2789c4f51c5b4693509a3c3220a0abb7ff242922
https://github.com/llvm/llvm-project/commit/2789c4f51c5b4693509a3c3220a0abb7ff242922
Author: Kazu Hirata <kazu at google.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
Log Message:
-----------
[mlir] Use value_or (NFC)
Commit: ae002f8bca11bf652fa4d2683c8a627fa77158a8
https://github.com/llvm/llvm-project/commit/ae002f8bca11bf652fa4d2683c8a627fa77158a8
Author: Kazu Hirata <kazu at google.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
M llvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp
M mlir/lib/TableGen/Pattern.cpp
Log Message:
-----------
Use isa instead of dyn_cast (NFC)
Commit: 3f3930a451e118e82885a6dd20e3918427b816c2
https://github.com/llvm/llvm-project/commit/3f3930a451e118e82885a6dd20e3918427b816c2
Author: Kazu Hirata <kazu at google.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h
M clang-tools-extra/clangd/AST.cpp
M clang-tools-extra/clangd/support/ThreadsafeFS.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M polly/include/polly/CodeGen/BlockGenerators.h
M polly/include/polly/CodeGen/LoopGeneratorsGOMP.h
M polly/include/polly/CodeGen/LoopGeneratorsKMP.h
M polly/include/polly/ScopPass.h
M polly/lib/CodeGen/CodegenCleanup.cpp
M polly/lib/Support/DumpFunctionPass.cpp
M polly/lib/Support/DumpModulePass.cpp
M polly/lib/Transform/DeLICM.cpp
M polly/lib/Transform/FlattenSchedule.cpp
M polly/lib/Transform/Simplify.cpp
Log Message:
-----------
Remove redundaunt virtual specifiers (NFC)
Identified with tidy-modernize-use-override.
Commit: 3356d72a5ffa69324f8fdbc067c440cda8154797
https://github.com/llvm/llvm-project/commit/3356d72a5ffa69324f8fdbc067c440cda8154797
Author: Kazu Hirata <kazu at google.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Transforms/AffinePromotion.cpp
Log Message:
-----------
[flang] Use value or * instead of getValue (NFC)
This patch replaces x.getValue() with *x if the reference is obviously
protected by a presence check. Otherwise, it replaces x.getValue()
with x.value().
Commit: c8cf669f6025bdf0fc227f3ddbbf3523a5b32f0b
https://github.com/llvm/llvm-project/commit/c8cf669f6025bdf0fc227f3ddbbf3523a5b32f0b
Author: Kazu Hirata <kazu at google.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M llvm/include/llvm/ADT/Optional.h
M llvm/unittests/ADT/OptionalTest.cpp
Log Message:
-----------
[ADT] Deprecate Optional::getValueOr (NFC)
This patch deprecates getValueOr in favor of value_or.
Differential Revision: https://reviews.llvm.org/D130140
Compare: https://github.com/llvm/llvm-project/compare/620ca754e3f7...c8cf669f6025
More information about the All-commits
mailing list