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


  1. [gn build] port a8025e06fc0f more (details)
  2. [libc++] Fix an include-guard comment. NFC. (details)
  3. [libc++] Add missing `#pragma GCC system_header` in a few headers. NFCI. (details)
  4. [libc++] Adjust space-alignment in module.modulemap. NFC. (details)
  5. Fix `-Wunused-variable` warning. NFC. (details)
  6. Fix TOSA verifier to emit verbose errors (details)
  7. Test commit to check access. (details)
  8. [CMake] Installable find modules for terminfo and libffi (details)
  9. [lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols (details)
  10. [GlobalISel] Allow DBG_VALUE to use undefined vregs before LiveDebugValues. (details)
Commit 14e7f5b05141a4a8beae29f5df869b778a0b31a6 by thakis
[gn build] port a8025e06fc0f more

src/ryu/*.cpp includes files relative to src, so src/ needs
to be passes as -I flag now.
The file was modifiedllvm/utils/gn/secondary/libcxx/src/
Commit 0b609efd4f91f85239ef6ac96291eebebfee1ef7 by arthur.j.odwyer
[libc++] Fix an include-guard comment. NFC.
The file was modifiedlibcxx/include/__iterator/next.h
Commit 413c3c4f810d276ae0e1568c96b8333a663a881c by arthur.j.odwyer
[libc++] Add missing `#pragma GCC system_header` in a few headers. NFCI.
The file was modifiedlibcxx/include/experimental/__memory
The file was modifiedlibcxx/include/utility
The file was modifiedlibcxx/include/compare
The file was modifiedlibcxx/include/execution
The file was modifiedlibcxx/include/experimental/iterator
The file was modifiedlibcxx/include/ext/hash_set
Commit 4c2fef74ddb08f4410b6ad73f903a9277f72eefd by arthur.j.odwyer
[libc++] Adjust space-alignment in module.modulemap. NFC.
The file was modifiedlibcxx/include/module.modulemap
Commit b6ccca217c35a95b8c2a337a7801b37cb23dbae2 by michael.hliao
Fix `-Wunused-variable` warning. NFC.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Commit afb0582325f4165c9aea8e3ed3ed451e577616e4 by joker.eph
Fix TOSA verifier to emit verbose errors

Also as a test for invalid ops which was missing.
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
The file was addedmlir/test/Dialect/Tosa/invalid.mlir
Commit 296ebeb808a71e44a64e0f805cffc6e3a3bf6182 by jackoalan
Test commit to check access.
The file was modifiedclang/lib/Driver/Driver.cpp
Commit b66339575a9b541e67ce5ad2ba7e88da07cf9305 by jackoalan
[CMake] Installable find modules for terminfo and libffi

Improves cross-distro portability of LLVM cmake package by resolving paths for
terminfo and libffi via import targets.

When LLVMExports.cmake is generated for installation, it contains absolute
library paths which are likely to be a common cause of portability issues. To
mitigate this, the discovery logic for these dependencies is refactored into
find modules which get installed alongside LLVMConfig.cmake. The result is
cleaner, cmake-friendly management of these dependencies that respect the
environment of the LLVM package importer.

Reviewed By: JDevlieghere

Differential Revision:
The file was addedllvm/cmake/modules/FindTerminfo.cmake
The file was addedllvm/cmake/modules/FindFFI.cmake
The file was modifiedllvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/cmake/modules/
Commit 1b44364714981017302f182583a43fda4d28e0eb by jezng
[lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols

We were fetching archive symbols too eagerly, bloating binary size as well as
just screwing up binaries that expected to look up certain symbols only at

Reviewed By: #lld-macho, oontvoo

Differential Revision:
The file was modifiedlld/test/MachO/weak-definition-direct-fetch.s
The file was modifiedlld/MachO/SymbolTable.cpp
Commit f108c7f59dfae5fafbb00fbdef7a0cd31826dcfc by jackoalan
[GlobalISel] Allow DBG_VALUE to use undefined vregs before LiveDebugValues.

Expanding on D109750.

Since `DBG_VALUE` instructions have final register validity determined in
`LDVImpl::handleDebugValue`, there is no apparent reason to immediately prune
unused register operands as their defs are erased. Consequently, this renders
`MachineInstr::eraseFromParentAndMarkDBGValuesForRemoval` moot; gaining a
substantial performance improvement.

The only necessary changes involve making relevant passes consider invalid
DBG_VALUE vregs uses as valid.

Reviewed By: MatzeB

Differential Revision:
The file was modifiedllvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/DeadMachineInstructionElim.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was addedllvm/test/MachineVerifier/verify-selected-dbg-undef-use.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.h
The file was addedllvm/test/CodeGen/X86/GlobalISel/x86-calllowering-dbg-trunc.ll
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h
The file was modifiedllvm/lib/CodeGen/MachineCombiner.cpp
The file was addedllvm/test/CodeGen/Generic/live-debug-vars-undef-use.mir
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was addedllvm/test/MachineVerifier/verify-regbankselected-dbg-undef-use.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXPeephole.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Combiner.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-readlane.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/uaddo-8-16-bits.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp