SuccessChanges

Summary

  1. deployed new mlir-nvidia image (details)
  2. [clangd-ubuntu-clang] increased RAM (details)
Commit 03210ece021604fc0f1c15cd35684056cf3203d1 by kuhnel
deployed new mlir-nvidia image
The file was modifiedbuildbot/google/terraform/deployment-mlir-nvidia-production.yaml (diff)
The file was modifiedbuildbot/google/docker/buildbot-mlir-nvidia/VERSION (diff)
Commit b7a5b46b65e71451e97d72a5eb331a1cc2f4a01f by kuhnel
[clangd-ubuntu-clang] increased RAM

This fixes the out of memory issues when building with TSAN enabled.
The file was modifiedbuildbot/google/terraform/main.tf (diff)

Summary

  1. Revert "Revert "Revert "Implement nullPointerConstant() using a better API.""" (details)
  2. [pp-trace] Fix test for OpenCL pragmas. (details)
  3. [LangRef] fix typo in assume bundle description; NFC (details)
  4. [clang][NFC] Reorder CXXCtorInitializer members (details)
  5. [Clang][OpenMP] Require CUDA 9.2+ for OpenMP offloading on NVPTX target (details)
  6. [LV] Directly use incoming value for single VPBlendRecipes. (details)
Commit 3b148d6f991181a1b8f089c4bc2126e1a6c1212d by goncharov.mikhail
Revert "Revert "Revert "Implement nullPointerConstant() using a better API."""

This reverts commit ba1d9546ee389ce1d2e8f353ae777a65f647d508.
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Commit b71add9777bed67e05206fa1fdb665f3e21a13ab by anastasia.stulova
[pp-trace] Fix test for OpenCL pragmas.

After updating clang driver to include standard
OpenCL headers implicitly, the output being checked
in the test does not match because the implicit
header contains other pragmas. The test does not
aim to use the header and therefore it has to be
updated passing '-cl-no-stdinc' command-line flag.

This fixes failing bots.
The file was modifiedclang-tools-extra/test/pp-trace/pp-trace-pragma-opencl.cpp
Commit b02bc0224a9f19c8b692f77c51e83cdb7c51a6e0 by spatel
[LangRef] fix typo in assume bundle description; NFC
The file was modifiedllvm/docs/LangRef.rst
Commit daeb70be0bd42fbed66c03b4c5f9940ffba88ce9 by n.james93
[clang][NFC] Reorder CXXCtorInitializer members

Swapping the order of Init and MemberOrEllipsisLocation removes 8 bytes (20%) of padding on 64bit builds.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D97191
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
Commit 76151acf893ac7bdaf460fdfe8a8494cf477157a by tianshilei1992
[Clang][OpenMP] Require CUDA 9.2+ for OpenMP offloading on NVPTX target

In current implementation of `deviceRTLs`, we're using some functions
that are CUDA version dependent (if CUDA_VERSION < 9, it is one; otheriwse, it
is another one). As a result, we have to compile one bitcode library for each
CUDA version supported. A worse problem is forward compatibility. If a new CUDA
version is released, we have to update CMake file as well.

CUDA 9.2 has been released for three years. Instead of using various weird tricks
to make `deviceRTLs` work with different CUDA versions and still have forward
compatibility, we can simply drop support for CUDA 9.1 or lower version. It has at
least two benifits:
- We don't need to generate bitcode libraries for each CUDA version;
- Clang driver doesn't need to search for the bitcode lib based on CUDA version.

We can claim that starting from LLVM 12, OpenMP offloading on NVPTX target requires
CUDA 9.2+.

Reviewed By: jdoerfert, JonChesterfield

Differential Revision: https://reviews.llvm.org/D97003
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was removedclang/test/Driver/Inputs/libomptarget/libomptarget-nvptx-cuda_80-sm_35.bc
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/test/Driver/openmp-offload-gpu.c
The file was addedclang/test/Driver/Inputs/libomptarget/libomptarget-nvptx-cuda_102-sm_35.bc
Commit c7ee57f1dccf965aa73ad708937443d649fbb0a7 by flo
[LV] Directly use incoming value for single VPBlendRecipes.

VPBlendRecipes with single incoming (value, mask) pair are no-ops. Use
the incoming value directly.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll