Changes

Summary

  1. [VPlan] Move VPWidenCallRecipe to VPlanRecipes.cpp (NFC). (details)
  2. [ubsan-minimal] Report the address of an error (details)
  3. [clang-format] Don't put `noexcept` on empty line following constructor (details)
  4. [clang-format] Allow `throw` to be a keyword in front of casts (details)
  5. [clang-format] Concepts: allow identifiers after negation (details)
  6. [libc++] Granularize the rest of memory (details)
  7. [gn build] Port d5e26775d089 (details)
  8. Add ArithBuilder::sub, make add, mul work with IndexTypes. (details)
  9. [DAG] getFreeze()/getNode() - account for operand depth when calling isGuaranteedNotToBeUndefOrPoison (PR57554) (details)
  10. [mlir][NFC] Move CodeGenHelpers.cpp from mlir-tblgen to TableGen library (details)
  11. [GlobalISel] Fix a combine crash due to a negative G_INSERT_VECTOR_ELT idx. (details)
  12. [flang] Create a box instead of a temp to write to a char array (details)
  13. [AMDGPU][CodeGen] Support (soffset + offset) s_buffer_load's. (details)
  14. Plumb write_bytecode to the Python API (details)
  15. [FLANG][NFC]Use RTNAME instead of hard-coding for simplify intrinsics (details)
  16. [AMDGPU][CodeGen] Pre-commit a test on (base | offset) SMEM loads for D132552. (details)
  17. Apply clang-tidy fixes for performance-unnecessary-value-param in FoldMemRefAliasOps.cpp (NFC) (details)
  18. Apply clang-tidy fixes for readability-simplify-boolean-expr in NVGPUDialect.cpp (NFC) (details)
  19. [libc++] Enable rvalue overloads for pair in C++03 (details)
  20. [mlir][bufferize] Add new debug flag: copy-before-write (details)
  21. [X86] Cleanup SLM SSE shift and CMPGTQ scheduler model numbers (details)
  22. [SPIRV] Add tests to improve test coverage (details)
  23. [clangd] NFC, correct template argument type for two RetiredFlags. (details)
  24. [AMDGPU][CodeGen] Support (base | offset) SMEM loads. (details)
  25. [InstCombine] reduce test-for-overflow of shifted value (details)
  26. [clangd] Fix LineFoldingOnly flag is not propagated correctly to ClangdServer. (details)
  27. [CodeGen] Support extracting fixed-length vectors from illegal scalable vectors (details)
Commit 408ebe5e3aae3cfa1e960f74998b02e277591663 by flo
[VPlan] Move VPWidenCallRecipe to VPlanRecipes.cpp (NFC).

Depends on D132585.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D132586
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanRecipes.cpp (diff)
Commit 84c4efbc6d61ec2bed9e9bc64b5829b4487b210c by ikudrin
[ubsan-minimal] Report the address of an error

This implements a FIXME in the runtime library and adds printing the
address at the end of the message as "by 0x123abc". The buffer for the
message is allocated on the stack in a handler, so the stack memory
consumption is slightly increased. No additional external dependencies
are added.

Differential revision: https://reviews.llvm.org/D131914
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/implicit-signed-integer-truncation-or-sign-change.c (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/uadd-overflow.cpp (diff)
The file was modifiedcompiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/nullptr-and-nonzero-offset.c (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/implicit-integer-sign-change.c (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/alignment-assumption.c (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/implicit-signed-integer-truncation.c (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/recover-dedup.cpp (diff)
The file was modifiedcompiler-rt/test/ubsan_minimal/TestCases/implicit-unsigned-integer-truncation.c (diff)
Commit f54d42abcf82e122ed0ac4688f01c1f4da5599f2 by bjoern
[clang-format] Don't put `noexcept` on empty line following constructor

With the AlwaysBreakTemplateDeclarations option, having a constructor
template for a type consisting of all-uppercase letters with a
noexcept specifier would put said noexcept specifier on its own blank
line.

This is because the all-uppercase type is understood as a macro-like
attribute (such as DEPRECATED()), and noexcept is seen as the
declaration. However, noexcept is a keyword and cannot be an
identifier on its own.

Fixes https://github.com/llvm/llvm-project/issues/56216

Differential Revision: https://reviews.llvm.org/D132189
The file was modifiedclang/lib/Format/TokenAnnotator.cpp (diff)
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/unittests/Format/TokenAnnotatorTest.cpp (diff)
Commit c6e7752f8e144ad78aee2e56a7c901c56be360de by bjoern
[clang-format] Allow `throw` to be a keyword in front of casts

This makes throw more similar to return. However, unlike return,
it has to more strict as to not remove spaces after usages of throw as
a (deprecated) exception specifier.

Fixes https://github.com/llvm/llvm-project/issues/57391

Differential Revision: https://reviews.llvm.org/D132762
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/unittests/Format/TokenAnnotatorTest.cpp (diff)
The file was modifiedclang/lib/Format/TokenAnnotator.cpp (diff)
Commit bd3dd10a8b489ce50823b4cc0049f16610adeee2 by bjoern
[clang-format] Concepts: allow identifiers after negation

Previously, the formatter would refuse to treat identifiers within a
compound concept definition as actually part of the definition, if
they were after the negation operator !. It is now made consistent
with the likes of && and ||.

Fixes https://github.com/llvm/llvm-project/issues/55898

Differential Revision: https://reviews.llvm.org/D131978
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp (diff)
The file was modifiedclang/unittests/Format/TokenAnnotatorTest.cpp (diff)
Commit d5e26775d089d099d02b168de8ea52179b1b1f75 by nikolasklauser
[libc++] Granularize the rest of memory

Reviewed By: ldionne, #libc

Spies: vitalybuka, paulkirth, libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D132790
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.iomanip (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_unordered_map (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.mutex (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.fstream (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.min.max/minmax.pass.cpp (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/weak_ptr.pass.cpp (diff)
The file was addedlibcxx/include/__memory/destruct_n.h
The file was modifiedlibcxx/include/__algorithm/set_union.h (diff)
The file was modifiedlibcxx/include/any (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/deduction.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/weak_ptr.pass.cpp (diff)
The file was modifiedlibcxx/include/__hash_table (diff)
The file was addedlibcxx/include/__type_traits/noexcept_move_assign_container.h
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_forward_list (diff)
The file was modifiedlibcxx/include/__filesystem/filesystem_error.h (diff)
The file was modifiedlibcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/function_type_default_deleter.fail.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_set (diff)
The file was modifiedlibcxx/test/std/ranges/range.adaptors/range.zip/general.pass.cpp (diff)
The file was modifiedlibcxx/include/__bsd_locale_fallbacks.h (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_search.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.condition_variable (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.map (diff)
The file was modifiedlibcxx/include/__memory/shared_ptr.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/uninitialized_copy_n.pass.cpp (diff)
The file was modifiedlibcxx/test/support/container_test_types.h (diff)
The file was modifiedlibcxx/include/__utility/forward_like.h (diff)
The file was modifiedlibcxx/include/future (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.any (diff)
The file was modifiedlibcxx/include/__format/format_arg_store.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_vector (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weakptr/bad_weak_ptr.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_partial_sort.h (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_prev_permutation.h (diff)
The file was modifiedlibcxx/include/queue (diff)
The file was modifiedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address.pass.cpp (diff)
The file was modifiedlibcxx/include/vector (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.algorithm (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.deque (diff)
The file was modifiedlibcxx/include/__memory/ranges_uninitialized_algorithms.h (diff)
The file was modifiedlibcxx/include/experimental/memory_resource (diff)
The file was modifiedlibcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_always.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/uninitialized_fill_n.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/get_deleter.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.locale (diff)
The file was modifiedlibcxx/include/__memory/raw_storage_iterator.h (diff)
The file was modifiedlibcxx/include/forward_list (diff)
The file was modifiedlibcxx/test/std/utilities/memory/temporary.buffer/temporary_buffer.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_search_n.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.constexpr.size.verify.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/inplace_merge.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_string (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_list (diff)
The file was modifiedlibcxx/include/__tree (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.min.max/ranges.minmax.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.future (diff)
The file was modifiedlibcxx/include/condition_variable (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.iostream (diff)
The file was modifiedlibcxx/test/std/utilities/memory/ptr.align/align.pass.cpp (diff)
The file was modifiedlibcxx/test/support/min_allocator.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.strstream (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.system_error (diff)
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/op_subscript.runtime.pass.cpp (diff)
The file was modifiedlibcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/suspend_never.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared_construct.pass.cpp (diff)
The file was modifiedlibcxx/include/unordered_map (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes.sh.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.random (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.barrier (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.shared_mutex (diff)
The file was modifiedlibcxx/test/std/localization/locales/locale.global.templates/use_facet.pass.cpp (diff)
The file was modifiedlibcxx/include/__memory/ranges_construct_at.h (diff)
The file was modifiedlibcxx/include/deque (diff)
The file was modifiedlibcxx/include/locale (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.sstream (diff)
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.verify.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.verify.cpp (diff)
The file was modifiedlibcxx/include/memory (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_partition.h (diff)
The file was modifiedlibcxx/include/string (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.ostream (diff)
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_regex (diff)
The file was modifiedlibcxx/test/support/allocators.h (diff)
The file was modifiedlibcxx/include/list (diff)
The file was modifiedlibcxx/test/support/controlled_allocators.h (diff)
The file was modifiedlibcxx/include/scoped_allocator (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.thread (diff)
The file was modifiedlibcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate.verify.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_unique_copy.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_map (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_next_permutation.h (diff)
The file was modifiedlibcxx/include/__algorithm/set_symmetric_difference.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.set (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.forward_list (diff)
The file was modifiedlibcxx/include/__format/formatter_integral.h (diff)
The file was modifiedlibcxx/include/map (diff)
The file was modifiedlibcxx/include/algorithm (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_coroutine (diff)
The file was modifiedlibcxx/include/__algorithm/stable_sort.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/move.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/stable_partition.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_pointer.pass.cpp (diff)
The file was modifiedlibcxx/include/module.modulemap.in (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.queue (diff)
The file was modifiedlibcxx/include/barrier (diff)
The file was modifiedlibcxx/test/libcxx/memory/compressed_pair/compressed_pair.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/sort.h (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_equal_range.h (diff)
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/uninitialized_copy.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.istream (diff)
The file was modifiedlibcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/uninitialized_fill.pass.cpp (diff)
The file was modifiedlibcxx/include/__node_handle (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.ctgmath (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_unordered_set (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_unique.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.complex (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.codecvt (diff)
The file was modifiedlibcxxabi/src/cxa_guard_impl.h (diff)
The file was addedlibcxx/include/__type_traits/is_allocator.h
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.streambuf (diff)
The file was modifiedlibcxx/include/experimental/coroutine (diff)
The file was modifiedlibcxx/include/mutex (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.bitset (diff)
The file was modifiedlibcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/construct.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.unordered_set (diff)
The file was modifiedlibcxx/include/thread (diff)
The file was modifiedlibcxx/include/set (diff)
The file was modifiedlibcxx/include/unordered_set (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.ios (diff)
The file was modifiedlibcxx/include/__locale (diff)
The file was modifiedlibcxx/test/std/utilities/memory/pointer.traits/pointer_to.pass.cpp (diff)
The file was modifiedlibcxx/include/functional (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_minmax.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/shared_ptr_rv.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.filesystem (diff)
The file was modifiedlibcxx/include/__functional/function.h (diff)
The file was modifiedlibcxx/include/__memory/uninitialized_algorithms.h (diff)
The file was modifiedlibcxx/include/regex (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_memory_resource (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.format (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/unique_ptr_Y.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_deque (diff)
The file was modifiedlibcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/pointer_to.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.ccomplex (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_partial_sort_copy.h (diff)
The file was modifiedlibcxx/test/std/utilities/memory/allocator.traits/allocate_at_least.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_copy.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.vector (diff)
The file was addedlibcxx/include/__memory/builtin_new_allocator.h
The file was modifiedlibcxx/include/fstream (diff)
The file was modifiedlibcxx/include/ostream (diff)
The file was modifiedlibcxx/test/std/utilities/memory/default.allocator/allocator_pointers.pass.cpp (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.stack (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.regex (diff)
The file was modifiedlibcxx/test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp (diff)
The file was modifiedlibcxx/include/__split_buffer (diff)
The file was addedlibcxx/include/__memory/align.h
The file was modifiedlibcxx/test/libcxx/utilities/any/allocator.pass.cpp (diff)
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_rv.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.fail.cpp (diff)
The file was modifiedlibcxx/include/__memory/construct_at.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.experimental_algorithm (diff)
The file was modifiedlibcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp (diff)
The file was modifiedlibcxx/include/CMakeLists.txt (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.unordered_map (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_find_end.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.string (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.scoped_allocator (diff)
The file was modifiedlibcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp (diff)
The file was modifiedlibcxx/include/__algorithm/ranges_set_difference.h (diff)
The file was modifiedlibcxx/test/libcxx/transitive_includes/cxx2b/expected.list (diff)
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_copy_move.fail.cpp (diff)
The file was addedlibcxx/include/__memory/temp_value.h
Commit 8f33a3abb393012444787187649030f8ac401d8c by llvmgnsyncbot
[gn build] Port d5e26775d089
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn (diff)
Commit 34f4a9ef2a1de4aad978d0185f77b484077849bf by jreiffers
Add ArithBuilder::sub, make add, mul work with IndexTypes.

sgt and slt already worked with IndexTypes, the others did not.

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D133285
The file was modifiedmlir/lib/Dialect/Arithmetic/Utils/Utils.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Arithmetic/Utils/Utils.h (diff)
Commit 4e6783f8665252622f7514c63af1dc5b0242dabe by llvm-dev
[DAG] getFreeze()/getNode() - account for operand depth when calling isGuaranteedNotToBeUndefOrPoison (PR57554)

Similar to #57402 - we were calling isGuaranteedNotToBeUndefOrPoison on the freeze operand (with Depth = 0), but wasn't accounting for the fact that a later isGuaranteedNotToBeUndefOrPoison assertion will call from the new node (with Depth = 0 as well) - which will then recursively call isGuaranteedNotToBeUndefOrPoison for its operands with Depth = 1

Fixes #57554
The file was addedllvm/test/CodeGen/X86/pr57554.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)
Commit f570cc173def519b1421fd35034c9b20b97dfd72 by markus.boeck02
[mlir][NFC] Move CodeGenHelpers.cpp from mlir-tblgen to TableGen library

Its header was already part of the TableGen library, but unusable as uses of its functions or classes would lead to undefined references when linking. This fixes that.
The file was addedmlir/lib/TableGen/CodeGenHelpers.cpp
The file was modifiedmlir/lib/TableGen/CMakeLists.txt (diff)
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt (diff)
The file was removedmlir/tools/mlir-tblgen/CodeGenHelpers.cpp
Commit fb60e50c789c3735f2c8f7209e56fac604d18bbf by Amara Emerson
[GlobalISel] Fix a combine crash due to a negative G_INSERT_VECTOR_ELT idx.

These should really be folded away to undef but we shouldn't crash in any case.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir (diff)
Commit a02f7505751eb2b13ba2d8d62ca897d1aaf9d0f0 by clementval
[flang] Create a box instead of a temp to write to a char array

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D133284
The file was addedflang/test/Lower/io-char-array.f90
The file was modifiedflang/lib/Lower/IO.cpp (diff)
Commit f33645301e9d5213b68f3a152cd4d362876157d4 by ivan.kosarev
[AMDGPU][CodeGen] Support (soffset + offset) s_buffer_load's.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D130263
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SMInstructions.td (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp (diff)
Commit 89418ddcb50034bbd8f631cbd71514721576426d by joker.eph
Plumb write_bytecode to the Python API

This adds a `write_bytecode` method to the Operation class.
The method takes a file handle and writes the binary blob to it.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D133210
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
The file was modifiedmlir/lib/Bindings/Python/IRModule.h (diff)
The file was modifiedmlir/lib/Bindings/Python/IRCore.cpp (diff)
The file was modifiedmlir/lib/CAPI/IR/CMakeLists.txt (diff)
The file was modifiedmlir/include/mlir-c/IR.h (diff)
The file was modifiedmlir/test/python/ir/operation.py (diff)
The file was modifiedmlir/lib/CAPI/IR/IR.cpp (diff)
Commit aa94eb38777a7e133884e46c430d81e9b514d135 by mats.petersson
[FLANG][NFC]Use RTNAME instead of hard-coding for simplify intrinsics

Use the RTNMAE macro (via stringify macros) to generate the name
strings for runtime functions, instead of using strings.
The sequence of macros generate exactly the same string as the
ones used previously, but this will support future changes in
runtime function names.

No functional change.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D132652
The file was modifiedflang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp (diff)
Commit 1f550d86b236de88d684aeecfde3cc7738640bb7 by ivan.kosarev
[AMDGPU][CodeGen] Pre-commit a test on (base | offset) SMEM loads for D132552.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D133021
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll (diff)
Commit 2fe37d1c7e4b94b52788d07ab4cb67be514187ee by joker.eph
Apply clang-tidy fixes for performance-unnecessary-value-param in FoldMemRefAliasOps.cpp (NFC)
The file was modifiedmlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp (diff)
Commit d2c7c725c1db4a55c311d13a8a19a24b0ff84a95 by joker.eph
Apply clang-tidy fixes for readability-simplify-boolean-expr in NVGPUDialect.cpp (NFC)
The file was modifiedmlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp (diff)
Commit e0b3356e67a9288accab0f079963397a4421923c by nikolasklauser
[libc++] Enable rvalue overloads for pair in C++03

We require rvalue support anyways, so let's use it.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D133013
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.spec/make_pair.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.spec/non_member_swap.pass.cpp (diff)
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pair.astuple/get_const_rv.pass.cpp (diff)
The file was modifiedlibcxx/include/__utility/pair.h (diff)
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp (diff)
Commit f7dd9a32060ab5b024424d24f6fbbd54b301a491 by springerm
[mlir][bufferize] Add new debug flag: copy-before-write

If this flag is set, the analysis is skipped and buffers are copied before every write.

Differential Revision: https://reviews.llvm.org/D133288
The file was modifiedmlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp (diff)
The file was modifiedmlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Bufferization/Transforms/OneShotModuleBufferize.h (diff)
The file was modifiedmlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp (diff)
The file was modifiedmlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td (diff)
Commit bd0801cddfc8e827f17d45a43ac8d3754e0c3124 by llvm-dev
[X86] Cleanup SLM SSE shift and CMPGTQ scheduler model numbers

These were causing weird mismatches for the D103695 script report as I'm trying to enable cost kinds support for vector shift and integer comparisons.

The SSE shifts by (non-constant) scalar are half-rate but still only 1uop and PCMPGT is half-rate and only on Pipe0 (although not as slow as PCMPEQQ which we already handle).
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s (diff)
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-mmx.s (diff)
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse42.s (diff)
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/zero-idioms.s (diff)
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td (diff)
Commit 1268cf6454bd1d1cafe7cba6cb58f20917f0a303 by andrey.tretyakov
[SPIRV] Add tests to improve test coverage

Differential Revision: https://reviews.llvm.org/D133265
The file was addedllvm/test/CodeGen/SPIRV/literal-struct.ll
The file was addedllvm/test/CodeGen/SPIRV/opencl/device_execution/execute_block.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/SpecConstantComposite.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/global_block.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll
The file was addedllvm/test/CodeGen/SPIRV/SpecConstants/bool-spirv-specconstant.ll
The file was addedllvm/test/CodeGen/SPIRV/ExecutionMode.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/BitReversePref.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/OpVectorInsertDynamic_i16.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/spirv-private-array-initialization.ll
The file was addedllvm/test/CodeGen/SPIRV/opencl/basic/vstore_private.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/builtin_vars.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
The file was addedllvm/test/CodeGen/SPIRV/transcoding/builtin_vars_opt.ll
The file was addedllvm/test/CodeGen/SPIRV/spec_const_decoration.ll
The file was addedllvm/test/CodeGen/SPIRV/ComparePointers.ll
The file was addedllvm/test/CodeGen/SPIRV/FOrdGreaterThanEqual_bool.ll
The file was modifiedllvm/test/CodeGen/SPIRV/instructions/intrinsics.ll (diff)
Commit b06372ae58f0c8ae61f0ba5cf6ad2e4a7615a2a4 by hokein.wu
[clangd] NFC, correct template argument type for two RetiredFlags.
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp (diff)
Commit 5db8d6fd2bd6db3cdc6290b538f054ca0833d763 by ivan.kosarev
[AMDGPU][CodeGen] Support (base | offset) SMEM loads.

Prevents generation of unnecessary s_or_b32 instructions.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D132552
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp (diff)
Commit 8fa432be4f749c4ab0ee452d8f7c4337d67861a1 by spatel
[InstCombine] reduce test-for-overflow of shifted value

Fixes #57338.

The added code makes the following transformations:

For unsigned predicates / eq / ne:
icmp pred (x << 1), x --> icmp getSignedPredicate(pred) x, 0
icmp pred x, (x << 1) --> icmp getSignedPredicate(pred) 0, x

Some examples:
https://alive2.llvm.org/ce/z/ckn4cj
https://alive2.llvm.org/ce/z/h-4bAQ

Differential Revision: https://reviews.llvm.org/D132888
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp (diff)
The file was modifiedllvm/test/Transforms/InstCombine/icmp-shl-1-overflow.ll (diff)
Commit 16987998e6a0ad62efd4e387c18b0b9b5ef51947 by hokein.wu
[clangd] Fix LineFoldingOnly flag is not propagated correctly to ClangdServer.

The Opts.LineFoldingOnly must be set before the clangdServer
construction, otherwise this flag is always false when using clangd in VSCode.

Differential Revision: https://reviews.llvm.org/D133299
The file was addedclang-tools-extra/clangd/test/folding-range.test
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp (diff)
Commit ffa62673004c3367dcf8aa01f2f7f9df13b19eed by david.sherwood
[CodeGen] Support extracting fixed-length vectors from illegal scalable vectors

For some indices we can simply extract the fixed-length subvector from the
low half of the scalable vector, for example when the index is less than the
minimum number of elements in the low half. For all other cases we can
expand the operation through the stack by storing out the vector and
reloading the fixed-length part we need.

Fixes https://github.com/llvm/llvm-project/issues/55412

Tests added here:

  CodeGen/AArch64/sve-extract-fixed-from-scalable-vector.ll

Differential Revision: https://reviews.llvm.org/D117499
The file was modifiedllvm/test/CodeGen/AArch64/sve-extract-fixed-from-scalable-vector.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (diff)