FailedChanges

Summary

  1. [CodeGen] improve coverage for float (32-bit) type of NAN; NFC (details)
  2. Revert "[OpenMP] Replace OpenMP RTL Functions With OMPIRBuilder and OMPKinds.def" (details)
  3. Add GDB prettyprinters for a few more MLIR types. (details)
  4. [mlir][vector] First step of vector distribution transformation (details)
  5. [NPM] Add target specific hook to add passes for New Pass Manager (details)
  6. [X86] Canonicalize (x > 1) ? x : 1 -> (x >= 1) ? x : 1 for sign and unsigned to enable the use of test instructions for the compare. (details)
  7. [asan][test] XFAIL Posix/no_asan_gen_globals.c on Solaris (details)
  8. [NFC] Fix spacing in clang/test/Driver/aix-ld.c (details)
  9. [flang] Fix descriptor-based array data item I/O for list-directed CHARACTER & LOGICAL (details)
Commit 81921ebc430536ae5718da70a54328c790c8ae19 by spatel
[CodeGen] improve coverage for float (32-bit) type of NAN; NFC

Goes with D88238
The file was modifiedclang/test/CodeGen/builtin-nan-exception.c
Commit 1b60f63e4fd041550019b692dc7bf490dce2c75c by jhuber6
Revert "[OpenMP] Replace OpenMP RTL Functions With OMPIRBuilder and OMPKinds.def"

Failing tests on Arm due to the tests automatically populating
incomatible pointer width architectures. Reverting until the tests are
updated. Failing tests:

OpenMP/distribute_parallel_for_num_threads_codegen.cpp
OpenMP/distribute_parallel_for_if_codegen.cpp
OpenMP/distribute_parallel_for_simd_if_codegen.cpp
OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
OpenMP/teams_distribute_parallel_for_if_codegen.cpp
OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp

This reverts commit 90eaedda9b8ef46e2c0c1b8bce33e98a3adbb68c.
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes.ll
Commit e9b38841619f20a6f4c8657880fd487083ba499a by csigg
Add GDB prettyprinters for a few more MLIR types.

Reviewed By: dblaikie, jpienaar

Differential Revision: https://reviews.llvm.org/D87159
The file was modifieddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
The file was modifieddebuginfo-tests/lit.site.cfg.py.in
The file was modifieddebuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
The file was modifieddebuginfo-tests/CMakeLists.txt
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/mlir-support.gdb
The file was modifieddebuginfo-tests/lit.cfg.py
The file was addedmlir/utils/gdb-scripts/prettyprinters.py
Commit dd14e5825209386129770296f9bc3a14ab0b4592 by thomasraoux
[mlir][vector] First step of vector distribution transformation

This is the first of several steps to support distributing large vectors. This
adds instructions extract_map and insert_map that allow us to do incremental
lowering. Right now the transformation only apply to simple pointwise operation
with a vector size matching the multiplicity of the IDs used to distribute the
vector.
This can be used to distribute large vectors to loops or SPMD.

Differential Revision: https://reviews.llvm.org/D88341
The file was addedmlir/test/Dialect/Vector/vector-distribution.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorTransforms.h
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
Commit ce5379f0f0675592fd10a522009fd5b1561ca72b by aeubanks
[NPM] Add target specific hook to add passes for New Pass Manager

The patch adds a new TargetMachine member "registerPassBuilderCallbacks" for targets to add passes to the pass pipeline using the New Pass Manager (similar to adjustPassManager for the Legacy Pass Manager).

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D88138
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
The file was addedllvm/test/CodeGen/Hexagon/registerpassbuildercallbacks.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.h
Commit d1d7fc98325d948bede85e6304c5ca93f79e050e by craig.topper
[X86] Canonicalize (x > 1) ? x : 1 -> (x >= 1) ? x : 1 for sign and unsigned to enable the use of test instructions for the compare.

This will be further canonicalized to a compare involving 0
which will enable the use of test instructions. Either using
cmovg for signed for cmovne for unsigned.

Fixes more case for PR47049
The file was modifiedllvm/test/CodeGen/X86/cmov.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8a1084a9486313e9f46e61ab69f80309c7050e1f by ro
[asan][test] XFAIL Posix/no_asan_gen_globals.c on Solaris

`Posix/no_asan_gen_globals.c` currently `FAIL`s on Solaris:

  $ nm no_asan_gen_globals.c.tmp.exe | grep ___asan_gen_
  0809696a r .L___asan_gen_.1
  0809a4cd r .L___asan_gen_.2
  080908e2 r .L___asan_gen_.4
  0809a4cd r .L___asan_gen_.5
  0809a529 r .L___asan_gen_.7
  0809a4cd r .L___asan_gen_.8

As detailed in Bug 47607, there are two factors here:

- `clang` plays games by emitting some local labels into the symbol
  table.  When instead one uses `-fno-integrated-as` to have `gas` create
  the object files, they don't land in the objects in the first place.
- Unlike GNU `ld`, the Solaris `ld` doesn't support support
  `-X`/`--discard-locals` but instead relies on the assembler to follow its
  specification and not emit local labels.

Therefore this patch `XFAIL`s the test on Solaris.

Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.

Differential Revision: https://reviews.llvm.org/D88218
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/no_asan_gen_globals.c
Commit ae4c400e02fc3f7cff11cc332e6b107353b3e6a2 by hubert.reinterpretcast
[NFC] Fix spacing in clang/test/Driver/aix-ld.c

Fix one line with mismatch in indentation after afc277b0ed0d.
The file was modifiedclang/test/Driver/aix-ld.c
Commit 0c3c8f4ae69a619efd8dc088e2572db172d40547 by pklausler
[flang] Fix descriptor-based array data item I/O for list-directed CHARACTER & LOGICAL

These types have to distinguish list-directed I/O from formatted I/O,
and the subscript incrementation call was in the formatted branch
of the if() rather than after the if().

Differential revision: https://reviews.llvm.org/D88606
The file was modifiedflang/runtime/descriptor-io.h
The file was modifiedflang/unittests/Runtime/hello.cpp