Changes

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

Summary

  1. [DAG] Create fptoui.sat from clamped fptosi (details)
  2. [JITLink][ELF][x86-64] Adjust addends for R_X86_64_PLT32 relocations. (details)
  3. [MemoryLocation] Use getForArgument in getForSource/getForDest. (NFC) (details)
  4. [X86][FP16] Replace vXi16 to vXf16 instead of v8f16 (details)
  5. Reland [DwarfDebug] Move emission of global vars, types and imports to endModule() (details)
  6. Reland [DwarfDebug] Support emitting function-local declaration for a lexical block (details)
  7. [VPlan] Separate ctors for VPWidenIntOrFpInduction. (NFC) (details)
  8. [libc++][ci] Disable generating debug information. (details)
  9. Microsoft's floating-point to_chars powered by Ryu and Ryu Printf (details)
  10. [gn build] (semiautomaticallly) port a8025e06fc0f (libc++ ryu) (details)
  11. Remove duplicate comment (details)
  12. Follow-up for D113741: fix DebugInfo/Generic/lexical_block_static.ll on MachO (details)
  13. [InstCombine] add tests for icmp with mul op with known bits; NFC (details)
  14. [InstSimplify] add/adjust tests for 'or' logic fold; NFC (details)
  15. [InstSimplify] fix logic fold of 'or' for vectors (details)
  16. [llvm] Use range-based for loops (NFC) (details)
  17. [libc++][doc] Update format implementation status. (details)
  18. [gn build] port a8025e06fc0f more (details)
  19. [libc++] Fix an include-guard comment. NFC. (details)
  20. [libc++] Add missing `#pragma GCC system_header` in a few headers. NFCI. (details)
  21. [libc++] Adjust space-alignment in module.modulemap. NFC. (details)
  22. Fix `-Wunused-variable` warning. NFC. (details)
  23. Fix TOSA verifier to emit verbose errors (details)
  24. Test commit to check access. (details)
  25. [CMake] Installable find modules for terminfo and libffi (details)
  26. [lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols (details)
Commit 57ff805a6da7a54434646af589455069459c667e by david.green
[DAG] Create fptoui.sat from clamped fptosi

As an extension to D111976, this converts clamp fptosi, clamped between
0 and (2^n)-1 to a fptoui.sat. This can greatly help on targets with
conversions that naturally saturate, such as Arm.

X86 disables the transform as some of the test cases increases in size.
A fptoui.sat necessitates a fp clamp without native support, so there is
little use in converting if the instruction is just going to be
expanded.

Differential Revision: https://reviews.llvm.org/D112428
The file was modifiedllvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/fpclamptosat.ll
The file was modifiedllvm/test/CodeGen/AArch64/fpclamptosat_vec.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/test/CodeGen/ARM/fpclamptosat.ll
The file was modifiedllvm/test/CodeGen/RISCV/fpclamptosat.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/fpclamptosat.ll
Commit 21562c03ed17ce288a0de095e0f2ae4f452d3359 by Lang Hames
[JITLink][ELF][x86-64] Adjust addends for R_X86_64_PLT32 relocations.

R_X86_64_PLT32 explicitly represents the '-4' PC-adjustment in the relocation's
addend, but JITLink's x86_64::Branch32PCRel includes the PC-adjustment
implicitly. We have been zeroing the addend to account for the difference, but
this breaks for branches to non-zero offsets past labels. This patch updates the
relocation parsing code to unconditionally adjust the offset by '+4' instead.
For branches directly to labels the result is still 0, for branches to offsets
past labels the result is the correct addend for x86_64::Branch32PCRel.
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/ELF_x86-64_small_pic_relocations.s
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
Commit 203f29b40ca3a248307ab75af04577f10173591f by flo
[MemoryLocation] Use getForArgument in getForSource/getForDest. (NFC)

getForArgument already knows how to extract a memory location for all
memory intrinsics. Use it instead of duplicating the logic.
The file was modifiedllvm/lib/Analysis/MemoryLocation.cpp
Commit f37d9b41122292d6758eef489af677ea1afa9436 by phoebe.wang
[X86][FP16] Replace vXi16 to vXf16 instead of v8f16

Fixes pr52561

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D114304
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512fp16-mov.ll
Commit 0ac75e82fff93a80ca401d3db3541e8d1d9098f9 by kbessonova
Reland [DwarfDebug] Move emission of global vars, types and imports to endModule()

This patch proposes to move emission of global variables, types,
imported entities, etc from DwarfDebug::beginModule() to DwarfDebug::endModule().
Effectively, this changes nothing but the order of debug entities which
will be as follows:
* subprograms (including related context, local variables/labels,
  local imported entities; related types can be created as a part of
  the emission of local entities of an abstract subprogram);
* global variables (including related context and types);
* retained types and enums;
* non-local-scoped imported entities;
* basic types;
* other types left (as a part of local variables attributes emission).

Note that the order of emitted compile units may also be changed as now we emit
units that contain subprograms first and then all other non-empty units.

The motivation behind this change is the following:
(1) DwarfDebug::beginModule() is run at the very beginning of backend's pipeline,
    from this time IR can be significantly changed by target-specific passes.
    If it happens for debug metadata of global entities, those changes will not
    be reflected in the emitted DWARF.
(2) imported subprogram names should refer to an abstract subprogram if it exists,
    but it isn't known in DwarfDebug::beginModule() (it's possible to make some
    guesses based on location info, but it's not quite reliable);
(3) aforementioned entities if they are scoped within a bracketed block
    (subject of D113741) couldn't be emitted in DwarfDebug::beginModule()
    (they need parent emitted first). Another problem is if to try to gather
    some information about local entities and defer their emission
    (till subprogram's processing or DwarfDebug::endModule()) all the gathered
    details might be irrelevant / invalid by the time the entities are being
    emitted (because of (1)).

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114705
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-DIImportedEntity_elements.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-loc-offset.mir
The file was modifiedllvm/test/MC/WebAssembly/debug-info64.ll
The file was modifiedllvm/test/DebugInfo/X86/align_objc.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarf-linkage-names.ll
The file was modifiedllvm/test/DebugInfo/X86/tls.ll
The file was modifiedllvm/test/DebugInfo/Generic/enum-types.ll
The file was modifiedllvm/test/DebugInfo/X86/align_cpp11.ll
The file was modifiedllvm/test/DebugInfo/MIR/AArch64/implicit-def-dead-scope.mir
The file was modifiedllvm/test/DebugInfo/X86/containing-type-extension-rust.ll
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
The file was modifiedllvm/test/DebugInfo/X86/vla-global.ll
The file was modifiedllvm/test/DebugInfo/X86/linkage-name.ll
The file was modifiedllvm/test/DebugInfo/Generic/namespace.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-addr-class.ll
The file was modifiedllvm/test/DebugInfo/X86/subprogram-across-cus.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
The file was modifiedllvm/test/DebugInfo/X86/generate-odr-hash.ll
The file was modifiedllvm/test/DebugInfo/X86/sret.ll
The file was modifiedllvm/test/DebugInfo/PowerPC/strict-dwarf.ll
The file was modifiedllvm/test/DebugInfo/X86/namelist1.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-info-static-member.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
The file was modifiedlld/test/wasm/debuginfo.test
The file was modifiedllvm/test/DebugInfo/Generic/debug-info-qualifiers.ll
The file was modifiedllvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll
The file was modifiedllvm/test/DebugInfo/X86/dwarf-aranges.ll
The file was modifiedllvm/test/MC/WebAssembly/dwarfdump64.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-info-blocks.ll
The file was modifiedllvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/DW_AT_calling-convention.ll
The file was modifiedllvm/test/DebugInfo/Generic/varargs.ll
The file was modifiedllvm/test/DebugInfo/X86/gnu-public-names.ll
The file was modifiedllvm/test/DebugInfo/X86/template.ll
The file was modifiedllvm/test/DebugInfo/AMDGPU/variable-locations.ll
The file was modifiedllvm/test/MC/WebAssembly/dwarfdump.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-info.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-info-access.ll
The file was modifiedllvm/test/DebugInfo/X86/arange-and-stub.ll
The file was modifiedllvm/test/DebugInfo/Generic/debug-names-linkage-name.ll
The file was modifiedllvm/test/DebugInfo/BPF/extern-void.ll
The file was modifiedllvm/test/DebugInfo/X86/lexical-block-file-inline.ll
The file was modifiedllvm/test/DebugInfo/attr-btf_tag.ll
The file was modifiedllvm/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll
Commit 75b622a7959479ccdb758ebe0973061b7b4fcacd by kbessonova
Reland [DwarfDebug] Support emitting function-local declaration for a lexical block

This is another attempt to make function-local declarations
(like static variables, structs/classes and other) be correctly
emitted within a lexical (bracketed) block.

Fixes https://bugs.llvm.org/show_bug.cgi?id=19238.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D113741
The file was addedllvm/test/DebugInfo/Generic/inlined-local-type.ll
The file was modifiedllvm/test/DebugInfo/Generic/namespace.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
The file was addedllvm/test/DebugInfo/Generic/lexical_block_types.ll
The file was addedllvm/test/DebugInfo/Generic/import-inlined-declaration.ll
The file was modifiedllvm/test/DebugInfo/Generic/imported-name-inlined.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was addedllvm/test/DebugInfo/Generic/inlined-static-var.ll
The file was addedllvm/test/DebugInfo/Generic/lexical_block_static.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
Commit 7c3c352d82131b960726560869945201410f9eb7 by flo
[VPlan] Separate ctors for VPWidenIntOrFpInduction. (NFC)

VPWidenIntOrFpInductionRecipes can either be constructed with a PHI and
an optional cast or a PHI and a trunc instruction. Reflect this in 2
separate constructors. This also simplifies a follow-up change.
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Commit 15495be014032339600cda7770d7bf45dfb10d54 by koraq
[libc++][ci] Disable generating debug information.

In the bootstrap build generating debug information causes an ICE.
This is a work-around for llvm.org/PR52584
The file was modifiedlibcxx/utils/ci/run-buildbot
Commit a8025e06fc0f2fe1bbee9e1a6f15c336bfbdcb05 by koraq
Microsoft's floating-point to_chars powered by Ryu and Ryu Printf

Microsoft would like to contribute its implementation of floating-point to_chars to libc++. This uses the impossibly fast Ryu and Ryu Printf algorithms invented by Ulf Adams at Google. Upstream repos: https://github.com/microsoft/STL and https://github.com/ulfjack/ryu .

Licensing notes: MSVC's STL is available under the Apache License v2.0 with LLVM Exception, intentionally chosen to match libc++. We've used Ryu under the Boost Software License.

This patch contains minor changes from Jorg Brown at Google, to adapt the code to libc++. He verified that it works in Google's Linux-based environment, but then I applied more changes on top of his, so any compiler errors are my fault. (I haven't tried to build and test libc++ yet.) Please tell me if we need to do anything else in order to follow https://llvm.org/docs/DeveloperPolicy.html#attribution-of-changes .

Notes:

* libc++'s integer charconv is unchanged (except for a small refactoring). MSVC's integer charconv hasn't been tuned for performance yet, so you're not missing anything.
* Floating-point from_chars isn't part of this patch because Jorg found that MSVC's implementation (derived from our CRT's strtod) was slower than Abseil's. If you're unable to use Abseil or another implementation due to licensing or technical considerations, Microsoft would be delighted if you used MSVC's from_chars (and you can just take it, or ask us to provide a patch like this). Ulf is also working on a novel algorithm for from_chars.
* This assumes that float is IEEE 32-bit, double is IEEE 64-bit, and long double is also IEEE 64-bit.
* I have added MSVC's charconv tests (the whole thing: integer/floating from_chars/to_chars), but haven't adapted them to libcxx's harness at all. (These tests will be available in the microsoft/STL repo soon.)
* Jorg added int128 codepaths. These were originally present in upstream Ryu, and I removed them from microsoft/STL purely for performance reasons (MSVC doesn't support int128; Clang on Windows does, but I found that x64 intrinsics were slightly faster).
* The implementation is split into 3 headers. In MSVC's STL, charconv contains only Microsoft-written code. xcharconv_ryu.h contains code derived from Ryu (with significant modifications and additions). xcharconv_ryu_tables.h contains Ryu's large lookup tables (they were sufficiently large to make editing inconvenient, hence the separate file). The xmeow.h convention is MSVC's for internal headers; you may wish to rename them.
* You should consider separately compiling the lookup tables (see https://github.com/microsoft/STL/issues/172 ) for compiler throughput and reduced object file size.
* See https://github.com/StephanTLavavej/llvm-project/commits/charconv for fine-grained history. (If necessary, I can perform some rebase surgery to show you what Jorg changed relative to the microsoft/STL repo; currently that's all fused into the first commit.)

Differential Revision: https://reviews.llvm.org/D70631
The file was modifiedlibcxx/CREDITS.TXT
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_hex_precision_to_chars_test_cases.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/float_scientific_precision_to_chars_test_cases.hpp
The file was modifiedlibcxx/docs/Status/Cxx17Papers.csv
The file was addedlibcxx/src/ryu/d2fixed.cpp
The file was addedlibcxx/src/include/ryu/d2s_full_table.h
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/floating_point_test_cases.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_fixed_precision_to_chars_test_cases_2.hpp
The file was addedlibcxx/src/include/ryu/ryu.h
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/float_to_chars_test_cases.hpp
The file was modifiedlibcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.no_new_in_libcxx.abilist
The file was addedlibcxx/src/include/ryu/d2s.h
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/float_fixed_precision_to_chars_test_cases.hpp
The file was modifiedlibcxx/lib/abi/CHANGELOG.TXT
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_scientific_precision_to_chars_test_cases_3.hpp
The file was modifiedlibcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.no_new_in_libcxx.abilist
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_fixed_precision_to_chars_test_cases_1.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/float_hex_precision_to_chars_test_cases.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_fixed_precision_to_chars_test_cases_4.hpp
The file was modifiedlibcxx/src/charconv.cpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/test.hpp
The file was modifiedlibcxx/include/charconv
The file was addedlibcxx/src/include/ryu/d2fixed.h
The file was addedlibcxx/src/include/ryu/f2s.h
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_fixed_precision_to_chars_test_cases_3.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_scientific_precision_to_chars_test_cases_2.hpp
The file was addedlibcxx/src/include/ryu/digit_table.h
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_scientific_precision_to_chars_test_cases_4.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/test.pass.cpp
The file was addedlibcxx/src/include/ryu/common.h
The file was modifiedlibcxx/docs/Status/Cxx17.rst
The file was modifiedlibcxx/include/__availability
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/float_from_chars_test_cases.hpp
The file was modifiedlibcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.no_new_in_libcxx.abilist
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/test.cpp
The file was modifiedlibcxx/src/CMakeLists.txt
The file was addedlibcxx/src/ryu/f2s.cpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_scientific_precision_to_chars_test_cases_1.hpp
The file was addedlibcxx/src/ryu/d2s.cpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/float_general_precision_to_chars_test_cases.hpp
The file was addedlibcxx/src/include/ryu/d2s_intrinsics.h
The file was addedlibcxx/src/include/to_chars_floating_point.h
The file was addedlibcxx/src/ryu/README.txt
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_general_precision_to_chars_test_cases.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_from_chars_test_cases.hpp
The file was addedlibcxx/test/std/utilities/charconv/charconv.msvc/double_to_chars_test_cases.hpp
The file was addedlibcxx/src/include/ryu/d2fixed_full_table.h
Commit dfb68e49aa1a9a358cda3ad902acaf5e3f1c0241 by thakis
[gn build] (semiautomaticallly) port a8025e06fc0f (libc++ ryu)
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
Commit 3536e18a6c834e5d683792859ea97696c1205405 by koraq
Remove duplicate comment

The same comment appears in the very next line.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D115018
The file was modifiedlibcxx/include/__string
Commit 514d37441918dd04a2cd4f35c08959d7c3ff096d by kbessonova
Follow-up for D113741: fix DebugInfo/Generic/lexical_block_static.ll on MachO
The file was modifiedllvm/test/DebugInfo/Generic/lexical_block_static.ll
Commit dccddb268be8363b91157684be743807af746fce by spatel
[InstCombine] add tests for icmp with mul op with known bits; NFC

D114962
The file was modifiedllvm/test/Transforms/InstCombine/icmp-mul.ll
Commit 0bb8a97b41498860d60a06ad1df2758a36a580ca by spatel
[InstSimplify] add/adjust tests for 'or' logic fold; NFC

The last test shows a miscompile:
https://alive2.llvm.org/ce/z/s5xy55
The file was modifiedllvm/test/Transforms/InstSimplify/or.ll
Commit c65e651e6025dd04b69ea144a94962a5b4716681 by spatel
[InstSimplify] fix logic fold of 'or' for vectors

Reduce code duplication for commutative pattern matching
and fix a miscompile.

We can't safely propagate an undef element in this transform:
https://alive2.llvm.org/ce/z/s5xy55
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/or.ll
Commit 1457e7835202bece055210ccf3e21727d8c94753 by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
The file was modifiedllvm/lib/CodeGen/EarlyIfConversion.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
Commit 8783f53fb2112e359c8e951a1511ff58661c5f3e by koraq
[libc++][doc] Update format implementation status.
The file was modifiedlibcxx/docs/Status/FormatIssues.csv
The file was modifiedlibcxx/docs/Status/FormatPaper.csv
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/BUILD.gn
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/experimental/iterator
The file was modifiedlibcxx/include/compare
The file was modifiedlibcxx/include/ext/hash_set
The file was modifiedlibcxx/include/execution
The file was modifiedlibcxx/include/utility
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: https://reviews.llvm.org/D114327
The file was addedllvm/cmake/modules/FindTerminfo.cmake
The file was modifiedllvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was addedllvm/cmake/modules/FindFFI.cmake
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
runtime.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D115092
The file was modifiedlld/test/MachO/weak-definition-direct-fetch.s
The file was modifiedlld/MachO/SymbolTable.cpp