SuccessChanges

Summary

  1. [OpenMP] Fixing Typo in Documentation (details)
  2. [clang-format] PR48535 clang-format Incorrectly Removes Space After C Style Cast When Type Is Not a Pointer (details)
  3. [clang-format] PR48539 ReflowComments breaks Qt translation comments (details)
  4. [MLIR][SPIRV] Add rewrite pattern to convert select+cmp into GLSL clamp. (details)
Commit 6e603464959d43e0e430d0f8ac5522b073d68ba1 by jhuber6
[OpenMP] Fixing Typo in Documentation
The file was modifiedopenmp/docs/design/Runtimes.rst
Commit 5426b2f9ed9f6f3a3e1d6452325f7a49a5d08ec4 by mydeveloperday
[clang-format] PR48535 clang-format Incorrectly Removes Space After C Style Cast When Type Is Not a Pointer

https://bugs.llvm.org/show_bug.cgi?id=48535

using `SpaceAfterCStyleCast: true`

```
size_t idx = (size_t) a;
size_t idx = (size_t) (a - 1);
```

is formatted as:

```
size_t idx = (size_t) a;
size_t idx = (size_t)(a - 1);
```

This revision aims to improve that by improving the function which tries to identify a CastRParen

Reviewed By: curdeius

Differential Revision: https://reviews.llvm.org/D93626
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 031743cb5b3c6c2df85a67d8533ef72a95e76cdc by mydeveloperday
[clang-format] PR48539 ReflowComments breaks Qt translation comments

https://bugs.llvm.org/show_bug.cgi?id=48539

Add support for Qt Translator Comments to reflow

When reflown and a part of the comments are added on a new line, it should repeat these extra characters as part of the comment token.

Reviewed By: curdeius, HazardyKnusperkeks

Differential Revision: https://reviews.llvm.org/D93490
The file was modifiedclang/lib/Format/BreakableToken.cpp
The file was modifiedclang/unittests/Format/FormatTestComments.cpp
Commit 1d0dc9be6d72915d2bb632c7a46645289405dcbf by kareem.ergawy
[MLIR][SPIRV] Add rewrite pattern to convert select+cmp into GLSL clamp.

Adds rewrite patterns to convert select+cmp instructions into clamp
instructions whenever possible. Support is added to convert:

- FOrdLessThan, FOrdLessThanEqual to GLSLFClampOp.
- SLessThan, SLessThanEqual to GLSLSClampOp.
- ULessThan, ULessThanEqual to GLSLUClampOp.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D93618
The file was addedmlir/test/Dialect/SPIRV/Transforms/glsl_canonicalize.mlir
The file was addedmlir/lib/Dialect/SPIRV/IR/SPIRVGLSLCanonicalization.cpp
The file was addedmlir/test/lib/Dialect/SPIRV/TestGLSLCanonicalization.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.td
The file was addedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLCanonicalization.h
The file was modifiedmlir/lib/Dialect/SPIRV/IR/CMakeLists.txt
The file was modifiedmlir/test/lib/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp