Changes

Summary

  1. Fix test that was never run. (details)
  2. [SVE] Add folds for sign and zero extends of vscale (details)
  3. [OpenCL] Add support of __opencl_c_pipes feature macro. (details)
  4. Add triples to try to fix a test (details)
  5. [X86] Add some initial tests for frozen constant folds (details)
  6. [Bazel] Typo fix (details)
  7. [OpenMP][Offloading] Remove task wait in nowait interfaces (details)
  8. [AIX] Pass the -b option to linker on AIX (with fix to build break) (details)
  9. [Transforms] Remove HasValueForBlock (NFC) (details)
  10. XFAIL a test on ppc64 (details)
  11. [mlir] Fully qualify MemoryEffects (details)
Commit e6620a351ecb87a75eca116399c5b359e3c63cc8 by paul.robinson
Fix test that was never run.

Commit 83df122 (r368334) added 'REQUIRES: linux' to this test, but
because triples are not respected by REQUIRES, that meant it was
invariably Unsupported.  The correct keyword would be 'system-linux'
(checking the host rather than the target).

Because the test was always skipped, commit 0cfd9e5 (r375439) did not
notice that the test modification was incorrect.

This patch corrects the REQUIRES clause and fixes the incorrect
previous patch.

Found after implementing https://reviews.llvm.org/D107162
The file was modifiedclang/test/Driver/as-no-warnings.c
Commit a7a39ec886a03cbf70ef187c49370f63514ae931 by Dylan.Fleming
[SVE] Add folds for sign and zero extends of vscale

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D105994
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was addedllvm/test/Transforms/InstCombine/vscale_sext_and_zext.ll
Commit acc58504952f0e2ca48a44d868f684e3b135dd34 by anton.zabaznov
[OpenCL] Add support of __opencl_c_pipes feature macro.

'pipe' keyword is introduced in OpenCL C 2.0: so do checks for OpenCL C version while
parsing and then later on check for language options to construct actual pipe. This feature
requires support of __opencl_c_generic_address_space, so diagnostics for that is provided as well.

This is the same patch as in D106748 but with a tiny fix in checking of diagnostic messages.
Also added tests when program scope global variables are not supported.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D107154
The file was modifiedclang/test/CodeGenOpenCL/pipe_builtin.cl
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Misc/opencl-c-3.0.incorrect_options.cl
The file was modifiedclang/lib/Basic/OpenCLOptions.cpp
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl2.0.cl
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/CodeGenOpenCL/address-spaces-mangling.cl
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
The file was modifiedclang/test/SemaOpenCL/storageclass.cl
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/CodeGenOpenCL/address-spaces.cl
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/test/CodeGenOpenCL/pipe_types_mangling.cl
The file was modifiedclang/test/CodeGenOpenCL/pipe_types.cl
Commit c0fa174d63ad68f290745aaa6600cede1ad0a25d by paul.robinson
Add triples to try to fix a test

Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/105/builds/13139
which provides no details about why it failed.
The file was modifiedclang/test/Driver/as-no-warnings.c
Commit 88be4039ba3afc9ec11dcfc9aeab02ce35013105 by llvm-dev
[X86] Add some initial tests for frozen constant folds

We currently handle scalar but not vector cases
The file was addedllvm/test/CodeGen/X86/freeze-constant-fold.ll
Commit c3f19804f39d834e773a77df303858bf7ed2c974 by gcmn
[Bazel] Typo fix

Reviewed By: GMNGeoffrey

Differential Revision: https://reviews.llvm.org/D107142
The file was modifiedutils/bazel/README.md
Commit 36d53af4a9c812e023fb6096072b906fcebf1abb by tianshilei1992
[OpenMP][Offloading] Remove task wait in nowait interfaces

All `nowait` series of interfaces in `libomptarget` accept four more arguments (`int32_t depNum, void *depList, int32_t noAliasDepNum, void *noAliasDepList`) compared with their counterparts w/o `nowait`. These extra arguments were expected for dependence resolution, potentially lowered to device side. Current implementation calls `libomp` function `__kmpc_omp_taskwait`. However, the front end simply ignores them, that these four arguments are not emitted at all. As a consequence, the `depNum` and `noAliasDepNum` are garbage, which could lead to unnecessary task wait.

Reviewed By: grokos

Differential Revision: https://reviews.llvm.org/D107164
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedopenmp/libomptarget/src/private.h
Commit aa35c496cf53627147f45adb84fc70ba4f81a38f by anjankumar.g.k
[AIX] Pass the -b option to linker on AIX (with fix to build break)

This patch will re-enable the patch posted under https://reviews.llvm.org/D106688 originally which was reverted due to buildbreak that was caused by mismatched diagnostic message arguments.

Reviewed By: Zarko Todorovski

Differential Revision: https://reviews.llvm.org/D107105
The file was modifiedclang/test/Driver/Xlinker-args.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit e76ddfa9ef718a8b9b13fb76ac8ee061015175c6 by kazu
[Transforms] Remove HasValueForBlock (NFC)

The function seems to be unused for at least one year.
The file was modifiedllvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h
The file was modifiedllvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
Commit 9ca905b52d53c46aceb4d28e44dfbf4a815d0c68 by paul.robinson
XFAIL a test on ppc64

Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/105/builds/13141
which provides no details about why it failed, but the only failure
reports are for ppc64 bots.
The file was modifiedclang/test/Driver/as-no-warnings.c
Commit 8a7b0dad9acea2b4ff29a7a8ec150cad922043e9 by markus.boeck02
[mlir] Fully qualify MemoryEffects

The effect name is used by tablegen when generating the getEffects method of the SideEffectInterfaces. It is currently unqualified even though the class is contained within the mlir namespace, leading to compiler errors when using namespace mlir; isn't used before including the generated cpp file.

This patch fixes that by simply fully qualifying the class name.

Differential Revision: https://reviews.llvm.org/D107171
The file was modifiedmlir/test/mlir-tblgen/op-side-effects.td
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td