SuccessChanges

Summary

  1. [libc++] Fix test broken in C++03 due to requiring C++11 features from vector (details)
  2. [profile] Sync InstrProfData.inc with llvm. (details)
  3. [XCOFF][AIX] Use 'L..' instead of 'L' for PrivateGlobalPrefix (details)
  4. [InstSimplify] fix bug in matching or-with-not op (PR46083) (details)
  5. [AIX] Change the default target CPU to power4 for AIX on Power (details)
  6. [doc] Fix use of ` where `` was intended in attribute docs. (details)
  7. [VectorCombine] Add multi-use multiply test for D80885 (details)
  8. [JITLink] Skip debug sections in MachO objects. (details)
  9. [NewGVN] Add test to ensure metadata is preserved for ssa_copy (NFC) (details)
  10. [AArch64] Add ld3 test case for renaming in ldst-opt (NFC). (details)
  11. [VectorCombine] Add multi-use shl test for D80885 (details)
  12. CoroSplit: Fix coroutine splitting for retcon and retcon.once (details)
  13. lld: use `std::make_unique` (NFC) (details)
  14. [AArch64] Fix stp-opt-with-renaming-ld3.mir with expensive checks. (details)
  15. [lldb/StringPrinter] Convert DecodedCharBuffer to a class, NFC (details)
  16. [lldb/StringPrinter] Support strings with invalid utf8 sub-sequences (details)
  17. [lldb][NFC] Fix documentation formatting in ASTResultSynthesizer (details)
  18. Define __SPIR__ macro for spir/spir64 targets. (details)
  19. [clang-format] [PR46159] Linux kernel 'C' code uses 'try' as a variable name, allow clang-format to handle such cases (details)
  20. [clang-format] [PR46157] Wrong spacing of negative literals with use of operator (details)
  21. [mlir] Remove unneeded inference trait/fns (details)
  22. [IRInterpreter] Unused. Drive-by cleanup. NFCI. (details)
  23. Replace separator in OpenMP variant name mangling. (details)
  24. [Darwin] Improve runtime OS version checks (details)
  25. X86: Switch fastregalloc test to use generated checks (details)
  26. RegAllocFast: Record internal state based on register units (details)
  27. [clang-tidy]: Added modernize-replace-disallow-copy-and-assign-macro (details)
  28. [SVE] Eliminate calls to default-false VectorType::get() from IR (details)
  29. [WebAssembly] Add support for -mexec-model=reactor (details)
  30. Reland "[WebAssembly] Eliminate range checks on br_tables" (details)
  31. [gn build] Fix link with ld.bfd and gold. (details)
  32. [X86] Separate X86_CPU_TYPE_COMPAT_WITH_ALIAS from X86_CPU_TYPE_COMPAT. NFC (details)
  33. [gn build] Port 7f50c15be5c (details)
  34. [gn build] Port e636e6b79ac (details)
  35. Add a test for preserving state on the non-expr thread across expression evaluation. (details)
  36. [lldb/Test] Remove un(used|needed|maintained) files from lldbsuite. (details)
  37. [lldb/Test] Python <3.5 requires **kwargs to come last (details)
  38. [mlir] [VectorOps] Use 'vector.flat_transpose' for 2-D 'vector.tranpose' (details)
  39. [clangd] Fix forgotten propagation of AsnycPreamble flag (details)
  40. [mlir][Linalg] Add support for fusion between indexed_generic ops and generic ops on tensors. (details)
  41. [mlir][Linalg] Add support for fusion between indexed_generic ops and tensor_reshape ops (details)
  42. Introduce a "gc-live" bundle for the gc arguments of a statepoint (details)
  43. [mlir][StandardToSPIRV] Handle i1 case for lowering std.zexti to SPIR-V. (details)
Commit 2bbfa6b02b3e5bb2458eae8bc8ef4e1517e994ce by Louis Dionne
[libc++] Fix test broken in C++03 due to requiring C++11 features from vector
The file was modifiedlibcxx/test/std/thread/thread.condition/thread.condition.condvarany/notify_all.pass.cpp (diff)
Commit 14bb6770f2c6597e61d8a696da28483c66f37aed by yamauchi
[profile] Sync InstrProfData.inc with llvm.

Reviewers: davidxl

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D81038
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc (diff)
Commit f5415f7c5a06e8563c650a3ecfd6435d36ca3a66 by jasonliu
[XCOFF][AIX] Use 'L..' instead of 'L' for PrivateGlobalPrefix

Without this change, names start with 'L' will get created as
temporary symbol in MCContext::createSymbol.

Some other potential prefix considered:
.L, does not work for AIX, as a function start with L will end
up with .L as prefix for its function entry point.

..L could work, but it does not play well with the convention
on AIX that anything start with '.' are considered as entry point.

L. could work, but not sure if it's safe enough, as it's possible
to have suffixes like .something append to a plain L, giving L.something
which is not necessarily a temporary.

That's why we picked L.. for now.

Differential Revision: https://reviews.llvm.org/D80831
The file was modifiedllvm/test/CodeGen/PowerPC/aix-extern-weak.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-weak.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-abi.ll (diff)
The file was addedllvm/test/CodeGen/PowerPC/aix-xcoff-externL.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll (diff)
The file was modifiedllvm/lib/MC/MCAsmInfoXCOFF.cpp (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-block-address.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-extern.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix64-cc-byval.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-byval.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll (diff)
Commit a9fe69c359de653015c39e413e48630d069abe27 by spatel
[InstSimplify] fix bug in matching or-with-not op (PR46083)
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp (diff)
The file was modifiedllvm/test/Transforms/InstSimplify/or.ll (diff)
Commit ba4afe6f7a8453b24ee0b664e40d157d15a54034 by wanyu9511
[AIX] Change the default target CPU to power4 for AIX on Power

Summary: This patch changes the AIX default target CPU to power4 since this is the the lowest arch for the lowest OS level supported.

Reviewers: hubert.reinterpretcast, cebowleratibm, daltenty

Reviewed By: hubert.reinterpretcast

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80835
The file was addedclang/test/Driver/aix-mcpu-default.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp (diff)
Commit 5f478651eb31ac81acf9a521c3d44c5e1c4af49a by noreply
[doc] Fix use of ` where `` was intended in attribute docs.

`...` is rST syntax for hyperlinks etc. ``...`` should be used for code snippets.
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
Commit 9f8ea2e6cf7c855aa4f89993a6c696390cb07d07 by llvm-dev
[VectorCombine] Add multi-use multiply test for D80885
The file was modifiedllvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant.ll (diff)
Commit d27cbf03cf9c43b4b98f031d63f23cfcfe3d587a by Lang Hames
[JITLink] Skip debug sections in MachO objects.

Debug sections will not be linked into the final executable and may contain
ambiguous relocations*. Skipping them avoids both some unnecessary processing
cost and the hassle of dealing with the problematic relocations.

* E.g. __debug_ranges contains non-extern relocations to the end of functions
hat begin with named symbols. Under the usual rules for interpreting non-extern
relocations these will be incorrectly associated with the following block, or
no block at all (if there is a gap between one block and the next).
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp (diff)
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp (diff)
The file was addedllvm/test/ExecutionEngine/JITLink/X86/MachO_skip_debug_sections.s
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp (diff)
Commit 195fa4bfae102c0d6fd6966618ed3d3c39b1d400 by flo
[NewGVN] Add test to ensure metadata is preserved for ssa_copy (NFC)

Add a new test that checks that metadata is preserved when ssa_copy
calls introduced by PredicateInfo are replaced by their original
values.
The file was addedllvm/test/Transforms/NewGVN/preserve-metadata-for-predicate-replacements.ll
Commit fd24bdbe50fa4aece574d0b53e68c37d23f7df35 by flo
[AArch64] Add ld3 test case for renaming in ldst-opt (NFC).

The test case highlights a mis-compile reported in PR46105, where
a consecutive register list is renamed, which invalidates some other
used registers.
The file was addedllvm/test/CodeGen/AArch64/stp-opt-with-renaming-ld3.mir
Commit c2e27ac1ce3e3141f9cf0c4f6982cd56347bc323 by llvm-dev
[VectorCombine] Add multi-use shl test for D80885
The file was modifiedllvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant.ll (diff)
Commit 2e4c5d1c483a986dbb3fc6486bdb2f0eb2adc8c8 by aschwaighofer
CoroSplit: Fix coroutine splitting for retcon and retcon.once

Summary:
For retcon and retcon.once coroutines we assume that all uses of spills
can be sunk past coro.begin. This simplifies handling of instructions
that escape the address of an alloca.

The current implementation would have issues if the address of the
alloca is escaped before coro.begin. (It also has issues with casts before and
uses of those casts after the coro.begin instruction)

  %alloca_addr = alloca ...
  %escape  = ptrtoint %alloca_addr
  coro.begin
  store %escape to %alloca_addr

rdar://60272809

Subscribers: hiraditya, modocache, mgrang, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81023
The file was addedllvm/test/Transforms/Coroutines/coro-retcon-frame.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp (diff)
Commit 9cb2badc596497f49ec2631bb5b8a2300656e75c by Saleem Abdulrasool
lld: use `std::make_unique` (NFC)

The LLVM code base already uses C++14, use std::make_unique
to avoid the explicit constructor invocation via new and to avoid
spelling out the type twice.
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp (diff)
Commit a3fcd6476a4e4270ea19137656d94d395d303349 by flo
[AArch64] Fix stp-opt-with-renaming-ld3.mir with expensive checks.

Unconditionally use -verify-machineinstrs and XFAIL the test until
fixed.
The file was modifiedllvm/test/CodeGen/AArch64/stp-opt-with-renaming-ld3.mir (diff)
Commit 7822b8a817d85827110f3047f4ec63f6825743a4 by Vedant Kumar
[lldb/StringPrinter] Convert DecodedCharBuffer to a class, NFC

The m_size and m_data members of DecodedCharBuffer are meant to be
private.
The file was modifiedlldb/source/DataFormatters/StringPrinter.cpp (diff)
Commit 4699a7e23010b7c0df49b64f8bea63919825a787 by Vedant Kumar
[lldb/StringPrinter] Support strings with invalid utf8 sub-sequences

Support printing strings which contain invalid utf8 sub-sequences, e.g.
strings like "hello world \xfe", instead of bailing out with "Summary
Unavailable".

I took the opportunity here to delete some hand-rolled utf8 -> utf32
conversion code and replace it with calls into llvm's Support library.

rdar://61554346
The file was modifiedlldb/source/DataFormatters/StringPrinter.cpp (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp (diff)
The file was modifiedlldb/unittests/DataFormatter/StringPrinterTests.cpp (diff)
Commit a23d0a06d4b7996a86c3d1a7e47a4e56d6181b10 by Raphael Isemann
[lldb][NFC] Fix documentation formatting in ASTResultSynthesizer

This comment apparently didn't survive the great LLDB reformatting unharmed.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp (diff)
Commit 3a1b07506c1fc6e6aee528289341aa0d0d806814 by vyacheslav.p.zakharin
Define __SPIR__ macro for spir/spir64 targets.

Differential Revision: https://reviews.llvm.org/D80655
The file was modifiedclang/lib/Basic/Targets/SPIR.cpp (diff)
The file was modifiedclang/test/Preprocessor/predefined-macros.c (diff)
Commit 6a0484f04b628870fb7cd0757a72d73294ff5346 by mydeveloperday
[clang-format] [PR46159] Linux kernel 'C' code uses 'try' as a variable name, allow clang-format to handle such cases

Reviewed By: curdeius

Differential Revision: https://reviews.llvm.org/D80940
The file was modifiedclang/lib/Format/FormatTokenLexer.h (diff)
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp (diff)
Commit 6de794e2074b8d0ceb6215f808fb788555fc683d by mydeveloperday
[clang-format] [PR46157] Wrong spacing of negative literals with use of operator

Summary:
see https://bugs.llvm.org/show_bug.cgi?id=46157

Reviewed By: curdeius

Differential Revision: https://reviews.llvm.org/D80933
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
The file was modifiedclang/lib/Format/TokenAnnotator.cpp (diff)
Commit 5b454b98d6488a27decbe7e21a361b2579376ec2 by jpienaar
[mlir] Remove unneeded inference trait/fns

Therse are all handled with the simple return type inference in ODS.
Also update some summaries to match what is recommended in ODS doc.
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td (diff)
Commit 7c1b060c3c65cac50edec5cceb6653957c344d96 by ditaliano
[IRInterpreter] Unused. Drive-by cleanup. NFCI.
The file was modifiedlldb/source/Expression/IRInterpreter.cpp (diff)
Commit 8bd7e4188a096b063065aac70ce39129c479f124 by tianshilei1992
Replace separator in OpenMP variant name mangling.

Summary:
Nvidia PTX does not allow `.` to appear in identifiers, so OpenMP variant mangling now uses `$` to separate segments of the mangled name for variants of functions declared via `declare variant`.

Reviewers: jdoerfert, Hahnfeld

Reviewed By: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, cfe-commits

Tags: #openmp, #clang

Differential Revision: https://reviews.llvm.org/D80439
The file was modifiedclang/include/clang/AST/Decl.h (diff)
The file was modifiedclang/lib/AST/OpenMPClause.cpp (diff)
The file was addedclang/test/OpenMP/nvptx_declare_variant_name_mangling.cpp
Commit ba6b1b4353e33a7a36bcbad1d1c1157826197fd2 by julian.lettner
[Darwin] Improve runtime OS version checks

Use a struct to represent numerical versions instead of encoding release
names in an enumeration. This avoids the need to extend the enumeration
every time there is a new release.

Rename `GetMacosVersion() -> GetMacosAlignedVersion()` to better reflect
how this is used on non-MacOS platforms.

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D79970
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.h (diff)
Commit a574edbba2b24fcfb733aa2d82308131f5b7d2d6 by Matthew.Arsenault
X86: Switch fastregalloc test to use generated checks
The file was modifiedllvm/test/CodeGen/X86/2010-06-28-FastAllocTiedOperand.ll (diff)
Commit 66251f7e1de79a7c1620659b7f58352b8c8e892e by Matthew.Arsenault
RegAllocFast: Record internal state based on register units

Record internal state based on register units. This is often more
efficient as there are typically fewer register units to update
compared to iterating over all the aliases of a register.

Original patch by Matthias Braun, but I've been rebasing and fixing it
for almost 2 years and fixed a few bugs causing intermediate failures
to make this patch independent of the changes in
https://reviews.llvm.org/D52010.
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr34592.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32241.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic32.ll (diff)
The file was modifiedllvm/test/DebugInfo/X86/op_deref.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/partial-sgpr-to-vgpr-spills.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/fast-isel-nontemporal.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic64.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr27591.ll (diff)
The file was modifiedllvm/lib/CodeGen/RegAllocFast.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/crash-O0.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr30813.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/2009-04-14-IllegalRegs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/extend-set-cc-uses-dbg.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/legalize-bitcast.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/addegluecrash.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/fast-isel-sp-adjust.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/atomic-min-max.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fptosi_and_fptoui.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/avx-load-store.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/regalloc-fast-missing-live-out-spill.mir (diff)
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-zext-bugfix.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/swifterror.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vcvt_f.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr44749.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32284.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/atomic.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fast-isel-conversion.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/swift-return.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/vsx.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32451.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr1489.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32340.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr32345.ll (diff)
The file was modifiedllvm/test/CodeGen/Mips/implicit-sret.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr30430.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fast-isel-conversion-fallback.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/pr39733.ll (diff)
Commit e636e6b79ac06b13059e46b49acb4d9de204c75b by kkleine
[clang-tidy]: Added modernize-replace-disallow-copy-and-assign-macro

Summary:
This check finds macro expansions of `DISALLOW_COPY_AND_ASSIGN(Type)` and
replaces them with a deleted copy constructor and a deleted assignment operator.

Before the `delete` keyword was introduced in C++11 it was common practice to
declare a copy constructor and an assignment operator as a private members. This
effectively makes them unusable to the public API of a class.

With the advent of the `delete` keyword in C++11 we can abandon the
`private` access of the copy constructor and the assignment operator and
delete the methods entirely.

Migration example:

```
lang=dif
class Foo {
  private:
  -  DISALLOW_COPY_AND_ASSIGN(Foo);
  +  Foo(const Foo &) = delete;
  +  const Foo &operator=(const Foo &) = delete;
  };
```

Reviewers: alexfh, hokein, aaron.ballman, njames93

Reviewed By: njames93

Subscribers: Eugene.Zelenko, mgorny, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D80531
The file was modifiedclang-tools-extra/clang-tidy/modernize/CMakeLists.txt (diff)
The file was addedclang-tools-extra/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst (diff)
The file was modifiedclang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp (diff)
The file was addedclang-tools-extra/docs/clang-tidy/checks/modernize-replace-disallow-copy-and-assign-macro.rst
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst (diff)
The file was addedclang-tools-extra/test/clang-tidy/checkers/modernize-replace-disallow-copy-and-assign-macro.cpp
The file was addedclang-tools-extra/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.cpp
Commit 900f78a714c583dd87432a9c89f6ccade8430fac by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from IR

Reviewers: efriedma, kmclaughlin, sdesmalen, dexonsmith, dblaikie

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80261
The file was modifiedllvm/include/llvm/IR/MatrixBuilder.h (diff)
The file was modifiedllvm/lib/IR/IRBuilder.cpp (diff)
The file was modifiedllvm/lib/IR/DataLayout.cpp (diff)
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp (diff)
The file was modifiedllvm/lib/IR/Core.cpp (diff)
The file was modifiedllvm/lib/IR/Constants.cpp (diff)
The file was modifiedllvm/lib/IR/ConstantFold.cpp (diff)
Commit d496437a0bfd6d135343026cdb7b6a69cb6af536 by sunfish
[WebAssembly] Add support for -mexec-model=reactor

This adds a -mexec-model= command-line flag. The default value is "command"
which is no change from the current behavior. The other option is "reactor"
which enables the WASI Reactor ABI:

https://github.com/WebAssembly/WASI/blob/master/design/application-abi.md

Differential Revision: https://reviews.llvm.org/D62922
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/test/Driver/wasm-toolchain.c (diff)
The file was modifiedclang/docs/ClangCommandLineReference.rst (diff)
Commit 7f50c15be5c020b2789f83dc3c87d28f8294664f by tlively
Reland "[WebAssembly] Eliminate range checks on br_tables"

This reverts commit 755a89591528b692315ad0325347e2fd4637271b.
Although I was not able to reproduce any test failures locally,
aheejin was able to reproduce them and found a fix, applied here.
The file was modifiedllvm/lib/Target/WebAssembly/CMakeLists.txt (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/stack-insts.ll (diff)
The file was addedllvm/test/CodeGen/WebAssembly/switch-unreachable-default.ll
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify.ll (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/indirectbr.ll (diff)
The file was addedllvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/switch.ll (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.h (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (diff)
Commit a946cb1813c228ac44a94e0ddf712258b9018ea9 by thakis
[gn build] Fix link with ld.bfd and gold.

lld's symbol resolution algorithm makes it not depend on
the order of object files and libraries, but ld.bfd and
gold require listing dependencies later on the link line.
Put {{libs}} after {{inputs}} so that e.g. -lpthreads
appears after the object files, not before it.

Differential Revision: https://reviews.llvm.org/D81035
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn (diff)
Commit dd863ccae1346a44e4380fb17d22ae7041fee898 by craig.topper
[X86] Separate X86_CPU_TYPE_COMPAT_WITH_ALIAS from X86_CPU_TYPE_COMPAT. NFC

Add a separate X86_CPU_TYPE_COMPAT_ALIAS that carries alias string
and the enum from X86_CPU_TYPE_COMPAT.
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
The file was modifiedclang/lib/Basic/Targets/X86.cpp (diff)
The file was modifiedllvm/include/llvm/Support/X86TargetParser.def (diff)
Commit 86fdfc104e411499f2dcc139336c3a4da65bf283 by llvmgnsyncbot
[gn build] Port 7f50c15be5c
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn (diff)
Commit 6cbccda89af63c797f6ce2211e91e8e6e53f2a7b by llvmgnsyncbot
[gn build] Port e636e6b79ac
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/modernize/BUILD.gn (diff)
Commit f4d427326539f007b05378eaf66018c10b651ad0 by jingham
Add a test for preserving state on the non-expr thread across expression evaluation.

There may be another test that tests this but I couldn't find one.
The file was addedlldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py
The file was addedlldb/test/API/functionalities/thread/state_after_expression/Makefile
The file was addedlldb/test/API/functionalities/thread/state_after_expression/main.cpp
Commit 9caa34a24cb7d20a129143281cc0e1b2f44bd95c by Jonas Devlieghere
[lldb/Test] Remove un(used|needed|maintained) files from lldbsuite.
The file was removedlldb/packages/Python/lldbsuite/test/lock.py
The file was removedlldb/packages/Python/lldbsuite/.clang-format
The file was removedlldb/packages/Python/lldbsuite/test/redo.py
Commit 5fa9c9d7f276b44b3da949382e0d0b5dbfd0ac8b by Jonas Devlieghere
[lldb/Test] Python <3.5 requires **kwargs to come last

Thanks Martin Böhme for pointing this out.
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py (diff)
Commit 6391da98f43a995fe3dfb96a5376b2d9c652ed87 by ajcbik
[mlir] [VectorOps] Use 'vector.flat_transpose' for 2-D 'vector.tranpose'

Summary:
Progressive lowering of vector.transpose into an operation that
is closer to an intrinsic, and thus the hardware ISA. Currently
under the common vector transform testing flag, as we prepare
deploying this transformation in the LLVM lowering pipeline.

Reviewers: nicolasvasilache, reidtatge, andydavis1, ftynse

Reviewed By: nicolasvasilache, ftynse

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits

Tags: #llvm, #mlir

Differential Revision: https://reviews.llvm.org/D80772
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td (diff)
The file was addedmlir/test/Dialect/Vector/vector-flat-transforms.mlir
The file was modifiedmlir/test/Dialect/Vector/vector-contract-transforms.mlir (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp (diff)
Commit 49cbe56a657b91e612f8305e7f8f9119ffe84378 by kadircet
[clangd] Fix forgotten propagation of AsnycPreamble flag
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp (diff)
Commit cc11ceda165b5ba0a87e812fbd6ed1bce4fefd2f by hanchung
[mlir][Linalg] Add support for fusion between indexed_generic ops and generic ops on tensors.

Summary:
Different from the fusion between generic ops, indices are involved. In this
context, we need to re-map the indices for producer since the fused op is built
on consumer's perspective. This patch supports all combination of the fusion
between indexed_generic ops and generic ops, which includes tests case:
  1) generic op as producer and indexed_generic op as consumer.
  2) indexed_generic op as producer and generic op as consumer.
  3) indexed_generic op as producer and indexed_generic op as consumer.

Differential Revision: https://reviews.llvm.org/D80347
The file was modifiedmlir/test/Dialect/Linalg/fusion-tensor.mlir (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp (diff)
Commit 27fca57546c2828e2684c02b7aa677cbd6603bfd by hanchung
[mlir][Linalg] Add support for fusion between indexed_generic ops and tensor_reshape ops

Summary:
The fusion for tensor_reshape is embedding the information to indexing maps,
thus the exising pattenr also works for indexed_generic ops.

Depends On D80347

Differential Revision: https://reviews.llvm.org/D80348
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp (diff)
The file was modifiedmlir/test/Dialect/Linalg/fusion-tensor.mlir (diff)
Commit 0e7c77053f560d391fecbec5d5e0e42082865c8a by listmail
Introduce a "gc-live" bundle for the gc arguments of a statepoint

Currently, gc.relocates are defined in terms of indices into the statepoint's operand list. Given the gc args are at the end of a variable length list of operands, this makes interpreting their indices by hand a tad challenging. We can simplify the statepoint sequence and improve readability quite a bit by pulling these new operands into their own named operand bundle.

This patch defines a new operand bundle tag "gc-live". The semantics of the bundle are the same as the existing gc arguments of a statepoint. This patch simply introduces the definition and codegen for the bundle, future patches will migrate RS4GC to emitting the new form.

Interestingly, with this done and the recent migration to using deopt and gc-transition bundles, we really don't have much left in the statepoint itself. It really looks like the existing ID and flags fields are redundant; we have (existing!) attributes for all of them. I think we'll be able to reduce the gc.statepoint signature to simply a wrapped call (e.g. actual target and actual arguments).

Differential Revision: https://reviews.llvm.org/D80937
The file was modifiedllvm/lib/IR/LLVMContext.cpp (diff)
The file was addedllvm/test/CodeGen/X86/statepoint-gc-live.ll
The file was modifiedllvm/include/llvm/IR/LLVMContext.h (diff)
The file was modifiedllvm/docs/Statepoints.rst (diff)
The file was modifiedllvm/docs/LangRef.rst (diff)
The file was modifiedllvm/include/llvm/IR/Statepoint.h (diff)
The file was modifiedllvm/lib/IR/Verifier.cpp (diff)
The file was modifiedllvm/test/Bitcode/operand-bundles-bc-analyzer.ll (diff)
Commit 0b025d2733d02a8080f38d767cceab4812c5d6e2 by hanchung
[mlir][StandardToSPIRV] Handle i1 case for lowering std.zexti to SPIR-V.

Differential Revision: https://reviews.llvm.org/D80965
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir (diff)
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp (diff)