SuccessChanges

Summary

  1. [clangd] Have template template arguments target their referenced template decl (details)
  2. [MLIR] Make gpu.launch_func rewrite pattern part of the LLVM lowering pass. (details)
  3. [BreakFalseDeps][X86] Move operand loop out of X86's getUndefRegClearance and put in the pass. (details)
  4. Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record (details)
  5. AMDGPU: Fix visiting physreg dest users when folding immediate copies (details)
  6. AMDGPU: Fix assertion in performSHLPtrCombine for 64-bit pointers (details)
Commit 70d583ad12872ef8714b15f1d1e982f1db6d9a15 by zeratul976
[clangd] Have template template arguments target their referenced template decl

Fixes https://github.com/clangd/clangd/issues/473

Differential Revision: https://reviews.llvm.org/D85503
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit 0d4b7adb8220f68f5eca08bb53d8af0b0d139c5d by csigg
[MLIR] Make gpu.launch_func rewrite pattern part of the LLVM lowering pass.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D85073
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
The file was modifiedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
Commit 96dfc783b2bf2eca9b01c6b2161a375cc3ea704d by craig.topper
[BreakFalseDeps][X86] Move operand loop out of X86's getUndefRegClearance and put in the pass.

X86 is the only user of this interface in tree. Previously the
X86 pass would loop over operands looking for one undef operand for
the pass to fix. But there could theoretically be multiple operands
to fix. So it makes more sense for the pass to do the looping and
ask the target if an operand needs to be fixed.
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
Commit a3036b386383f1c1e9d32c2c8dba995087959da3 by alexandre.ganea
Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record

This patch adds the missing information to the LF_BUILDINFO record, which allows for rebuilding a .CPP without any external dependency but the .OBJ itself (other than the compiler).

Some external tools that we are using (Recode, Live++) are extracting the information to reproduce a build without any knowledge of the build system. The LF_BUILDINFO stores a full path to the compiler, the PWD (CWD at program startup), a relative or absolute path to the TU, and the full CC1 command line. The command line needs to be freestanding (not depend on any environment variables). In the same way, MSVC doesn't store the provided command-line, but an expanded version (somehow their equivalent of CC1) which is also freestanding.

For more information see PR36198 and D43002.

Differential Revision: https://reviews.llvm.org/D80833
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedclang/cmake/caches/BaremetalARM.cmake
The file was modifiedlld/test/COFF/pdb-relative-source-lines.test
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedllvm/test/DebugInfo/COFF/types-basic.ll
The file was modifiedllvm/test/DebugInfo/COFF/build-info.ll
The file was modifiedllvm/test/DebugInfo/COFF/types-data-members.ll
The file was modifiedllvm/test/DebugInfo/COFF/global-type-hashes.ll
The file was modifiedclang/cmake/caches/CrossWinToARMLinux.cmake
The file was modifiedlld/test/COFF/Inputs/pdb_lines_2_relative.yaml
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
The file was addedlld/test/COFF/pdb-relative-source-lines2.test
The file was addedclang/test/CodeGen/debug-info-codeview-buildinfo.c
The file was modifiedlld/test/COFF/Inputs/pdb_lines_1_relative.yaml
Commit 68fab44acfc7ce7fecd86ad784fb207f088c5366 by Matthew.Arsenault
AMDGPU: Fix visiting physreg dest users when folding immediate copies

This can fold the immediate into the physical destination, but this
should not look for further users of the register. Fixes regression
introduced by 766cb615a3b96025192707f4670cdf171da84034.
The file was addedllvm/test/CodeGen/AMDGPU/visit-physreg-vgpr-imm-folding-bug.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
Commit 6fe6b29c294e8ad7eb9842e2a5e9b6334ecf9483 by Matthew.Arsenault
AMDGPU: Fix assertion in performSHLPtrCombine for 64-bit pointers
The file was addedllvm/test/CodeGen/AMDGPU/shl_add_ptr_global.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp