Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [flang][driver] Add missing dependency in CMake files (details)
  2. [flang][NFC] Fix CMake variable name in (details)
  3. [clangd] Disable suffix matching fallback for C during include insertion (details)
  4. [clangd] Fix comment. NFC (details)
  5. [llvm-objcopy][MachO] Fix --add-section (details)
  6. [mlir] Stop allowing LLVMType Int arguments for GPULaunchFuncOp. (details)
Commit 2f90e01a963acc1a4db2fbdd1c7fcf1433955744 by andrzej.warzynski
[flang][driver] Add missing dependency in CMake files

The Flang driver depends on libclangBasic. This means, among other
things, that some of the tablegen files (e.g. diagnostic definitions)
need to be generated before various libclangBasic header files can be
included (e.g. DiagnosticIDs.h). If we are lucky, libclangBasic is
indeed built before various flang driver libraries that depend on it
are. This patch makes sure that this is deterministic - i.e.
libclangBasic is built before the Flang driver libraries are.

Differential Revision:
The file was modifiedflang/lib/FrontendTool/CMakeLists.txt
The file was modifiedflang/lib/Frontend/CMakeLists.txt
Commit 27da2875070ac00f6cd9f8040c6f994aca915406 by andrzej.warzynski
[flang][NFC] Fix CMake variable name in

The CMake variable for the new flang driver is FLANG_BUILD_NEW_DRIVER
The file was modifiedflang/
Commit 64168c6d996b6fdd017488785e0e9ce5ce05be54 by kadircet
[clangd] Disable suffix matching fallback for C during include insertion

Clangd currently doesn't respect language and breaks the builds with
include insertion for C. This patch aims to stop the bleeding by not mapping
back to CPP standard library headers.


Differential Revision:
The file was modifiedclang-tools-extra/clangd/unittests/CanonicalIncludesTests.cpp
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp
Commit 98756d865b696bece858ff0832ed3687b6b8ba4b by sam.mccall
[clangd] Fix comment. NFC
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit e60a760b7da970b6eeabc26faa9e065ec7cec1a8 by alexshap
[llvm-objcopy][MachO] Fix --add-section

This diff fixes --add-section functionality and simplifies the tests organization.

Test plan: make check-all

Differential revision:
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-64.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-32.test
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-error.test
The file was removedllvm/test/tools/llvm-objcopy/MachO/add-section.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit 56ffb8d1697932c1097fba3315dba6d9e55b7bb8 by pifon
[mlir] Stop allowing LLVMType Int arguments for GPULaunchFuncOp.

Conversion to LLVM becomes confusing and incorrect if someone tries to lower
STD -> LLVM and only then GPULaunchFuncOp to LLVM separately. Although it is
technically allowed now, it works incorrectly because of the argument
promotion. The correct way to use this conversion pattern is to add to the
STD->LLVM patterns before running the pass.

Differential Revision:
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
The file was modifiedmlir/include/mlir/Dialect/GPU/