[all-commits] [llvm/llvm-project] 916766: [SLP] Fix REQUIRES line for failing tests (#106531)

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Aug 29 10:48:15 PDT 2024


  Branch: refs/heads/users/alexey-bataev/spr/slpbetter-cost-estimation-for-masked-gather-or-clustered-loads
  Home:   https://github.com/llvm/llvm-project
  Commit: 9167667b5c3cd1b166452c984f0c6448688c22a0
      https://github.com/llvm/llvm-project/commit/9167667b5c3cd1b166452c984f0c6448688c22a0
  Author: Elvina Yakubova <eyakubova at nvidia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/SLPVectorizer/alternate-cmp-swapped-pred-parent.ll
    M llvm/test/Transforms/SLPVectorizer/alternate-opcode-sindle-bv.ll
    M llvm/test/Transforms/SLPVectorizer/arith-div-undef.ll
    M llvm/test/Transforms/SLPVectorizer/bool-logical-op-reduction-with-poison.ll
    M llvm/test/Transforms/SLPVectorizer/buildvector-insert-mask-size.ll
    M llvm/test/Transforms/SLPVectorizer/buildvector-nodes-dependency.ll
    M llvm/test/Transforms/SLPVectorizer/call-arg-reduced-by-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/catchswitch.ll
    M llvm/test/Transforms/SLPVectorizer/crash_exceed_scheduling.ll
    M llvm/test/Transforms/SLPVectorizer/diamond_broadcast.ll

  Log Message:
  -----------
  [SLP] Fix REQUIRES line for failing tests (#106531)


  Commit: cb608cc5f62baa01fe106a14ef41971337c2c030
      https://github.com/llvm/llvm-project/commit/cb608cc5f62baa01fe106a14ef41971337c2c030
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    A clang/test/AST/ByteCode/cxx11-pedantic.cpp

  Log Message:
  -----------
  [clang][bytecode] Properly diagnose non-const reads (#106514)

If the global variable is constant (but not constexpr), we need to
diagnose, but keep evaluating.


  Commit: 25c9410fed7da0bc83bb0390f6e8d83470536fa0
      https://github.com/llvm/llvm-project/commit/25c9410fed7da0bc83bb0390f6e8d83470536fa0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll

  Log Message:
  -----------
  [InstCombine][X86] Add vpermilpd/vpermilps test coverage for #106413


  Commit: d57c04647e6f0a6f0cd79e280c257f570e8f30f4
      https://github.com/llvm/llvm-project/commit/d57c04647e6f0a6f0cd79e280c257f570e8f30f4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll

  Log Message:
  -----------
  [InstCombine][X86] Only demand used bits for VPERMILPD/VPERMILPS mask values

VPERMILPS lower bits0-3 (to index per-lane i32/f32 0-3)
VPERMILPD uses bit1  (to index per-lane i64/f64 0-1)

Use SimplifyDemandedBits to ignore anything touching the remaining bits.

Part of #106413


  Commit: 2a28df66dc3f7ff5b6233241837854acefb68d77
      https://github.com/llvm/llvm-project/commit/2a28df66dc3f7ff5b6233241837854acefb68d77
  Author: Hans <hans at hanshq.net>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/utils/release/build_llvm_release.bat

  Log Message:
  -----------
  Restrict LLVM_TARGETS_TO_BUILD in Windows release packaging (#106059)

When including all targets, some files become too large for the NSIS
installer to handle.

Fixes #101994


  Commit: b2a820faea960e99123f309d6a7bccb3cd1bcc12
      https://github.com/llvm/llvm-project/commit/b2a820faea960e99123f309d6a7bccb3cd1bcc12
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
    M lldb/test/API/tools/lldb-dap/launch/main.c

  Log Message:
  -----------
  [lldb][lldb-dap][test] Enable Launch tests

Add Windows include equivalents for includes and shell command.


  Commit: 0a484820e1d34b051831624cbe237bba578ac2d8
      https://github.com/llvm/llvm-project/commit/0a484820e1d34b051831624cbe237bba578ac2d8
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/docs/CodeOfConduct.rst

  Log Message:
  -----------
  Restore missing link in CodeOfConduct.rst (#106385)

Link restored from the original policy outlined here
https://discourse.llvm.org/t/code-of-conduct-changes-related-to-llvm-project-policy-changes/64197


  Commit: 73ef397fcba35b7b4239c00bf3e0b4e689ca0add
      https://github.com/llvm/llvm-project/commit/73ef397fcba35b7b4239c00bf3e0b4e689ca0add
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M libc/src/string/memory_utils/x86_64/inline_memcpy.h

  Log Message:
  -----------
  [libc][x86] Use prefetch for write for memcpy (#90450)

Currently when `LIBC_COPT_MEMCPY_X86_USE_SOFTWARE_PREFETCHING` is set we
prefetch memory for read on the source buffer. This patch adds prefetch
for write on the destination buffer.


  Commit: acff429191a27a164a0941346ce0c73e953d4638
      https://github.com/llvm/llvm-project/commit/acff429191a27a164a0941346ce0c73e953d4638
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
    M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp

  Log Message:
  -----------
  [include-cleaner] Mark RecordDecls referenced in UsingDecls as explicit (#106430)

We were reporting ambigious references from using declarations as user
can be depending on different overloads of a function just because they
are visible in the TU.
This doesn't apply to records, or primary templates as declaration being
referenced in such cases is unambigious, the ambiguity applies to
specializations though.

Hence this patch returns an explicit reference to record decls and
primary templates of those.


  Commit: 7955760bc82c792b84a4d97913f5b8e0f4902108
      https://github.com/llvm/llvm-project/commit/7955760bc82c792b84a4d97913f5b8e0f4902108
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/SparcInstrAliases.td
    M llvm/test/MC/Sparc/sparc-misc-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add `illtrap` alias for `unimp` (#105928)

This follows Solaris behavior of allowing both mnemonics all the time.

Fixes https://github.com/llvm/llvm-project/issues/105639.


  Commit: ba52a09abe3f3a2323dd7df3fe1739630e054077
      https://github.com/llvm/llvm-project/commit/ba52a09abe3f3a2323dd7df3fe1739630e054077
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/SCCP/pointer-nonnull.ll

  Log Message:
  -----------
  [IPSCCP] Add test for returning nonnull pointer (NFC)


  Commit: 43661a1214353ea1773a711f403f8d1118e9ca0f
      https://github.com/llvm/llvm-project/commit/43661a1214353ea1773a711f403f8d1118e9ca0f
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp

  Log Message:
  -----------
  [RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671)

Fix #105571 which demonstrates an end() iterator dereference when
performing a non-empty splice to end() from a region that ends at
Src::end().

Rather than calling Instruction::adoptDbgRecords from Dest, create a marker
(which takes an iterator) and absorbDebugValues onto that. The "absorb" variant
doesn't clean up the source marker, which in this case we know is a trailing
marker, so we have to do that manually.


  Commit: 1f8f2ed66ab742a1fbb4a84411e656cb8324e107
      https://github.com/llvm/llvm-project/commit/1f8f2ed66ab742a1fbb4a84411e656cb8324e107
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
    M llvm/test/CodeGen/AMDGPU/extract_vector_elt-i8.ll
    M llvm/test/CodeGen/AMDGPU/sminmax.v2i16.ll

  Log Message:
  -----------
  [NFC][AMDGPU] Autogenerate tests for uniform i32 promo in ISel (#106382)

Many tests were easy to update, but these are quite big and I think it's
better to autogenerate them to see the difference well.


  Commit: df11ee213e43ae373d1357939cf14ea37d547110
      https://github.com/llvm/llvm-project/commit/df11ee213e43ae373d1357939cf14ea37d547110
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/InterpBlock.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/test/AST/ByteCode/new-delete.cpp
    M clang/test/AST/ByteCode/unions.cpp

  Log Message:
  -----------
  [clang][bytecode] Diagnose member calls on deleted blocks (#106529)

This requires a bit of restructuring of ctor calls when checking for a
potential constant expression.


  Commit: c57abc66e223393cda27760e3f2409f4a1aa895e
      https://github.com/llvm/llvm-project/commit/c57abc66e223393cda27760e3f2409f4a1aa895e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll

  Log Message:
  -----------
  [LoopVectorize][X86] amdlibm-calls.ll - cleanup test checks for 2/4/8/16 vector widths

This cleans up the existing tests and shows the gaps in the test checks (for instance we're often testing VF4 + VF16 but not VF8 even though amdlibm supports it).


  Commit: 2f95298727bc9b682ad2d058119862ee8b0d8ec2
      https://github.com/llvm/llvm-project/commit/2f95298727bc9b682ad2d058119862ee8b0d8ec2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll

  Log Message:
  -----------
  [LoopVectorize][X86] amdlibm-calls.ll - add additional 2/4/8/16 vector widths test checks

This should cover most amdlibm functions, but still not added every VF combo (e.g. 2f32/16f64 often vectorises to the llvm intrinsic for that vector type)


  Commit: f7d6dfa005ac3d136e38658f25b8c54daa1ef08c
      https://github.com/llvm/llvm-project/commit/f7d6dfa005ac3d136e38658f25b8c54daa1ef08c
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/console/TestDAP_redirection_to_console.py
    M lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py

  Log Message:
  -----------
  [lldb][lldb-dap] Enable more tests on Windows

These few worked without changes.


  Commit: 56152fa377302fd8124e8be2a02dcb927a041f0a
      https://github.com/llvm/llvm-project/commit/56152fa377302fd8124e8be2a02dcb927a041f0a
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/CMakeLists.txt

  Log Message:
  -----------
  [Analysis] Guard logf128 cst folding (#106543)

LLVM has a CMake variable to control whether to consider logf128
constant folding which libAnalysis ignores. This patch changes the
logf128 check to rely on the global LLVM_HAS_LOGF128 setting made in
config-ix.cmake.


  Commit: 5fef40c2c477e92187bd4e5c18091eca6b8465cc
      https://github.com/llvm/llvm-project/commit/5fef40c2c477e92187bd4e5c18091eca6b8465cc
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/CodeGen/Thumb2/pr52817.ll
    M llvm/test/CodeGen/X86/fsafdo_test1.ll
    M llvm/test/CodeGen/X86/fsafdo_test4.ll
    M llvm/test/DebugInfo/MIR/X86/empty-inline.mir
    M llvm/test/DebugInfo/X86/discriminator.ll
    A llvm/test/DebugInfo/X86/is_stmt-at-block-start.ll

  Log Message:
  -----------
  Reapply "[DebugInfo][DWARF] Set is_stmt on first non-line-0 instruction in BB (#105524)"

Fixes the previous buildbot error by adding an explicit triple to the test,
ensuring that llc can produce a valid object file.

This reverts commit 926f0979af4f6172d4ed3dea5603aa97c800bef1.


  Commit: 8ae877a089d9c2ca5315d3b2e0144c4d9f82cf5c
      https://github.com/llvm/llvm-project/commit/8ae877a089d9c2ca5315d3b2e0144c4d9f82cf5c
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M flang/include/flang/Tools/TargetSetup.h
    M flang/module/ieee_arithmetic.f90
    M flang/test/CMakeLists.txt
    M flang/test/Evaluate/fold-out_of_range.f90
    M flang/test/Evaluate/folding07.f90
    M flang/test/Lower/Intrinsics/ieee_class_queries.f90
    M flang/test/Lower/Intrinsics/ieee_unordered.f90
    M flang/test/Lower/common-block.f90
    M flang/test/Semantics/kinds03.f90
    M flang/test/Semantics/modfile26.f90
    M flang/test/Semantics/realkinds-aarch64-01.f90
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in
    M flang/tools/f18/CMakeLists.txt

  Log Message:
  -----------
  Revert "[flang] Warn when F128 is unsupported" (#106561)

Reverts llvm/llvm-project#102147

It seems some systems which should support F128 are wrongly detected as
not supporting.

This might be due to checking `LDBL_MANT_DIG` instead of
`__LDBL_MANT_DIG__`. I will investigate.


  Commit: 9edd998e10fabfff067b9e6e5b044f85a24d0dd5
      https://github.com/llvm/llvm-project/commit/9edd998e10fabfff067b9e6e5b044f85a24d0dd5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    A llvm/test/Transforms/LoopUnroll/X86/runtime-unroll-addrec-cost.ll

  Log Message:
  -----------
  [LoopUnroll] Add test for #53205 (NFC)


  Commit: fc110202dffa06950716e0cc4535b07aaa2c439c
      https://github.com/llvm/llvm-project/commit/fc110202dffa06950716e0cc4535b07aaa2c439c
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M llvm/benchmarks/CMakeLists.txt
    A llvm/benchmarks/FormatVariadicBM.cpp
    M llvm/include/llvm/Support/FormatVariadic.h
    M llvm/lib/Support/FormatVariadic.cpp
    M llvm/unittests/Support/FormatVariadicTest.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  [Support] Validate number of arguments passed to formatv() (#105745)

Change formatv() to validate that the number of arguments passed matches
number of replacement fields in the format string, and that the replacement
indices do not contain holes.

To support cases where this cannot be guaranteed, introduce a formatv()
overload that allows disabling validation with a bool flag as its first argument.


  Commit: 025f03f01e8584140b7ac27422cea0c0ef7ef6c1
      https://github.com/llvm/llvm-project/commit/025f03f01e8584140b7ac27422cea0c0ef7ef6c1
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++][NFC] Remove unused struct in <string> (#106527)


  Commit: a705e8cb5b071b3bf6d1d55629f18f6b7b9699ac
      https://github.com/llvm/llvm-project/commit/a705e8cb5b071b3bf6d1d55629f18f6b7b9699ac
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M libcxx/include/cmath
    M libcxx/include/complex
    M libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Remove __constexpr_is{nan,finite} (#106205)

They're never used in `constexpr` functions, so we can simply use
`std::isnan` and `std::isfinite` instead.


  Commit: 032c3283ab419377a1230a32d98693b528f63134
      https://github.com/llvm/llvm-project/commit/032c3283ab419377a1230a32d98693b528f63134
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/TableGen/intrinsic-attrs.td
    M llvm/utils/TableGen/IntrinsicEmitter.cpp

  Log Message:
  -----------
  [NFC][TableGen] Refactor IntrinsicEmitter code (#106479)

- Use formatv() and raw string literals to simplify emission code.
- Use range based for loops and structured bindings to simplify loops.
- Use const Pointers to Records.
- Rename `ComputeFixedEncoding` to `ComputeTypeSignature` to reflect
  what the function actually does, cnd change it to return a vector.
- Use reverse() and range based for loop to pack 8 nibbles into 32-bits.
- Rename some variables to follow LLVM coding standards.
- For function memory effects, print human readable effects in comment.


  Commit: 4ee2ad259812159c4f51bf2d8edcf0376302b2c3
      https://github.com/llvm/llvm-project/commit/4ee2ad259812159c4f51bf2d8edcf0376302b2c3
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    R llvm/test/CodeGen/AArch64/atomicrmw-fadd-fp-vector.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fadd.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fmax.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fmin.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fsub.ll

  Log Message:
  -----------
  AArch64: Add tests for atomicrmw fp operations (#103701)

There were only codegen tests for the fadd vector case,
so round out the test coverage for the scalar cases
and all the other operations.


  Commit: 5048fabb0579f1417f69cde49221b5b9e9c15414
      https://github.com/llvm/llvm-project/commit/5048fabb0579f1417f69cde49221b5b9e9c15414
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/unittests/Support/FormatVariadicTest.cpp

  Log Message:
  -----------
  [Support] Delete FormatVariadicTest Validate sub-test (#106570)

- The subtest, if enabled correctly, will fail with assert in Debug
  builds and validation is disabled in Release builds.
- Hence deleting the test to fix test failures in CI.


  Commit: 26c3a8404f1b3327a0982faeeaee94b08d1ee481
      https://github.com/llvm/llvm-project/commit/26c3a8404f1b3327a0982faeeaee94b08d1ee481
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/atomicrmw-fadd.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fmax.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fmin.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fsub.ll

  Log Message:
  -----------
  AArch64: Use consistent atomicrmw expansion for FP operations (#103702)

Use LLSC or cmpxchg in the same cases as for the unsupported
integer operations. This required some fixups to the LLSC
implementatation to deal with the fp128 case.

The comment about floating-point exceptions was wrong,
because floating-point exceptions are not really exceptions at all.


  Commit: b5a1b45fe321cdf57d1b6155ecbbc18b6f95502f
      https://github.com/llvm/llvm-project/commit/b5a1b45fe321cdf57d1b6155ecbbc18b6f95502f
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Early return in getReorderingData [nfc]


  Commit: a9ffb719bc323588b6b60fbf227db8104a81310e
      https://github.com/llvm/llvm-project/commit/a9ffb719bc323588b6b60fbf227db8104a81310e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/bfloat-arith.ll
    M llvm/test/CodeGen/RISCV/half-arith-strict.ll
    M llvm/test/CodeGen/RISCV/half-arith.ll
    M llvm/test/CodeGen/RISCV/half-bitmanip-dagcombines.ll
    M llvm/test/CodeGen/RISCV/half-intrinsics.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll

  Log Message:
  -----------
  [RISCV] Don't promote f16 FNEG/FABS with Zfhmin/Zhinxmin. (#106474)

fneg/fabs are not supposed to canonicalize nans. Promoting to f32 will
go through an fp_extend which will canonicalize. The generic Promote
handler needs to be removed from LegalizeDAG.

We need to use integer bit manip to clear the bit instead.

Unfortunately, this is going through the stack due to i16 not being a
legal type. Fixing that will require custom legalization or some other
generic SelectionDAG change.


  Commit: e05c22484efb5c767115525adfa4273e48b1ae26
      https://github.com/llvm/llvm-project/commit/e05c22484efb5c767115525adfa4273e48b1ae26
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/atomicrmw-fmax.ll
    M llvm/test/CodeGen/AArch64/atomicrmw-fmin.ll

  Log Message:
  -----------
  AArch64: Delete tests of fp128 atomicrmw fmin/fmax

These are getting different output on some build hosts for some reason.
The stack offsets of temporaries are different.


  Commit: c08c6a71cfc536e22fb7ad733fb8181a9e84e62a
      https://github.com/llvm/llvm-project/commit/c08c6a71cfc536e22fb7ad733fb8181a9e84e62a
  Author: Hongtao Yu <hoy at meta.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/test/Dialect/SCF/loop-unroll.mlir

  Log Message:
  -----------
  [mlir][scf] Allow unrolling loops with integer-typed IV. (#106164)

SCF loops now can operate on integer-typed IV, thus I'm changing the
loop unroller correspondingly.


  Commit: 115b87636b9f84cf145c0c96859f8e9f5e76c7a1
      https://github.com/llvm/llvm-project/commit/115b87636b9f84cf145c0c96859f8e9f5e76c7a1
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Support/ModRef.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/ModRefTest.cpp

  Log Message:
  -----------
  [NFC][Support] Eliminate ',' at end of MemoryEffects print (#106545)

- Eliminate comma at end of a MemoryEffects print.
- Added basic unit test to validate that.


  Commit: 81acc84997d6d5d5c7f8e3b3e6d8d01d567d0e1c
      https://github.com/llvm/llvm-project/commit/81acc84997d6d5d5c7f8e3b3e6d8d01d567d0e1c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll

  Log Message:
  -----------
  [LoopVectorize][X86] amdlibm-calls.ll - add 2/4/8/16 vector widths test checks for fallback to llvm intrinsics

Check for cases where there isn't a amdlib call but it still vectorises the math call


  Commit: a777a93118a0ca71e19ac764a57a94f1be227dbb
      https://github.com/llvm/llvm-project/commit/a777a93118a0ca71e19ac764a57a94f1be227dbb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/utils/TableGen/IntrinsicEmitter.cpp

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC.


  Commit: bd6531b9508624df83f84d9bc687a7339df452e9
      https://github.com/llvm/llvm-project/commit/bd6531b9508624df83f84d9bc687a7339df452e9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/unittests/Transforms/IPO/CMakeLists.txt
    A llvm/unittests/Transforms/IPO/ImportIDTableTests.cpp

  Log Message:
  -----------
  [LTO] Introduce a new class ImportIDTable (#106503)

The new class implements a deduplication table to convert import list
elements:

  {SourceModule, GUID, Definition/Declaration}

into 32-bit integers, and vice versa.  This patch adds a unit test but
does not add a use yet.

To be precise, the deduplication table holds {SourceModule, GUID}
pairs.  We use the bottom one bit of the 32-bit integers to indicate
whether we have a definition or declaration.

A subsequent patch will collapse the import list hierarchy --
FunctionsToImportTy holding many instances of FunctionsToImportTy --
down to DenseSet<uint32_t> with each element indexing into the
deduplication table above.  This will address multiple sources of
space inefficiency.


  Commit: 59f05b683def5ef728baf8c4ae8f846e957ad67f
      https://github.com/llvm/llvm-project/commit/59f05b683def5ef728baf8c4ae8f846e957ad67f
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll
    M llvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll

  Log Message:
  -----------
  [RISCV][TTI] Model cost for insert/extract into illegal types (#106440)

We'd previously just deferred to the base implementation, but that more
or less always returns 1. This underestimates the cost of the
insert/extract, biases the SLP vectorizer towards forming illegally
typed vectors, and underestimates the cost of scalarized operations
(like unaligned scatter/gather).


  Commit: e5e38ddf1b8043324175868831da21e941c00aff
      https://github.com/llvm/llvm-project/commit/e5e38ddf1b8043324175868831da21e941c00aff
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/test/CodeGen/aarch64-targetattr.c
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64] Make apple-m4 armv8.7-a again (from armv9.2-a).  (#106312)

This is a partial revert of c66e1d6f3429.  Even though that
allowed us to declare v9.2-a support without picking up SVE2
in both the backend and the driver, the frontend itself still
enabled SVE via the arch version's default extensions.

Avoid that by reverting back to v8.7-a while we look into
longer-term solutions.


  Commit: 3d08ade7bd32f0296e0ca3a13640cc95fa89229a
      https://github.com/llvm/llvm-project/commit/3d08ade7bd32f0296e0ca3a13640cc95fa89229a
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/Analysis/PtrUseVisitor.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/Target.td
    M llvm/lib/CodeGen/Analysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/CodeGen/MachineCSE.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    A llvm/lib/CodeGen/RemoveLoadsIntoFakeUses.cpp
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/X86/X86FloatingPoint.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/test/Analysis/ScalarEvolution/flags-from-poison-dbg.ll
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    A llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
    M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
    M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/O0-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    A llvm/test/CodeGen/X86/fake-use-hpfloat.ll
    A llvm/test/CodeGen/X86/fake-use-ld.ll
    A llvm/test/CodeGen/X86/fake-use-scheduler.mir
    A llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
    A llvm/test/CodeGen/X86/fake-use-suppress-load.ll
    A llvm/test/CodeGen/X86/fake-use-tailcall.ll
    A llvm/test/CodeGen/X86/fake-use-vector.ll
    A llvm/test/CodeGen/X86/fake-use-vector2.ll
    A llvm/test/CodeGen/X86/fake-use-zero-length.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    A llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
    A llvm/test/DebugInfo/Inputs/check-fake-use.py
    A llvm/test/DebugInfo/X86/fake-use.ll
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
    A llvm/test/Transforms/CodeGenPrepare/X86/fake-use-phi.ll
    A llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
    A llvm/test/Transforms/GVN/fake-use-constprop.ll
    A llvm/test/Transforms/SROA/fake-use-escape.ll
    A llvm/test/Transforms/SROA/fake-use-sroa.ll
    M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn

  Log Message:
  -----------
  [ExtendLifetimes] Implement llvm.fake.use to extend variable lifetimes (#86149)

This patch is part of a set of patches that add an `-fextend-lifetimes`
flag to clang, which extends the lifetimes of local variables and
parameters for improved debuggability. In addition to that flag, the
patch series adds a pragma to selectively disable `-fextend-lifetimes`,
and an `-fextend-this-ptr` flag which functions as `-fextend-lifetimes`
for this pointers only. All changes and tests in these patches were
written by Wolfgang Pieb (@wolfy1961), while Stephen Tozer (@SLTozer)
has handled review and merging. The extend lifetimes flag is intended to
eventually be set on by `-Og`, as discussed in the RFC
here:

https://discourse.llvm.org/t/rfc-redefine-og-o1-and-add-a-new-level-of-og/72850

This patch implements a new intrinsic instruction in LLVM,
`llvm.fake.use` in IR and `FAKE_USE` in MIR, that takes a single operand
and has no effect other than "using" its operand, to ensure that its
operand remains live until after the fake use. This patch does not emit
fake uses anywhere; the next patch in this sequence causes them to be
emitted from the clang frontend, such that for each variable (or this) a
fake.use operand is inserted at the end of that variable's scope, using
that variable's value. This patch covers everything post-frontend, which
is largely just the basic plumbing for a new intrinsic/instruction,
along with a few steps to preserve the fake uses through optimizations
(such as moving them ahead of a tail call or translating them through
SROA).

Co-authored-by: Stephen Tozer <stephen.tozer at sony.com>


  Commit: 74b4ec17e24a256b4aae5e53b855ba429af685bf
      https://github.com/llvm/llvm-project/commit/74b4ec17e24a256b4aae5e53b855ba429af685bf
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/IR/IntrinsicInst.cpp

  Log Message:
  -----------
  [VP] Remove VP_PROPERTY_REDUCTION and VP_PROPERTY_CMP [nfc] (#105551)

These lists are quite static and several of the parameters are actually
constant across all users. Heavy use of macros is undesirable, and not
idiomatic in LLVM, so let's just use the naive switch cases.

I'll probably continue with removing the other property macros. These
two just happened to be the two I actually had to figure out for an
unrelated change.


  Commit: eed135fea72b544426349e6461a0ca142c27967e
      https://github.com/llvm/llvm-project/commit/eed135fea72b544426349e6461a0ca142c27967e
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/CMakeLists.txt

  Log Message:
  -----------
  Revert "[Analysis] Guard logf128 cst folding"

This reverts commit 42d3cccffd203ff6dc967d4243588ca466c0faf7 which
caused a test failure.


  Commit: 178392454e076624674b4a7ddf3fc8bda2e94f0e
      https://github.com/llvm/llvm-project/commit/178392454e076624674b4a7ddf3fc8bda2e94f0e
  Author: Harini0924 <harinidonthula at google.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-cd.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-colon.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-echo.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-export.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-mkdir.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-not-builtin.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-rm.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/lit.cfg
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-last-is-assign.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-last-is-u-arg.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-last-is-u.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-nested-none.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-calls-env.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-no-subcommand.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-u.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/lit.cfg
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/mixed.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-assign.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-u-arg.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-u.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-nested-none.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-none.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-cd.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-colon.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-echo.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-env.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-export.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-mkdir.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-not-builtin.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-rm.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-u.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/lit.cfg
    R llvm/utils/lit/tests/Inputs/shtest-env/mixed.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
    A llvm/utils/lit/tests/shtest-env-negative.py
    A llvm/utils/lit/tests/shtest-env-positive.py
    R llvm/utils/lit/tests/shtest-env.py

  Log Message:
  -----------
  [llvm-lit] Print environment variables when using env without subcommand (#98414)

This patch addresses an issue with lit's internal shell when env is
without any arguments, it fails with exit code 127 because `env`
requires a subcommand. This patch addresses the issue by encoding the
command to properly return environment variables even when no arguments
are provided.

The error occurred when running the command 
` LIT_USE_INTERNAL_SHELL=1 ninja check-llvm`.

fixes: #102383
This is part of the test cleanups proposed in the RFC: [[RFC] Enabling
the Lit Internal Shell by
Default](https://discourse.llvm.org/t/rfc-enabling-the-lit-internal-shell-by-default/80179)


  Commit: 2dc3b509879518340b991733bfde5c7a4becd559
      https://github.com/llvm/llvm-project/commit/2dc3b509879518340b991733bfde5c7a4becd559
  Author: Greg Roth <grroth at microsoft.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    A clang/test/CodeGenHLSL/implicit-norecurse-attrib.hlsl
    M clang/test/CodeGenHLSL/this-assignment-overload.hlsl
    M clang/test/CodeGenHLSL/this-assignment.hlsl

  Log Message:
  -----------
  [HLSL] Apply NoRecurse attrib to all HLSL functions (#105907)

Previously, functions named "main" got the NoRecurse attribute
consistent with the behavior of C++, which HLSL largely follows.
However, standard recursion is not allowed in HLSL, so all functions
should really have this attribute. This doesn't prevent recursion, but
rather signals that these functions aren't expected to recurse.

Practically, this was done so that entry point functions named "main"
would have all have the same attributes as otherwise identical entry
points with other names.

This required small changes to the this assignment tests because they no
longer generate so many attribute sets since more of them match.

related to #105244
but done to simplify testing for #89806


  Commit: ecd65e64e885b0fd2786ca99ea0c42d692275d91
      https://github.com/llvm/llvm-project/commit/ecd65e64e885b0fd2786ca99ea0c42d692275d91
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/tools/dxil-dis/BasicIR.ll
    M llvm/test/tools/dxil-dis/debug-info.ll
    M llvm/test/tools/dxil-dis/opaque-gep.ll
    M llvm/test/tools/dxil-dis/opaque-pointers.ll

  Log Message:
  -----------
  [DXIL][test] Fix a few tests now that HLSL functions are internalized (#106437)

These tests have been failing since db279c72f2fe "[HLSL] Change default
linkage of HLSL functions to internal (#95331)". This presumably went
unnoticed because they're not run by default since they rely on an
external tool (dxil-dis).


  Commit: 2ad782f49ff20d199f31cabc9baa46dba6047d8b
      https://github.com/llvm/llvm-project/commit/2ad782f49ff20d199f31cabc9baa46dba6047d8b
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP] Kill VP_PROPERTY_(MEMOP,CASTOP) and simplify _CONSTRAINEDFP [nfc] (#105574)

These lists are quite static. Heavy use of macros is undesirable, and
not idiomatic in LLVM, so let's just use the naive switch cases.

Note that the first two fields in the CONSTRAINEDFP property were
utterly unused (aside from a C++ test).

In the same vien as https://github.com/llvm/llvm-project/pull/105551.

Once both changes have landed, we'll be left with _BINARYOP which needs
a bit of additional untangling, and the actual opcode mappings.


  Commit: 0a00d32c5f88fce89006dcde6e235bc77d7b495e
      https://github.com/llvm/llvm-project/commit/0a00d32c5f88fce89006dcde6e235bc77d7b495e
  Author: Jordan R AW <ajordanr at google.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Utility/ArchSpec.h
    M lldb/source/Utility/ArchSpec.cpp

  Log Message:
  -----------
  [lldb] Add armv7a and armv8a ArchSpecs (#106433)

armv7a and armv8a are common names for the application subarch for arm.

These names in particular are used in ChromeOS, Android, and a few other
known applications. In ChromeOS, we encountered a bug where armv7a arch
was not recognised and segfaulted when starting an executable on an
arm32 device.

Google Issue Tracker:
https://issuetracker.google.com/361414339


  Commit: ed37b5f6c341a2c72d1f5f0c016f0f8a41a9bf83
      https://github.com/llvm/llvm-project/commit/ed37b5f6c341a2c72d1f5f0c016f0f8a41a9bf83
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M llvm/benchmarks/CMakeLists.txt
    R llvm/benchmarks/FormatVariadicBM.cpp
    M llvm/include/llvm/Support/FormatVariadic.h
    M llvm/lib/Support/FormatVariadic.cpp
    M llvm/unittests/Support/FormatVariadicTest.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  Revert "[Support] Validate number of arguments passed to formatv()" (#106589)

Reverts llvm/llvm-project#105745

Some bots are broken apparently.


  Commit: 67ffd1438379ee43f678f3e7752f4ec5f777cee4
      https://github.com/llvm/llvm-project/commit/67ffd1438379ee43f678f3e7752f4ec5f777cee4
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M libcxx/test/libcxx/type_traits/is_specialization.verify.cpp

  Log Message:
  -----------
  libcxx: [NFC] relax error expectation for clang diagnostics (#106591)

This is a split-off from #96023, where this change has already been
reviewed by libcxx maintainers.

This will prevent that PR from triggering libcxx-ci from now on.


  Commit: 9ce4af5cadc24060f3c3674e01902d374afea983
      https://github.com/llvm/llvm-project/commit/9ce4af5cadc24060f3c3674e01902d374afea983
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M llvm/benchmarks/CMakeLists.txt
    A llvm/benchmarks/FormatVariadicBM.cpp
    M llvm/include/llvm/Support/FormatVariadic.h
    M llvm/lib/Support/FormatVariadic.cpp
    M llvm/unittests/Support/FormatVariadicTest.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  Revert "Revert "[Support] Validate number of arguments passed to formatv()"" (#106592)

Reverts llvm/llvm-project#106589
The fix for bot failures caused by the reverted commit was committed
already, so this revert is not needed.


  Commit: 9a58b12fe7bf54c9433ec89bae2a2d6cfe489e75
      https://github.com/llvm/llvm-project/commit/9a58b12fe7bf54c9433ec89bae2a2d6cfe489e75
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
    M llvm/test/CodeGen/X86/fake-use-scheduler.mir
    M llvm/test/CodeGen/X86/fake-use-tailcall.ll
    M llvm/test/CodeGen/X86/fake-use-vector2.ll
    M llvm/test/CodeGen/X86/fake-use-zero-length.ll

  Log Message:
  -----------
  [ExtendLifetimes][NFC] Add explicit triple to new fake-use tests

Several tests for the new fake use intrinsic are failing on NVPTX
buildbots due to relying on behaviour for their expected triple;
this commit adds that triple to each of them to prevent failures.

Fixes commit 3d08ade (#86149).

Example buildbot failures:
https://lab.llvm.org/buildbot/#/builders/160/builds/4175
https://lab.llvm.org/buildbot/#/builders/180/builds/4173


  Commit: 0b2bc0ab53f41c40bfec6287d72cd14d256ffd0d
      https://github.com/llvm/llvm-project/commit/0b2bc0ab53f41c40bfec6287d72cd14d256ffd0d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
    M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/InterpBlock.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    A clang/test/AST/ByteCode/cxx11-pedantic.cpp
    M clang/test/AST/ByteCode/new-delete.cpp
    M clang/test/AST/ByteCode/unions.cpp
    M clang/test/CodeGen/aarch64-targetattr.c
    A clang/test/CodeGenHLSL/implicit-norecurse-attrib.hlsl
    M clang/test/CodeGenHLSL/this-assignment-overload.hlsl
    M clang/test/CodeGenHLSL/this-assignment.hlsl
    M flang/include/flang/Tools/TargetSetup.h
    M flang/module/ieee_arithmetic.f90
    M flang/test/CMakeLists.txt
    M flang/test/Evaluate/fold-out_of_range.f90
    M flang/test/Evaluate/folding07.f90
    M flang/test/Lower/Intrinsics/ieee_class_queries.f90
    M flang/test/Lower/Intrinsics/ieee_unordered.f90
    M flang/test/Lower/common-block.f90
    M flang/test/Semantics/kinds03.f90
    M flang/test/Semantics/modfile26.f90
    M flang/test/Semantics/realkinds-aarch64-01.f90
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in
    M flang/tools/f18/CMakeLists.txt
    M libc/src/string/memory_utils/x86_64/inline_memcpy.h
    M libcxx/include/cmath
    M libcxx/include/complex
    M libcxx/include/string
    M libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp
    M libcxx/test/libcxx/type_traits/is_specialization.verify.cpp
    M lldb/include/lldb/Utility/ArchSpec.h
    M lldb/source/Utility/ArchSpec.cpp
    M lldb/test/API/tools/lldb-dap/console/TestDAP_redirection_to_console.py
    M lldb/test/API/tools/lldb-dap/coreFile/TestDAP_coreFile.py
    M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
    M lldb/test/API/tools/lldb-dap/launch/main.c
    M llvm/benchmarks/CMakeLists.txt
    A llvm/benchmarks/FormatVariadicBM.cpp
    M llvm/docs/CodeOfConduct.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/Analysis/PtrUseVisitor.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Support/FormatVariadic.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/Target.td
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/CodeGen/Analysis.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/CodeGen/MachineCSE.cpp
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    A llvm/lib/CodeGen/RemoveLoadsIntoFakeUses.cpp
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Support/FormatVariadic.cpp
    M llvm/lib/Support/ModRef.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64Processors.td
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
    M llvm/lib/Target/Sparc/SparcInstrAliases.td
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/X86/X86FloatingPoint.cpp
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll
    M llvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll
    M llvm/test/Analysis/ScalarEvolution/flags-from-poison-dbg.ll
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    R llvm/test/CodeGen/AArch64/atomicrmw-fadd-fp-vector.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fadd.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fmax.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fmin.ll
    A llvm/test/CodeGen/AArch64/atomicrmw-fsub.ll
    M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
    M llvm/test/CodeGen/AMDGPU/extract_vector_elt-i8.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/sminmax.v2i16.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    A llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir
    M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
    M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/O0-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/bfloat-arith.ll
    M llvm/test/CodeGen/RISCV/half-arith-strict.ll
    M llvm/test/CodeGen/RISCV/half-arith.ll
    M llvm/test/CodeGen/RISCV/half-bitmanip-dagcombines.ll
    M llvm/test/CodeGen/RISCV/half-intrinsics.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll
    M llvm/test/CodeGen/Thumb2/pr52817.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    A llvm/test/CodeGen/X86/fake-use-hpfloat.ll
    A llvm/test/CodeGen/X86/fake-use-ld.ll
    A llvm/test/CodeGen/X86/fake-use-scheduler.mir
    A llvm/test/CodeGen/X86/fake-use-simple-tail-call.ll
    A llvm/test/CodeGen/X86/fake-use-suppress-load.ll
    A llvm/test/CodeGen/X86/fake-use-tailcall.ll
    A llvm/test/CodeGen/X86/fake-use-vector.ll
    A llvm/test/CodeGen/X86/fake-use-vector2.ll
    A llvm/test/CodeGen/X86/fake-use-zero-length.ll
    M llvm/test/CodeGen/X86/fsafdo_test1.ll
    M llvm/test/CodeGen/X86/fsafdo_test4.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    A llvm/test/DebugInfo/AArch64/fake-use-global-isel.ll
    A llvm/test/DebugInfo/Inputs/check-fake-use.py
    M llvm/test/DebugInfo/MIR/X86/empty-inline.mir
    M llvm/test/DebugInfo/X86/discriminator.ll
    A llvm/test/DebugInfo/X86/fake-use.ll
    A llvm/test/DebugInfo/X86/is_stmt-at-block-start.ll
    M llvm/test/MC/Sparc/sparc-misc-instructions.s
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
    M llvm/test/TableGen/intrinsic-attrs.td
    A llvm/test/Transforms/CodeGenPrepare/X86/fake-use-phi.ll
    A llvm/test/Transforms/CodeGenPrepare/X86/fake-use-split-ret.ll
    A llvm/test/Transforms/GVN/fake-use-constprop.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll
    A llvm/test/Transforms/LoopUnroll/X86/runtime-unroll-addrec-cost.ll
    M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
    M llvm/test/Transforms/SCCP/pointer-nonnull.ll
    M llvm/test/Transforms/SLPVectorizer/alternate-cmp-swapped-pred-parent.ll
    M llvm/test/Transforms/SLPVectorizer/alternate-opcode-sindle-bv.ll
    M llvm/test/Transforms/SLPVectorizer/arith-div-undef.ll
    M llvm/test/Transforms/SLPVectorizer/bool-logical-op-reduction-with-poison.ll
    M llvm/test/Transforms/SLPVectorizer/buildvector-insert-mask-size.ll
    M llvm/test/Transforms/SLPVectorizer/buildvector-nodes-dependency.ll
    M llvm/test/Transforms/SLPVectorizer/call-arg-reduced-by-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/catchswitch.ll
    M llvm/test/Transforms/SLPVectorizer/crash_exceed_scheduling.ll
    M llvm/test/Transforms/SLPVectorizer/diamond_broadcast.ll
    A llvm/test/Transforms/SROA/fake-use-escape.ll
    A llvm/test/Transforms/SROA/fake-use-sroa.ll
    M llvm/test/tools/dxil-dis/BasicIR.ll
    M llvm/test/tools/dxil-dis/debug-info.ll
    M llvm/test/tools/dxil-dis/opaque-gep.ll
    M llvm/test/tools/dxil-dis/opaque-pointers.ll
    M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
    M llvm/unittests/IR/VPIntrinsicTest.cpp
    M llvm/unittests/Support/CMakeLists.txt
    M llvm/unittests/Support/FormatVariadicTest.cpp
    A llvm/unittests/Support/ModRefTest.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M llvm/unittests/Transforms/IPO/CMakeLists.txt
    A llvm/unittests/Transforms/IPO/ImportIDTableTests.cpp
    M llvm/utils/TableGen/IntrinsicEmitter.cpp
    M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
    M llvm/utils/lit/lit/TestRunner.py
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-cd.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-colon.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-echo.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-export.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-mkdir.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-not-builtin.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/env-calls-rm.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-negative/lit.cfg
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-last-is-assign.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-last-is-u-arg.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-last-is-u.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-args-nested-none.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-calls-env.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-no-subcommand.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env-u.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/env.txt
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/lit.cfg
    A llvm/utils/lit/tests/Inputs/shtest-env-positive/mixed.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-assign.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-u-arg.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-u.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-nested-none.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-args-none.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-cd.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-colon.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-echo.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-env.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-export.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-mkdir.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-not-builtin.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-calls-rm.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env-u.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/env.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/lit.cfg
    R llvm/utils/lit/tests/Inputs/shtest-env/mixed.txt
    R llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
    A llvm/utils/lit/tests/shtest-env-negative.py
    A llvm/utils/lit/tests/shtest-env-positive.py
    R llvm/utils/lit/tests/shtest-env.py
    M llvm/utils/release/build_llvm_release.bat
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/test/Dialect/SCF/loop-unroll.mlir
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  Rebase

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/c3db84a5956e...0b2bc0ab53f4

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list