Changes

Summary

  1. [libc] Disable linting on the full build builders. (details)
Commit 1212c7a0b71c043d1aee24dcc4169928d1c7858a by sivachandra
[libc] Disable linting on the full build builders.
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py (diff)

Summary

  1. Add modernize-use-default-member-init.UseAssignment to .clang-tidy (details)
  2. [Vectorize] Remove unused variables (NFC) (details)
  3. [Analysis] Use default member initialization (NFC) (details)
  4. Clang: Change the default DWARF version to 5 (details)
  5. Add missing function implementation from DWARF default change (details)
  6. [GlobalISel] Fold or of shifts with constant amount to funnel shift. (details)
  7. Rough guess at fixing lldb tests to handle Clang defaulting to DWARFv5 (details)
  8. [TSan] Mark test unsupported on Darwin (details)
  9. [RISCV] Initially support the K-extension instructions on the LLVM MC layer (details)
  10. [Target] Use range-based for loops (NFC) (details)
  11. [RISCV] Decouple Zve* extensions and the V extension. (details)
  12. [PowerPC] Emit warning for ieeelongdouble on older GNU toolchain (details)
  13. [clang-format] Remove unused assignment. NFC. (details)
Commit 943aa1bfacaa143ef98caa360bc98a648703ce2e by kazu
Add modernize-use-default-member-init.UseAssignment to .clang-tidy
The file was modified.clang-tidy
Commit f63a9cd99db79e0d79f03169a9fa8a1baad54f1f by kazu
[Vectorize] Remove unused variables (NFC)
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit b752eb887f7ef160e000c83e4c720d9ecb2bf620 by kazu
[Analysis] Use default member initialization (NFC)

Identified with modernize-use-default-member-init.
The file was modifiedllvm/include/llvm/Analysis/MemorySSA.h
The file was modifiedllvm/include/llvm/Analysis/LoopAnalysisManager.h
The file was modifiedllvm/lib/Analysis/LoopInfo.cpp
The file was modifiedllvm/lib/Analysis/CostModel.cpp
The file was modifiedllvm/include/llvm/Analysis/PHITransAddr.h
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysisEvaluator.h
The file was modifiedllvm/lib/Analysis/DivergenceAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h
The file was modifiedllvm/include/llvm/Analysis/DivergenceAnalysis.h
The file was modifiedllvm/include/llvm/Analysis/LoopAccessAnalysis.h
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h
The file was modifiedllvm/lib/Analysis/CaptureTracking.cpp
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/DependenceAnalysis.h
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/lib/Analysis/ReplayInlineAdvisor.cpp
The file was modifiedllvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
Commit d3b26dea16108c427b19b5480c9edc76edf8f5b4 by dblaikie
Clang: Change the default DWARF version to 5

(except on platforms that already opt in to specific versions - SCE,
Android, and Darwin using DWARFv4 explicitly, for instance)
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/test/Driver/ve-toolchain.cpp
The file was modifiedclang/test/Driver/ve-toolchain.c
The file was modifiedclang/test/CodeGen/dwarf-version.c
The file was modifiedclang/test/CodeGen/debug-info-extern-call.c
The file was modifiedclang/test/Driver/clang-g-opts.c
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Driver/ToolChains/Linux.h
Commit 90abe181da7c61d982e4873c97fd12bc06fefe09 by dblaikie
Add missing function implementation from DWARF default change

Fix for d3b26dea16108c427b19b5480c9edc76edf8f5b4
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit 68b70d17d8dea3fe9fa8e8f8bffd37bfe8125a65 by abinav.puthanpurayil
[GlobalISel] Fold or of shifts with constant amount to funnel shift.

This change folds (or (shl x, C0), (lshr y, C1)) to funnel shift iff C0
and C1 are constants where C0 + C1 is the bit-width of the shift
instructions.

Differential Revision: https://reviews.llvm.org/D116529
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-rev.ll
Commit 8b280df504b97a13d06a929fbc85348903456fdd by dblaikie
Rough guess at fixing lldb tests to handle Clang defaulting to DWARFv5
The file was modifiedlldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp
The file was modifiedlldb/test/API/functionalities/param_entry_vals/basic_entry_values/TestBasicEntryValues.py
Commit 1f4a0531b3fdb9b4747c155805393a91926fe058 by julian.lettner
[TSan] Mark test unsupported on Darwin
The file was modifiedcompiler-rt/test/tsan/vfork.cpp
Commit e29d8fb16978c463c7ea08cb255f5a97eca16d36 by 821408745
[RISCV] Initially support the K-extension instructions on the LLVM MC layer

This commit is currently implementing supports for scalar cryptography extension for LLVM according to version v1.0.0 of [K Ext specification](https://github.com/riscv/riscv-crypto/releases)(scala crypto has been ratified already). Currently, we are implementing the MC (Machine Code) layer of his extension and the majority of work is done under `llvm/lib/Target/RISCV` directory. There are also some test files in `llvm/test/MC/RISCV` directory.

Remove the subfeature of Zbk* which conflict with b extensions to reduce the size of the patch.
(Zbk* will be resubmit after this patch has been merged)

**Co-author:**@ksyx & @VincentWu & @lihongliang & @achieveartificialintelligence

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D98136
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
The file was modifiedllvm/test/CodeGen/RISCV/attributes.ll
The file was addedllvm/test/MC/RISCV/rv32zksed-invalid.s
The file was addedllvm/test/MC/RISCV/rv32zkne-only-invalid.s
The file was addedllvm/test/MC/RISCV/rv32zknh-valid.s
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedSiFive7.td
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was addedllvm/test/MC/RISCV/rv64zknd-only-valid.s
The file was addedllvm/test/MC/RISCV/rv64zkne-only-invalid.s
The file was addedllvm/test/MC/RISCV/rv32zknd-only-valid.s
The file was addedllvm/test/MC/RISCV/rv32zknh-only-valid.s
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVSystemOperands.td
The file was addedllvm/test/MC/RISCV/rv32zksed-valid.s
The file was addedllvm/test/MC/RISCV/rv64zknh-only-valid.s
The file was modifiedllvm/lib/Support/RISCVISAInfo.cpp
The file was addedllvm/test/MC/RISCV/rv32zknd-only-invalid.s
The file was addedllvm/test/MC/RISCV/rv32zksh-valid.s
The file was addedllvm/test/MC/RISCV/rv64zkne-only-valid.s
The file was addedllvm/test/MC/RISCV/rvk-user-csr-name.s
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedRocket.td
The file was addedllvm/test/MC/RISCV/rv32zkne-only-valid.s
The file was addedllvm/lib/Target/RISCV/RISCVInstrInfoZk.td
The file was modifiedllvm/test/MC/RISCV/attribute-arch.s
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.h
The file was addedllvm/test/MC/RISCV/rv64zksed-invalid.s
Commit bf039a8620f1779d02280cb0a33c4d818073623b by kazu
[Target] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
The file was modifiedllvm/lib/Target/VE/VEMCInstLower.cpp
The file was modifiedllvm/lib/Target/X86/X86PadShortFunction.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXImageOptimizer.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/Target/VE/LVLGen.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZPostRewrite.cpp
Commit ba16e3c31f66f02df08ec41394b765aa568a3107 by jacquesguan
[RISCV] Decouple Zve* extensions and the V extension.

According to the spec, there are some difference between V and Zve64d. For example, the vmulh integer multiply variants that return the high word of the product (vmulh.vv, vmulh.vx, vmulhu.vv, vmulhu.vx, vmulhsu.vv, vmulhsu.vx) are not included for EEW=64 in Zve64*, but V extension does support these instructions. So we should decouple Zve* extensions and the V extension.

Differential Revision: https://reviews.llvm.org/D117854
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp
The file was modifiedllvm/lib/Support/RISCVISAInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was modifiedllvm/test/CodeGen/RISCV/attributes.ll
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedllvm/test/MC/RISCV/attribute-arch.s
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was addedclang/test/CodeGen/RISCV/rvv-intrinsics/rvv-error.c
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.h
The file was modifiedclang/lib/Basic/Targets/RISCV.cpp
The file was modifiedclang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb-error.c
Commit c5590396d041e77a84101cdcc4249788403e4e40 by qiucofan
[PowerPC] Emit warning for ieeelongdouble on older GNU toolchain

GCC 12 should have proper support for IEEE-754 compliant 128-bit
floating point in libstdc++. So warning is needed when linking against
older libstdc++ versions or LLVM libc++.

Glibc starts supporting float128 in both header and libraries since
2.32.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D112906
The file was modifiedclang/lib/Driver/ToolChains/PPCLinux.h
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/lib/Driver/ToolChains/PPCLinux.cpp
The file was addedclang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-11.2.0/lib/gcc/powerpc64le-linux-gnu/11.2.0/.keep
The file was addedclang/test/Driver/ppc-float-abi-warning.cpp
Commit ea2112ea15a0f43cb469b29e00cda3d7a48ae875 by marek.kurdej+llvm.org
[clang-format] Remove unused assignment. NFC.

Fixes scan-build reported warning: https://llvm.org/reports/scan-build/report-QualifierAlignmentFixer.cpp-analyzeRight-55-191910.html#EndPath.
The file was modifiedclang/lib/Format/QualifierAlignmentFixer.cpp

Summary

  1. [libc] Disable linting on the full build builders. (details)
Commit 1212c7a0b71c043d1aee24dcc4169928d1c7858a by sivachandra
[libc] Disable linting on the full build builders.
The file was modifiedzorg/buildbot/builders/annotated/libc-linux.py