SuccessChanges

Summary

  1. [X86][SSE] Add tests for unpack(hop(),hop()) (details)
  2. [NFC] Renaming PackStack to AlignPackStack (details)
  3. [SLP][NFC]Add a test for reused shrink check, NFC. (details)
  4. [X86][SSE] Add vphaddd/vphsubd unpack(hop(),hop()) tests (details)
  5. [MLIR][OpenMP] Attribute to include WsLoop upperbound (details)
  6. [TableGen] Add the assert statement, step 1 (details)
  7. [ARM] Update and regenerate test checks. NFC (details)
  8. [WebAssembly] Rename wasm_rethrow_in_catch intrinsic/builtin (details)
  9. [TableGen] Remove unused declaration that caused build failures. (details)
  10. [mlir:JitRunner] Use custom shared library init/destroy functions if available (details)
  11. [ARM][LV] Additional loop invariant reduction test. NFC (details)
  12. [X86][SSE] Fold unpack(hop(),hop()) -> permute(hop()) (details)
Commit 7b9f541c1edb24a676508906cfbcaaf228cc6a2e by llvm-dev
[X86][SSE] Add tests for unpack(hop(),hop())

We should be able to convert these to permute(hop()) as we only ever use one of the ops from each hop.
The file was addedllvm/test/CodeGen/X86/horizontal-shuffle-2.ll
Commit e97071d7952068bbb5fee7bf9e46f304044d4aee by Xiangling.Liao
[NFC] Renaming PackStack to AlignPackStack

This patch renames PackStack and related variable names to also contain align across Clang.
As it is right now, Clang already uses one stack to record the information from both #pragma
align and #pragma pack. Leaving it as PackStack is confusing, and could cause people to
ignore #pragma align when developing code that interacts with PackStack.

Differential Revision: https://reviews.llvm.org/D93901
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/Sema/Inputs/pragma-align-pack1.h
The file was addedclang/test/Sema/misleading-pragma-align-pack-diagnostics.c
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 0e57084d0efaab215d67c81a4664e1ee0622d3f1 by a.bataev
[SLP][NFC]Add a test for reused shrink check, NFC.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder.ll
Commit 4a582d766ae40c8f624140c70b7122091d3a9b35 by llvm-dev
[X86][SSE] Add vphaddd/vphsubd unpack(hop(),hop()) tests
The file was modifiedllvm/test/CodeGen/X86/horizontal-shuffle-2.ll
Commit 268ff38a716157c362b8d463e2e5655f25972e42 by kiran.chandramohan
[MLIR][OpenMP] Attribute to include WsLoop upperbound

This patch adds an attribute `inclusive` which if present causes
the upperbound to be included in the loop iteration interval.

Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D94235
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
The file was modifiedmlir/test/Target/openmp-llvm.mlir
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit 6e2b6351d2cb1feaa88e6c92ba844ab48b4758f9 by paul
[TableGen] Add the assert statement, step 1

Differential Revision: https://reviews.llvm.org/D93911

This first step adds the assert statement and supports it at top level
and in record definitions. Later steps will support it in class
definitions and multiclasses.
The file was modifiedllvm/include/llvm/TableGen/Record.h
The file was modifiedllvm/lib/TableGen/TGParser.h
The file was modifiedllvm/lib/TableGen/TGLexer.h
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/lib/TableGen/TGLexer.cpp
The file was modifiedllvm/docs/TableGen/ProgRef.rst
The file was addedllvm/test/TableGen/assert.td
Commit 1ae762469fd11be0b5a10353281a8264ab97b166 by david.green
[ARM] Update and regenerate test checks. NFC
The file was modifiedllvm/test/CodeGen/ARM/indexed-mem.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-shrink-wrapping.ll
Commit 7be271537e97018c56a714a90106f1e25e32f4db by aheejin
[WebAssembly] Rename wasm_rethrow_in_catch intrinsic/builtin

`wasm_rethrow_in_catch` intrinsic and builtin are used in order to
rethrow an exception when the exception is caught but there is no
matching clause within the current `catch`. For example,
```
try {
  foo();
} catch (int n) {
  ...
}
```
If the caught exception does not correspond to C++ `int` type, it should
be rethrown. These intrinsic/builtin were renamed `rethrow_in_catch`
because at the time I thought there would be another intrinsic for C++'s
`throw` keyword, which rethrows an exception. It turned out that `throw`
keyword doesn't require wasm's `rethrow` instruction, so we rename
`rethrow_in_catch` to just `rethrow` here.

Reviewed By: dschuff, tlively

Differential Revision: https://reviews.llvm.org/D94038
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/exception.ll
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/wasmehprepare.ll
Commit d4f2fef7464eb2b8c2126c5b733eeb76ed9820f6 by paul
[TableGen] Remove unused declaration that caused build failures.
The file was modifiedllvm/lib/TableGen/TGParser.cpp
Commit 84dc9b451bfd62474f44dd1af0e4955a0110d523 by ezhulenev
[mlir:JitRunner] Use custom shared library init/destroy functions if available

Use custom mlir runner init/destroy functions to safely init and destroy shared libraries loaded by the JitRunner.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D94270
The file was modifiedmlir/lib/ExecutionEngine/AsyncRuntime.cpp
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was modifiedmlir/lib/ExecutionEngine/JitRunner.cpp
Commit a36a2864c0d4b89b66e0cdfde0f82d569a293e10 by david.green
[ARM][LV] Additional loop invariant reduction test. NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-reduction-types.ll
Commit 80dee7965dffdfb866afa9d74f3a4a97453708b2 by llvm-dev
[X86][SSE] Fold unpack(hop(),hop()) -> permute(hop())

UNPCKL/UNPCKH only uses one op from each hop, so we can merge the hops and then permute the result.
The file was modifiedllvm/test/CodeGen/X86/horizontal-shuffle-2.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp