FailedChanges

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

Summary

  1. [SVE][CodeGen] Legalisation of vsetcc with scalable types (details)
  2. DWARFLinkerDeclContext.h - fix implicit FileSystem.h dependency. NFC. (details)
  3. SanitizerCoverage.h - fix implicit VirtualFileSystem.h dependency. NFC. (details)
  4. [Transforms] Ensure we include CommandLine.h if we declare any cl::opt flags (details)
  5. [AArch64][SVE] ACLE: Add bfloat16 to struct load/stores. (details)
  6. Handle invalid types in the nullPointerConstant AST matcher (details)
  7. Add strcmp fuzz test. (details)
  8. [libc] Add fuzz test for strcmp. (details)
  9. [Analysis] Ensure we include CommandLine.h if we declare any cl::opt flags. NFC. (details)
  10. ModuleTest.cpp - fix implicit SourceMgr.h dependency. NFC. (details)
  11. llvm-dwp.cpp - fix implicit CommandLine.h dependency. NFC. (details)
  12. llvm-isel-fuzzer.cpp - fix implicit CommandLine.h dependency. NFC. (details)
  13. [DebugInfo][test] Attempt to fix big endian build bots (details)
  14. [DebugInfo/DWARF] - Do not hang when CFI are truncated. (details)
  15. [AMDGPU/MemOpsCluster] Compute `width` for `MIMG` instruction class. (details)
  16. [ARM] BFloat MatMul Intrinsics&CodeGen (details)
  17. DwarfGenerator.cpp - fix implicit FileSystem.h dependency. NFC. (details)
  18. ProfileSummaryInfoTest.cpp - fix implicit CommandLine.h dependency. NFC. (details)
  19. Add stddef.h to fix missing size_t type build errors. (details)
Commit 50805031740357e5c637f471fdc60237fbecbbc7 by kerry.mclaughlin
[SVE][CodeGen] Legalisation of vsetcc with scalable types

Summary: Changes SplitVecOp_VSETCC to use getVectorElementCount()

Reviewers: sdesmalen, efriedma, dancgr

Reviewed By: efriedma

Subscribers: david-arm, tschuett, hiraditya, rkruppe, psnobl, huihuiz, cfe-commits, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79167
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/test/CodeGen/AArch64/llvm-ir-to-intrinsic.ll
Commit 985cfadfc930a2f117d0bda6804e37fd9f8d11d7 by llvm-dev
DWARFLinkerDeclContext.h - fix implicit FileSystem.h dependency. NFC.

Was relying on other headers to define sys::fs::real_path for use in CachedPathResolver::resolve inlines
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
Commit fb99a09d7827fcb0384814f5580e1d91aa1a4c5c by llvm-dev
SanitizerCoverage.h - fix implicit VirtualFileSystem.h dependency. NFC.

Was relying on other headers to define vfs::getRealFileSystem() for use in inline functions
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h
Commit 36bc10e74aa83435f3fb44e1c55c384bf6adcc1a by llvm-dev
[Transforms] Ensure we include CommandLine.h if we declare any cl::opt flags
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit 121e585ec8aa5f973ea56807ed0a73f13ab4937e by sander.desmalen
[AArch64][SVE] ACLE: Add bfloat16 to struct load/stores.

This patch contains:
- Support in LLVM CodeGen for bfloat16 types for ld2/3/4 and st2/3/4.
- New bfloat16 ACLE builtins for svld(2|3|4)[_vnum] and svst(2|3|4)[_vnum]

Reviewers: stuij, efriedma, c-rhodes, fpetrogalli

Reviewed By: fpetrogalli

Tags: #clang, #lldb, #llvm

Differential Revision: https://reviews.llvm.org/D82187
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
The file was modifiedclang/include/clang/Basic/AArch64SVEACLETypes.def
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
The file was addedclang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
The file was modifiedclang/include/clang/Basic/arm_sve.td
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
Commit 8a9311940a26372dab6706edfd07288667394cfe by aaron
Handle invalid types in the nullPointerConstant AST matcher

Currently, using the nullPointerConstant AST matcher can lead to
assertions in situations where a node to be matched does not have a
valid type associated with it, such as a ParenListExpr. This patch
addresses that by saying such nodes cannot be a null pointer constant.
This addresses PR46353.
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/lib/AST/Expr.cpp
Commit 5540765be603676a6e93745bce0ca9f3cce3e6a0 by gyurgyikcp
Add strcmp fuzz test.
Reviewed-by: todo
Differential Revision: https://reviews.llvm.org/D82247
The file was modifiedlibc/fuzzing/string/CMakeLists.txt
The file was addedlibc/fuzzing/string/strcmp_fuzz.cpp
Commit 4ffe2b24f5c7a856e607370e1e559e4c94803809 by gyurgyikcp
[libc] Add fuzz test for strcmp.

Summary:
Adds a fuzz test for string comparison.

This takes in two strings with associated lengths.
Verifies each string contains at least one character, and that the last character is the null terminator.
Then, finds the first instance where one of the following does not hold:
1. i < min(size1, size2)
2. s1[i] == s2[i]
3. s1[i] != '\0'

The result of strcmp is then compared to the value of the difference between s1[i] and s2[i]. For thoroughness, the operands are reversed and also checked.

Reviewers: sivachandra, PaulkaToast

Reviewed By: sivachandra, PaulkaToast

Subscribers: mgorny, tschuett, ecnelises, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D82247
The file was modifiedlibc/fuzzing/string/strcmp_fuzz.cpp
Commit cdceef4a4f9cecf76c2c1f82bbdd1747fbfb75dc by llvm-dev
[Analysis] Ensure we include CommandLine.h if we declare any cl::opt flags. NFC.
The file was modifiedllvm/lib/Analysis/CaptureTracking.cpp
The file was modifiedllvm/lib/Analysis/InlineAdvisor.cpp
Commit 2013be483687583d63fc7daef3347eb9906b5584 by llvm-dev
ModuleTest.cpp - fix implicit SourceMgr.h dependency. NFC.

ModuleTest.cpp was depending on other headers to define SMDiagnostic.
The file was modifiedllvm/unittests/IR/ModuleTest.cpp
Commit e051187c540b479063911b581cbb5fdff5119a67 by llvm-dev
llvm-dwp.cpp - fix implicit CommandLine.h dependency. NFC.

llvm-dwp uses cl::opt + cl::list but don't include CommandLine.h.
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
Commit 36bab8484d6e681a6eb1522343b273e113503ffb by llvm-dev
llvm-isel-fuzzer.cpp - fix implicit CommandLine.h dependency. NFC.

llvm-isel-fuzzer uses cl::opt but don't include CommandLine.h.
The file was modifiedllvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
Commit 01fee8dce549a7c3787655c48a35ce22168d87e2 by james.henderson
[DebugInfo][test] Attempt to fix big endian build bots

Commit 9782c922c broke them since it prints raw bytes, whose order will
be different dependent on the endianness of the host.
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Commit 1e820e82b1438a52124512175a0e7c6f8d23e158 by grimar
[DebugInfo/DWARF] - Do not hang when CFI are truncated.

Currently when the .eh_frame section is truncated so that
CFI instructions can't be read, it is possible to enter
an infinite loop.

It happens because `CFIProgram::parse` does not handle errors properly.
This patch fixes the issue.

Differential revision: https://reviews.llvm.org/D82017
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp
Commit 5832950adbfcd7a5b16922a87a2cde257b7fac43 by mahesha.comp
[AMDGPU/MemOpsCluster] Compute `width` for `MIMG` instruction class.

Summary:
`width` computation is missing for newly added `MIMG`
instruction class. Add it.

Reviewers: foad, rampitec, arsenm

Reviewed By: foad

Subscribers: MatzeB, javed.absar, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81649
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/cluster_stores.ll
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 9c579540ff6945d126a680d01db38548db9a972d by mikhail.maltsev
[ARM] BFloat MatMul Intrinsics&CodeGen

Summary:
This patch adds support for BFloat Matrix Multiplication Intrinsics
and Code Generation from __bf16 to AArch32. This includes IR intrinsics. Tests are
provided as needed.

This patch is part of a series implementing the Bfloat16 extension of
the
Armv8.6-a architecture, as detailed here:

https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a

The bfloat type and its properties are specified in the Arm
Architecture
Reference Manual:

https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile

The following people contributed to this patch:

- Luke Geeson
- Momchil Velikov
- Mikhail Maltsev
- Luke Cheeseman
- Simon Tatham

Reviewers: stuij, t.p.northover, SjoerdMeijer, sdesmalen, fpetrogalli, LukeGeeson, simon_tatham, dmgreen, MarkMurrayARM

Reviewed By: MarkMurrayARM

Subscribers: MarkMurrayARM, danielkiss, kristof.beyls, hiraditya, cfe-commits, llvm-commits, chill, miyuki

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D81740
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/arm-bf16-dotprod-intrinsics.c
The file was modifiedllvm/lib/Target/ARM/ARMInstrNEON.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was addedllvm/test/CodeGen/ARM/arm-bf16-dotprod-intrinsics.ll
Commit 114d19eb3c77c6c99d44f7b3b1a0091128ee15a5 by llvm-dev
DwarfGenerator.cpp - fix implicit FileSystem.h dependency. NFC.
The file was modifiedllvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
Commit 5adf6a24e1c8bd977e1f589afbe5c3ee7e4510bb by llvm-dev
ProfileSummaryInfoTest.cpp - fix implicit CommandLine.h dependency. NFC.

ProfileSummaryInfoTest references cl::opt but don't include CommandLine.h.
The file was modifiedllvm/unittests/Analysis/ProfileSummaryInfoTest.cpp
Commit f1c671925b1c60ded3e4e7b3c6b1ec984b2d9b93 by llvm-dev
Add stddef.h to fix missing size_t type build errors.
The file was modifiedlibc/fuzzing/string/strcmp_fuzz.cpp