[all-commits] [llvm/llvm-project] 105f57: [AMDGPU] Remove dead pass: AMDGPUMachineCFGStructu...

Julian Schmidt via All-commits all-commits at lists.llvm.org
Sat Aug 24 04:01:08 PDT 2024


  Branch: refs/heads/users/5chmidti/rm_not_needed_run_overload_in_BoundNodesCallback
  Home:   https://github.com/llvm/llvm-project
  Commit: 105f5765864d94a414c3e40e8addeab396e2c0e4
      https://github.com/llvm/llvm-project/commit/105f5765864d94a414c3e40e8addeab396e2c0e4
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
    R llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
    M llvm/lib/Target/AMDGPU/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/SIInstructions.td

  Log Message:
  -----------
  [AMDGPU] Remove dead pass: AMDGPUMachineCFGStructurizer (#105645)


  Commit: 12998dede55c7a60b7584ba4e221da4064c3fac0
      https://github.com/llvm/llvm-project/commit/12998dede55c7a60b7584ba4e221da4064c3fac0
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h

  Log Message:
  -----------
  [AMDGPU] Remove unused amdgpu-disable-structurizer flag (#105800)


  Commit: 67b753147cfce3d520b62df8aa7b5829987ec8b0
      https://github.com/llvm/llvm-project/commit/67b753147cfce3d520b62df8aa7b5829987ec8b0
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp

  Log Message:
  -----------
  [clang][bytecode][NFC] Remove containsErrors check from visitInitializer (#105811)


  Commit: 0bfb39a68e32d32385fdf30b4024f0c34d526f2b
      https://github.com/llvm/llvm-project/commit/0bfb39a68e32d32385fdf30b4024f0c34d526f2b
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIRAttr.td
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Dialect/FIRAttr.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
    M flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M flang/test/HLFIR/c_ptr_byvalue.f90
    M flang/test/Lower/CUDA/cuda-device-proc.cuf
    M flang/test/Lower/HLFIR/assumed-rank-calls.f90
    M flang/test/Lower/HLFIR/assumed-rank-iface.f90
    M flang/test/Lower/HLFIR/bindc-value-derived.f90
    M flang/test/Lower/HLFIR/block_bindc_pocs.f90
    M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
    M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
    M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
    M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
    M flang/test/Lower/block.f90
    M flang/test/Lower/call-bindc.f90

  Log Message:
  -----------
  [flang][NFC] turn fir.call is_bind_c into enum for procedure flags (#105691)

First patch to fix a BIND(C) ABI issue
(https://github.com/llvm/llvm-project/issues/102113). I need to keep
track of BIND(C) in more locations (fir.dispatch and func.func
operations), and I need to fix a few passes that are dropping the
attribute on the floor. Since I expect more procedure attributes that
cannot be reflected in mlir::FunctionType will be needed for ABI,
optimizations, or debug info, this NFC patch adds a new enum attribute
to keep track of procedure attributes in the IR.

This patch is not updating lowering to lower more attributes, this will
be done in a separate patch to keep the test changes low here.

Adding the attribute on fir.dispatch and func.func will also be done in
separate patches.


  Commit: 2aef672d916f79789a8c2fceda6ae1f259c7c3cf
      https://github.com/llvm/llvm-project/commit/2aef672d916f79789a8c2fceda6ae1f259c7c3cf
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/TableGen/StringToOffsetTable.h

  Log Message:
  -----------
  [NFC][TableGen] Refactor StringToOffsetTable (#105655)

- Make `EmitString` const by not mutating `AggregateString`.
- Use C++17 structured bindings in `GetOrAddStringOffset`.
- Use StringExtras version of isDigit instead of std::isdigit.


  Commit: 44327685a7d501028fac99479e573776af461c61
      https://github.com/llvm/llvm-project/commit/44327685a7d501028fac99479e573776af461c61
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [Serialization] Fix a warning

This patch fixes:

  clang/lib/Serialization/ASTReader.cpp:9978:27: error: lambda capture
  'this' is not used [-Werror,-Wunused-lambda-capture]


  Commit: 9ff91339d7bd2bbe1481372832b35e96789d4bae
      https://github.com/llvm/llvm-project/commit/9ff91339d7bd2bbe1481372832b35e96789d4bae
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp

  Log Message:
  -----------
  [Transforms] Use a range-based for loop (NFC) (#105769)


  Commit: 2bdfaca2ab3218ba863496732f0534adce240a36
      https://github.com/llvm/llvm-project/commit/2bdfaca2ab3218ba863496732f0534adce240a36
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h

  Log Message:
  -----------
  [AMDGPU] Remove "amdgpu-enable-structurizer-workarounds" flag (#105819)


  Commit: 7548434f1aa5ab7a70ea25ad878b64ff750d8e3c
      https://github.com/llvm/llvm-project/commit/7548434f1aa5ab7a70ea25ad878b64ff750d8e3c
  Author: KaiWeng <kaiweng at andestech.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
    A llvm/test/CodeGen/RISCV/sdata-sections.ll

  Log Message:
  -----------
  [RISCV] Let -data-sections also work on sbss/sdata sections (#87040)

Add an unique suffix to .sbss/.sdata if -fdata-sections.
Without assigning an unique .sbss/.sdata section to each symbols, a
linker may not be able to remove unused part when gc-section since all
used and unused symbols are all mixed in the same .sbss/.sdata section.
I believe this also matches the behavior of gcc.


  Commit: 3b032354233f4e15e690473f9d630a1adb5c6d01
      https://github.com/llvm/llvm-project/commit/3b032354233f4e15e690473f9d630a1adb5c6d01
  Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/lib/Transforms/Mem2Reg.cpp
    M mlir/test/Transforms/mem2reg.mlir
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [mlir][mem2reg] Fix Mem2Reg attempting to promote in graph regions (#104910)

Mem2Reg assumes SSA dependencies but did not check for graph regions.
This fixes it.

---------

Co-authored-by: Christian Ulmann <christianulmann at gmail.com>


  Commit: 0e41d040456b8cd68e59c684ccadb0d5555d3b74
      https://github.com/llvm/llvm-project/commit/0e41d040456b8cd68e59c684ccadb0d5555d3b74
  Author: SpencerAbson <Spencer.Abson at arm.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/test/Preprocessor/aarch64-target-features.c

  Log Message:
  -----------
  [clang][AArch64] Add SME2.1 feature macros (#105657)


  Commit: 4d7730a1862b5757555bb0b7aeb5e5ee7e024e2f
      https://github.com/llvm/llvm-project/commit/4d7730a1862b5757555bb0b7aeb5e5ee7e024e2f
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineStableHash.cpp

  Log Message:
  -----------
  [NFC] Use stable_hash_combine instead of hash_combine (#105619)

I found the current stable hash is not deterministic across multiple
runs on a specific platform. This is because it uses `hash_combine`
instead of `stable_hash_combine`.


  Commit: ea3e57b16fe2958bf2c66fcbf64226e34ad0f9e6
      https://github.com/llvm/llvm-project/commit/ea3e57b16fe2958bf2c66fcbf64226e34ad0f9e6
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll

  Log Message:
  -----------
  [AMDGPU] Improve uniform argument handling in InstCombineIntrinsic (#105812)

Common up handling of intrinsics that are a no-op on uniform arguments.
This catches a couple of new cases:

readlane (readlane x, y), z -> readlane x, y
(for any z, does not have to equal y).

permlane64 (readfirstlane x) -> readfirstlane x
(and likewise for any other uniform argument to permlane64).


  Commit: f3b80aaff9d38a2ff022952855a5ae60926adb4d
      https://github.com/llvm/llvm-project/commit/f3b80aaff9d38a2ff022952855a5ae60926adb4d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/multiple_reduction.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/scalarization-overhead.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/shuffle-vectors-mask-size.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/tsc-s116.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/vectorizable-selects-uniform-cmps.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/combined-loads-stored.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
    M llvm/test/Transforms/SLPVectorizer/SystemZ/pr34619.ll
    M llvm/test/Transforms/SLPVectorizer/X86/addsub.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extract-many-users-buildvector.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extract-scalar-from-undef.ll
    M llvm/test/Transforms/SLPVectorizer/X86/gather-node-same-as-vect-but-order.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll
    M llvm/test/Transforms/SLPVectorizer/X86/inst_size_bug.ll
    M llvm/test/Transforms/SLPVectorizer/X86/landing_pad.ll
    M llvm/test/Transforms/SLPVectorizer/X86/phi.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
    M llvm/test/Transforms/SLPVectorizer/X86/remark-partial-loads-vectorize.ll
    M llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reused-pointer.ll
    M llvm/test/Transforms/SLPVectorizer/X86/schedule_budget_debug_info.ll
    M llvm/test/Transforms/SLPVectorizer/X86/split-load8_2-unord.ll
    M llvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vect-gather-same-nodes.ll

  Log Message:
  -----------
  [SLP]Improve/fix subvectors in gather/buildvector nodes handling

SLP vectorizer has an estimation for gather/buildvector nodes, which
contain some scalar loads. SLP vectorizer performs pretty similar (but
large in SLOCs) estimation, which not always correct. Instead, this
patch implements clustering analysis and actual node allocation with the
full analysis for the vectorized clustered scalars (not only loads, but
also some other instructions) with the correct cost estimation and
vector insert instructions. Improves overall vectorization quality and
simplifies analysis/estimations.

Reviewers: RKSimon

Reviewed By: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/104144


  Commit: 276a11c3bee8ef96691bc98916dacaf9912cce6f
      https://github.com/llvm/llvm-project/commit/276a11c3bee8ef96691bc98916dacaf9912cce6f
  Author: Brandon Wu <brandon.wu at sifive.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.td

  Log Message:
  -----------
  [RISCV][MC] Name the vector tuple registers. NFC (#102726)

Currently vector tuple registers don't have the specified names, the
default name is, for example: `VRN3M2` -> `V8M2_V10M2_V12M2`, however
it's equivalent to `v8` in the assembly.


  Commit: d97bc8aba6a1d8180c6c7d94ef8a26edb612777a
      https://github.com/llvm/llvm-project/commit/d97bc8aba6a1d8180c6c7d94ef8a26edb612777a
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td
    M clang/test/Parser/parser_overflow.c

  Log Message:
  -----------
  Revert "[clang] Increase the default expression nesting limit (#104717)"

This reverts commit 7597e0930638e0a20ca9bfc193a3d89575ce4469.

It caused several buildbot failures due to stack overflows with the
parser test.


  Commit: 19653aefed59fc0433fa7e51732bb86e1398425b
      https://github.com/llvm/llvm-project/commit/19653aefed59fc0433fa7e51732bb86e1398425b
  Author: cceerczw <chengzhiwei6 at huawei.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Transforms/InstCombine/AArch64/sve-inst-combine-cmpne.ll

  Log Message:
  -----------
  [instCombine][bugfix] Fix crash caused by using of cast in instCombineSVECmpNE (#102472)


  Commit: 8996a0915f84fd57323f388570c5680c50b3f88f
      https://github.com/llvm/llvm-project/commit/8996a0915f84fd57323f388570c5680c50b3f88f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/RISCV/reversed-strided-node-with-external-ptr.ll

  Log Message:
  -----------
  [SLP]Fix a crash for the strided nodes with reversed order and externally used pointer.

If the strided node is reversed, need to cehck for the last instruction,
not the first one in the list of scalars, when checking if the root
pointer must be extracted.


  Commit: ec6d3359041495278ceb71638547d13e6d4e57fb
      https://github.com/llvm/llvm-project/commit/ec6d3359041495278ceb71638547d13e6d4e57fb
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  Revert "[RISCV] Add isel optimization for (and (sra y, c2), c1) to recover regression from #101751. (#104114)"

This caused an assert to fire:

  llvm/include/llvm/Support/Casting.h:566:
  decltype(auto) llvm::cast(const From &) [To = llvm::ConstantSDNode, From = llvm::SDValue]:
  Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed.

see comment on the PR.

> If c1 is a shifted mask with c3 leading zeros and c4 trailing zeros. If
> c2 is greater than c3, we can use (srli (srai y, c2 - c3), c3 + c4)
> followed by a SHXADD with c4 as the X amount.
>
> Without Zba we can use (slli (srli (srai y, c2 - c3), c3 + c4), c4).
> Alive2: https://alive2.llvm.org/ce/z/AwhheR

This reverts commit 514481736cf943464125ef34570a7df0a19290de.


  Commit: 4bfea936d8e4fe909f1f89698f4fc3020c61a800
      https://github.com/llvm/llvm-project/commit/4bfea936d8e4fe909f1f89698f4fc3020c61a800
  Author: Edd Dawson <edd.dawson at sony.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/test/CodeGen/tls-maxalign-modflag.c
    M clang/test/CodeGenCXX/windows-itanium-init-guard.cpp
    M clang/test/Driver/debug-options.c
    M clang/test/Driver/ps5-linker.c

  Log Message:
  -----------
  [PS5][clang][test] x86_64-scei-ps5 -> x86_64-sie-ps5 in tests (#105810)

`x86_64-sie-ps5` is the triple we share with PS5 toolchain users who
have reason to care about such things. The vast majority of PS5 checks
and tests already use this variant. Quashing the handful of stragglers
will help prevent future copy+paste of the discouraged variant.


  Commit: 4a81d2ef20daa699bb8126ae984e0386f6d541d0
      https://github.com/llvm/llvm-project/commit/4a81d2ef20daa699bb8126ae984e0386f6d541d0
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll

  Log Message:
  -----------
  [VPlan] Skip branches marked as dead in cost precomputation.

Don't consider the cost of branches marked to be skipped in VPlan cost
pre-computation. Those aren't included in the legacy cost, so they
should not be included in the VPlan cast.


  Commit: 78be684225bdfbc99abbb49de4cbae90cdd3eb98
      https://github.com/llvm/llvm-project/commit/78be684225bdfbc99abbb49de4cbae90cdd3eb98
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_flags.inc
    M compiler-rt/lib/asan/asan_globals.cpp
    M compiler-rt/test/asan/TestCases/Linux/initialization-nobug-lld.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_indicator_unregister.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_indicators.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_global_dead_strip.c
    M compiler-rt/test/asan/TestCases/Windows/dll_report_globals_symbolization_at_startup.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_dead_strip.c
    M compiler-rt/test/asan/TestCases/Windows/report_globals_vs_freelibrary.cpp
    M compiler-rt/test/asan/TestCases/initialization-nobug.cpp

  Log Message:
  -----------
  Revert "Reland "[asan] Remove debug tracing from `report_globals` (#104404)" (#105601)"

that change still breaks

  SanitizerCommon-asan-x86_64-Darwin :: Darwin/print-stack-trace-in-code-loaded-after-fork.cpp

> This reverts commit 2704b804bec50c2b016bf678bd534c330ec655b6
> and relands #104404.
>
> The Darwin should not fail after #105599.

This reverts commit 8c6f8c29e90666b747fc4b4612647554206a2be5.


  Commit: 78df081a4bfc249a25e1256463649278b877f23b
      https://github.com/llvm/llvm-project/commit/78df081a4bfc249a25e1256463649278b877f23b
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    A clang/docs/RealtimeSanitizer.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/docs/index.rst
    M clang/include/clang/Basic/Sanitizers.def
    M clang/include/clang/Driver/SanitizerArgs.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    A clang/test/CodeGen/rtsan_attribute_inserted.c
    A clang/test/CodeGen/rtsan_entry_exit_insertion.c
    A clang/test/CodeGen/rtsan_no_attribute_sanitizer_disabled.c
    M clang/test/Driver/fsanitize.c

  Log Message:
  -----------
  [clang][rtsan] Reland realtime sanitizer codegen and driver (#102622) 

This reverts commit a1e9b7e646b76bf844e8a9a101ebd27de11992ff
This relands commit d010ec6af8162a8ae4e42d2cac5282f83db0ce07

No modifications from the original patch. It was determined that the
ubsan build failure was happening even after the revert, some examples:

https://lab.llvm.org/buildbot/#/builders/159/builds/4477 
https://lab.llvm.org/buildbot/#/builders/159/builds/4478 
https://lab.llvm.org/buildbot/#/builders/159/builds/4479


  Commit: d79a58cf22278b37c36180049b3b1934564ea20a
      https://github.com/llvm/llvm-project/commit/d79a58cf22278b37c36180049b3b1934564ea20a
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/www/c_status.html

  Log Message:
  -----------
  [C23] Update status page for TS 18661 integration (#105693)

WG14 N2401 was removed from the list because it was library-only changes
that don't impact the compiler.

Everything having to do with decimal floating-point types was changed to
No because we do not currently have any support for those.

WG14 N2314 remains Unknown because it has changes to Annex F for binary
floating-point types.


  Commit: 607cee5a8411b4905f6d18dd6588846a1bb9e70f
      https://github.com/llvm/llvm-project/commit/607cee5a8411b4905f6d18dd6588846a1bb9e70f
  Author: Harini0924 <79345568+Harini0924 at users.noreply.github.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M bolt/test/X86/end-symbol.test
    M bolt/test/X86/instrumentation-eh_frame_hdr.cpp

  Log Message:
  -----------
  [BOLT][test] Removed the use of parentheses in BOLT tests with lit internal shell (#105720)

This patch addresses compatibility issues with the lit internal shell by
removing the use of subshell execution (parentheses and subshell syntax)
in the `BOLT` tests. The lit internal shell does not support
parentheses, so the tests have been refactored to use separate command
invocations, with outputs redirected to temporary files where necessary.

This change is relevant for enabling the lit internal shell by default,
as outlined in [[RFC] Enabling the Lit Internal Shell by
Default](https://discourse.llvm.org/t/rfc-enabling-the-lit-internal-shell-by-default/80179)

fixes: #102401


  Commit: 13a266fc5705477c9f0895201e40a11527fa14bd
      https://github.com/llvm/llvm-project/commit/13a266fc5705477c9f0895201e40a11527fa14bd
  Author: pawelszczerbuk <153013546+pawelszczerbuk at users.noreply.github.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
    M mlir/test/Dialect/SCF/loop-pipelining.mlir

  Log Message:
  -----------
  [SCF][PIPELINE] Handle the case when values from the peeled prologue may escape out of the loop (#105755)

Previously the values in the peeled prologue that weren't treated with
the `predicateFn` were passed to the loop body without any other
predication. If those values are later used outside of the loop body,
they may be incorrect if the num iterations is smaller than num stages -
1. We need similar masking for those, as is done in the main loop body,
using already existing predicates.


  Commit: 4709218bf7373d1bdd8979ea1287ac9513ad2751
      https://github.com/llvm/llvm-project/commit/4709218bf7373d1bdd8979ea1287ac9513ad2751
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticASTKinds.td
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/AST/ByteCode/new-delete.cpp
    M clang/test/CXX/drs/cwg29xx.cpp
    M clang/test/Lexer/cxx-features.cpp
    M clang/test/SemaCXX/constant-expression-cxx2a.cpp
    M clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
    A clang/test/SemaCXX/cxx2c-constexpr-placement-new.cpp
    M clang/www/cxx_dr_status.html
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [Clang] Implement P2747 constexpr placement new (#104586)

The implementation follows the resolution of CWG2922


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] visitTRUNCATE_USAT_U - use sd_match to match FP_TO_UINT_SAT pattern. NFC.


  Commit: 0e55ad4cb59de53ed2f06e0cfe4e208f37540d69
      https://github.com/llvm/llvm-project/commit/0e55ad4cb59de53ed2f06e0cfe4e208f37540d69
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx17.rst
    R libcxx/docs/Status/SpecialMath.rst
    R libcxx/docs/Status/SpecialMathProjects.csv
    R libcxx/docs/Status/Zip.rst
    R libcxx/docs/Status/ZipProjects.csv
    M libcxx/docs/index.rst

  Log Message:
  -----------
  [libc++] Remove status pages tracking SpecialMath and Zip (#105672)

Instead of tracking those using our static CSV files, I created lists of
subtasks in their respective issues (#99939 and #105169) to track the
work that is still left.


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

  Changed paths:
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  [IR] Use a range-based for loop (NFC) (#105826)


  Commit: 3b872a1a189636e76682da93f5a22028324308f8
      https://github.com/llvm/llvm-project/commit/3b872a1a189636e76682da93f5a22028324308f8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang-tools-extra/clangd/TUScheduler.cpp

  Log Message:
  -----------
  [clangd] Construct SmallVector with ArrayRef (NFC) (#105829)


  Commit: b9ba3ed307f57c20111d81d71812a386a63efea1
      https://github.com/llvm/llvm-project/commit/b9ba3ed307f57c20111d81d71812a386a63efea1
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir][Transforms][NFC] Move `ReconcileUnrealizedCasts` implementation (#104671)

Move the implementation of `ReconcileUnrealizedCasts` to
`DialectConversion.cpp`, so that it can be called from there in a future
commit.

This commit is in preparation of decoupling argument/source/target
materializations from the dialect conversion framework. The existing
logic around unresolved materializations that predicts IR changes to
decide if a cast op can be folded/erased will become obsolete, as
`ReconcileUnrealizedCasts` will perform these kind of foldings on fully
materialized IR.

---------

Co-authored-by: Markus Böck <markus.boeck02 at gmail.com>


  Commit: f5847ccd0256ce3d624cb9993312f2619ccd939f
      https://github.com/llvm/llvm-project/commit/f5847ccd0256ce3d624cb9993312f2619ccd939f
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/CheckExprLifetime.cpp
    M clang/test/Sema/warn-lifetime-analysis-nocfg.cpp

  Log Message:
  -----------
  Reland "[clang] Merge lifetimebound and GSL code paths for lifetime analysis  (#104906)" (#105838)

Reland without the `EnableLifetimeWarnings` removal. I will remove the
EnableLifetimeWarnings in a follow-up patch.

I have added a test to prevent regression.


  Commit: 3cc642a4075209b9411c901a0459a5d2fa294605
      https://github.com/llvm/llvm-project/commit/3cc642a4075209b9411c901a0459a5d2fa294605
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/test/Shell/Unwind/trap_frame_sym_ctx.test

  Log Message:
  -----------
  Revert "[lldb] Speculative fix for trap_frame_sym_ctx.test"

This reverts commit 19d3f3417100dc99caa4394fbd26fc0c4702264e.


  Commit: 5112c9520c631bc7c58a290b768297d34b43e968
      https://github.com/llvm/llvm-project/commit/5112c9520c631bc7c58a290b768297d34b43e968
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  Recommit "[RISCV] Add isel optimization for (and (sra y, c2), c1) to recover regression from #101751. (#104114)"

Fixed an incorrect cast.

Original message:

If c1 is a shifted mask with c3 leading zeros and c4 trailing zeros. If
c2 is greater than c3, we can use (srli (srai y, c2 - c3), c3 + c4)
followed by a SHXADD with c4 as the X amount.

Without Zba we can use (slli (srli (srai y, c2 - c3), c3 + c4), c4).
Alive2: https://alive2.llvm.org/ce/z/AwhheR


  Commit: 31523d091b5576f05b56dd02a5e90297de181768
      https://github.com/llvm/llvm-project/commit/31523d091b5576f05b56dd02a5e90297de181768
  Author: Max Coplan <mchcopl at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M libcxx/include/regex

  Log Message:
  -----------
  [libc++][regex] Add _LIBCPP_FALLTHROUGH to suppress fallthrough warning (#100821)


  Commit: e1d0f45e9425d8d155681e9aebef4e95091a2e6e
      https://github.com/llvm/llvm-project/commit/e1d0f45e9425d8d155681e9aebef4e95091a2e6e
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
    M llvm/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp
    M llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp

  Log Message:
  -----------
  InstructionSelect: Use GISelChangeObserver instead of MachineFunction::Delegate (#105725)

The main difference is that it's possible for multiple change observers
to be installed at the same time whereas there can only be one
MachineFunction delegate installed. This allows downstream targets to
continue to use observers to recursively select. The target in question
was selecting a gMIR instruction to a machine instruction plus some gMIR
around it and relying on observers to ensure it correctly selected any
gMIR it created before returning to the main loop.


  Commit: 70fb45a1d18dbd3a138b7f483c92a237c703f367
      https://github.com/llvm/llvm-project/commit/70fb45a1d18dbd3a138b7f483c92a237c703f367
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SCCPSolver.cpp

  Log Message:
  -----------
  [SCCP] fix non-determinism (#105758)

the visit order depended on hashing because we iterated over a
SmallPtrSet


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

  Changed paths:
    A llvm/test/CodeGen/X86/fp16-libcalls.ll

  Log Message:
  -----------
  [X86] Add some initial test coverage for half libcall expansion/promotion

We can add additional tests in the future, but this is an initial placeholder

Inspired by #105775


  Commit: 01b6d3d62c1395b44627da83d916beb42a598101
      https://github.com/llvm/llvm-project/commit/01b6d3d62c1395b44627da83d916beb42a598101
  Author: Michael Park <mcypark at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/Parse/ParseExpr.cpp

  Log Message:
  -----------
  [NFC] Fix an incorrect comment about operator precedence. (#105784)

The comment talks about left-associative operators twice, when the
latter mention is actually describing right-associative operators.


  Commit: 8d54b7df29426ef55814e7a6218be463bd8d78af
      https://github.com/llvm/llvm-project/commit/8d54b7df29426ef55814e7a6218be463bd8d78af
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/test/Transforms/PGOProfile/ctx-instrumentation.ll
    M llvm/test/Transforms/PGOProfile/ctx-prof-use-prelink.ll

  Log Message:
  -----------
  [ctx_prof] Remove the dependency on the "name" GlobalVariable (#105731)

We don't need that name variable for contextual instrumentation, we just
use the function to get its GUID which we pass to the runtime, and rely
on metadata to capture it through the various optimization passes. This
change removes the need for the name global variable.


  Commit: 73e26f463be5df9b9525e5858da15a38e7c2df66
      https://github.com/llvm/llvm-project/commit/73e26f463be5df9b9525e5858da15a38e7c2df66
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/orc/macho_platform.cpp

  Log Message:
  -----------
  [orc][mach-o] Unlock the JITDylib state mutex during +load (#105333)

Similar to what was already done for static initializers, we need to
unlock the state mutext when calling out to libobjc to run +load methods
in case they cause us to reenter the runtime, which was previously
deadlocking. No test for now, because we don't have any code paths in
llvm-jitlink itself that could lead to this deadlock. If we interpose
calls to dlopen to go back to the JIT in the future then calling dlopen
from a +load is the easiest way to reproduce this.

rdar://133430490


  Commit: f78a51e771aec66562af547856b1539f348cbdf9
      https://github.com/llvm/llvm-project/commit/f78a51e771aec66562af547856b1539f348cbdf9
  Author: Joshua Batista <jbatista at microsoft.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/ast-dump-comment-cbuffe-tbufferr.hlsl
    M clang/test/AST/HLSL/cbuffer_tbuffer.hlsl
    M clang/test/AST/HLSL/packoffset.hlsl
    M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
    M clang/test/AST/HLSL/resource_binding_attr.hlsl
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_class_attr_error.hlsl
    M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
    A clang/test/SemaHLSL/resource_binding_attr_error_basic.hlsl
    A clang/test/SemaHLSL/resource_binding_attr_error_other.hlsl
    A clang/test/SemaHLSL/resource_binding_attr_error_resource.hlsl
    A clang/test/SemaHLSL/resource_binding_attr_error_silence_diags.hlsl
    A clang/test/SemaHLSL/resource_binding_attr_error_udt.hlsl

  Log Message:
  -----------
  Implement resource binding type prefix mismatch diagnostic infrastructure (#97103)

There are currently no diagnostics being emitted for when a resource is
bound to a register with an incorrect binding type prefix. For example,
a CBuffer type resource should be bound with a a binding type prefix of
'b', but if instead the prefix is 'u', no errors will be emitted. This
PR implements such diagnostics. The focus of this PR is to implement
both the flag setting and diagnostic emisison steps specified in the
relevant spec: https://github.com/microsoft/hlsl-specs/pull/230
The relevant issue is: https://github.com/llvm/llvm-project/issues/57886
This is a continuation / refresh of this PR:
https://github.com/llvm/llvm-project/pull/87578


  Commit: b1b9323a3a6cdfc6b5f5ef94eaa497f0cff7294d
      https://github.com/llvm/llvm-project/commit/b1b9323a3a6cdfc6b5f5ef94eaa497f0cff7294d
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h
    M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
    M mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
    A mlir/test/Integration/Dialect/SparseTensor/CPU/iterator-based-kernel.mlir
    R mlir/test/Integration/Dialect/SparseTensor/CPU/iterator-based-sqsum.mlir

  Log Message:
  -----------
  [mlir][sparse] partially support lowering sparse coiteration loops to scf.while/for. (#105565)


  Commit: 1bbc75c2a2ed2c4e53b3d3884b22dc979f583026
      https://github.com/llvm/llvm-project/commit/1bbc75c2a2ed2c4e53b3d3884b22dc979f583026
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/OpenMP/Passes.td
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
    M flang/test/Lower/OpenMP/array-bounds.f90
    M flang/test/Lower/OpenMP/common-block-map.f90
    M flang/test/Lower/OpenMP/derived-type-map.f90
    M flang/test/Lower/OpenMP/target.f90
    A offload/test/offloading/fortran/local-descriptor-map-regress.f90

  Log Message:
  -----------
  [Flang][OpenMP] Align  map clause generation and fix issue with non-shared allocations for assumed shape/size descriptor types (#97855)

This PR aims to unify the map argument generation behavior across both
the implicit capture (captured in a target region) and the explicit
capture (process map), currently the varPtr field of the MapInfo for the
same variable will be different depending on how it's captured. This PR
tries to align that across the generations of MapInfoOp in the OpenMP
lowering.

Currently, I have opted to utilise the rawInput (input memref to a HLFIR
DeclareInfoOp) as opposed to the addr field which includes more
information. The side affect of this is that we have to deal with
BoxTypes less often, which will result in simpler maps in these cases.
The negative side affect of this is that we don't have access to the
bounds information through the resulting value, however, I believe the
bounds information we require in our case is still appropriately stored
in the map bounds, and this seems to be the case from testing so far.

The other fix is for cases where we end up with a BoxType argument into
a function (certain assumed shape and sizes cases do this) that has no
fir.ref wrapping it. As we need the Box to be a reference type to
actually utilise the operation to access the base address stored inside
and create the correct mappings we currently generate an intermediate
allocation in these cases, and then store into it, and utilise this as
the map argument, as opposed to the original.

However, as we were not sharing the same intermediate allocation across
all of the maps for a variable, this resulted in errors in certain cases
when detatching/attatching the data e.g. via enter and exit. This PR
adjusts this for cases

Currently we only maintain tracking of all intermediate allocations for
the current function scope, as opposed to module. Primarily as the only
case I am aware of that this is required is in cases where we pass
certain types of arguments to functions (so I opted to minimize the
overhead of the pass for now). It could likely be extended to module
scope if required if we find other cases where it's applicable and
causing issues.


  Commit: 5615e00bad0389dcf594c29c769f3afb7666d4ff
      https://github.com/llvm/llvm-project/commit/5615e00bad0389dcf594c29c769f3afb7666d4ff
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp

  Log Message:
  -----------
  Fix some warnings in SemaHLSL.cpp.


  Commit: ba250108a542d8317fc318f8ac7bc008d28f44b9
      https://github.com/llvm/llvm-project/commit/ba250108a542d8317fc318f8ac7bc008d28f44b9
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/test/Shell/Unwind/trap_frame_sym_ctx.test

  Log Message:
  -----------
  Revert "Revert "[lldb] Speculative fix for trap_frame_sym_ctx.test""

This reverts commit fd7904a07bc26950fa7735fb6871a064e3ebc836.


  Commit: 98baa103758b89ea480c10dfe56f6ec2d1c444d5
      https://github.com/llvm/llvm-project/commit/98baa103758b89ea480c10dfe56f6ec2d1c444d5
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/bindings/python/python-wrapper.swig
    M lldb/include/lldb/API/SBFrame.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/include/lldb/Target/StackFrame.h
    M lldb/include/lldb/Target/StackFrameList.h
    M lldb/include/lldb/Target/StackFrameRecognizer.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/source/API/SBFrame.cpp
    M lldb/source/API/SBThread.cpp
    M lldb/source/Commands/CommandCompletions.cpp
    M lldb/source/Commands/CommandObjectFrame.cpp
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/StackFrame.cpp
    M lldb/source/Target/StackFrameList.cpp
    M lldb/source/Target/StackFrameRecognizer.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/source/Target/ThreadPlanStepOut.cpp
    M lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py
    M lldb/test/API/commands/frame/recognizer/main.m
    M lldb/test/API/commands/frame/recognizer/recognizer.py
    A lldb/test/API/lang/cpp/std-function-recognizer/Makefile
    A lldb/test/API/lang/cpp/std-function-recognizer/TestStdFunctionRecognizer.py
    A lldb/test/API/lang/cpp/std-function-recognizer/main.cpp

  Log Message:
  -----------
  Revert "Revert "[lldb] Extend frame recognizers to hide frames from backtraces (#104523)""

This reverts commit 547917aebd1e79a8929b53f0ddf3b5185ee4df74.


  Commit: 61b2d27717e3aae84681f4100c94da84e7732d72
      https://github.com/llvm/llvm-project/commit/61b2d27717e3aae84681f4100c94da84e7732d72
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    A lldb/test/API/tools/lldb-dap/stackTrace/subtleFrames/Makefile
    A lldb/test/API/tools/lldb-dap/stackTrace/subtleFrames/TestDAP_subtleFrames.py
    A lldb/test/API/tools/lldb-dap/stackTrace/subtleFrames/main.cpp
    M lldb/tools/lldb-dap/JSONUtils.cpp

  Log Message:
  -----------
  Revert "Revert "[lldb-dap] Mark hidden frames as "subtle" (#105457)""

This reverts commit aa70f83e660453c006193aab7ba67c94db236948.


  Commit: 80b23d107cf001ae3ef8a5584dd9157a119d6726
      https://github.com/llvm/llvm-project/commit/80b23d107cf001ae3ef8a5584dd9157a119d6726
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/bindings/python/python-wrapper.swig

  Log Message:
  -----------
  Revert "Revert "[lldb][swig] Use the correct variable in the return statement""

This reverts commit 7323e7eee3a819e9a2d8ec29f00d362bcad87731.


  Commit: 3af58d77af8bbb93c265a507d9f3b1a985258ed5
      https://github.com/llvm/llvm-project/commit/3af58d77af8bbb93c265a507d9f3b1a985258ed5
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Target/StackFrame.h

  Log Message:
  -----------
  [lldb] Fix uninitialized variable


  Commit: 87445c69cd22e1beffab0e4d92d9c6b1628e70a4
      https://github.com/llvm/llvm-project/commit/87445c69cd22e1beffab0e4d92d9c6b1628e70a4
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/utils/TableGen/Basic/SequenceToOffsetTable.h

  Log Message:
  -----------
  [TableGen] Refactor SequenceToOffsetTable class (#104986)

- Replace use of std::isalnum/ispunct with StringExtras version to avoid
possibly locale dependent behavior.
- Remove `static` from printChar (do its deduplicated when linking).
- Use range based for loops and structured bindings.
- No need to use `llvm::` for code in llvm namespace.


  Commit: 4ad95706eaa524c4d9f84dac06e1962844f091bd
      https://github.com/llvm/llvm-project/commit/4ad95706eaa524c4d9f84dac06e1962844f091bd
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp

  Log Message:
  -----------
  [mlir][sparse] refactoring sparse_tensor.iterate lowering pattern implementation. (#105566)


  Commit: 2e2c8ca7f3512f8c2878888a13a84fd5262bcf38
      https://github.com/llvm/llvm-project/commit/2e2c8ca7f3512f8c2878888a13a84fd5262bcf38
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp

  Log Message:
  -----------
  [Clang] Assert non-null enum definition in CGDebugInfo::CreateTypeDefinition(const EnumType*) (#105556)

This commit adds an assert to check for a non-null enum definition in
CGDebugInfo::CreateTypeDefinition(const EnumType*), ensuring
precondition validity.

Previous discussion on https://github.com/llvm/llvm-project/pull/97105


  Commit: 8d2d4e54fbc3e47fecfc81db80d65c24bb2ef8c8
      https://github.com/llvm/llvm-project/commit/8d2d4e54fbc3e47fecfc81db80d65c24bb2ef8c8
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M flang/runtime/numeric.cpp

  Log Message:
  -----------
  [flang][runtime] Add FLANG_RUNTIME_NO_REAL_3 flag to build (#105856)

Allow a runtime build to disable SELECTED_REAL_KIND from returning kind
3 (16-bit truncated form of 32-bit IEEE-754 floating point, a/k/a "brain
float" or bfloat16).


  Commit: 409fe04aa504d59e4b12758e37cf9107ffc10307
      https://github.com/llvm/llvm-project/commit/409fe04aa504d59e4b12758e37cf9107ffc10307
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lld/COFF/Chunks.cpp
    M lld/COFF/Chunks.h
    M lld/COFF/Driver.cpp
    M lld/COFF/Writer.cpp
    M lld/test/COFF/Inputs/loadconfig-arm64ec.s
    M lld/test/COFF/arm64ec-export-thunks.test
    M lld/test/COFF/arm64ec-patchable-thunks.test

  Log Message:
  -----------
  [LLD][COFF] Add support for CHPE redirection metadata. (#105739)

This is part of CHPE metadata containing a sorted list of x86_64 export
thunks RVAs and RVAs of ARM64EC functions associated with them. It's
stored in a dedicated .a64xrm section.


  Commit: b82ea70f203e4c0b38224371a1eea7800232ca0e
      https://github.com/llvm/llvm-project/commit/b82ea70f203e4c0b38224371a1eea7800232ca0e
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/load-local-i1.ll
    A llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/load-i1-misaligned.ll

  Log Message:
  -----------
  [AMDGPU] Fix crash in allowsMisalignedMemoryAccesses with i1 (#105794)


  Commit: 892b5eff96b6c9ccc9aa39f54e9641486513f0f0
      https://github.com/llvm/llvm-project/commit/892b5eff96b6c9ccc9aa39f54e9641486513f0f0
  Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/test/Dialect/SCF/canonicalize.mlir
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][SCF] Allow canonicalization of zero-trip count `scf.forall` with empty mapping. (#105793)

Current folding of one-trip count loop does not kick in with an empty
mapping. Enable this for empty mapping.

Signed-off-by: MaheshRavishankar <mahesh.ravishankar at gmail.com>


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

  Changed paths:
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/test/Analysis/DXILResource/buffer-frombinding.ll

  Log Message:
  -----------
  [DXIL][Analysis] Uniquify duplicate resources in DXILResourceAnalysis

If a resources is used multiple times, we should only have one resource record
for it. This comes up most prominantly with arrays of resources like so:

```hlsl
RWBuffer<float4> BufferArray[10] : register(u0, space4);
RWBuffer<float4> B1 = BufferArray[0];
RWBuffer<float4> B2 = BufferArray[SomeIndex];
RWBuffer<float4> B3 = BufferArray[3];
```

In this case, there's only one resource, but we'll generate 3 different
`dx.handle.fromBinding` calls to access different slices.

Note that this adds some API that won't be used until #104447 later in the
stack. Trying to avoid that results in unnecessary churn.

Fixes #105143

Pull Request: https://github.com/llvm/llvm-project/pull/105602


  Commit: be57a163a4c64e4e7e56f43c35807be1ba7777ee
      https://github.com/llvm/llvm-project/commit/be57a163a4c64e4e7e56f43c35807be1ba7777ee
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/include/lldb/Target/StackFrameRecognizer.h

  Log Message:
  -----------
  [lldb] Add missing initialization (NFC)


  Commit: 028c092dc181cc4e17d0fb0212c8bfa80bbd755e
      https://github.com/llvm/llvm-project/commit/028c092dc181cc4e17d0fb0212c8bfa80bbd755e
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lld/COFF/Chunks.cpp
    M lld/COFF/Chunks.h
    M lld/COFF/Driver.cpp
    M lld/COFF/Writer.cpp
    M lld/test/COFF/Inputs/loadconfig-arm64ec.s
    M lld/test/COFF/arm64ec-export-thunks.test
    M lld/test/COFF/arm64ec-patchable-thunks.test

  Log Message:
  -----------
  [LLD][COFF] Add support for CHPE code ranges metadata. (#105741)

This is part of CHPE metadata containing a sorted list of x86_64 export
thunks RVAs and sizes.


  Commit: 6963042d756f1ec102e51293859a86797596e082
      https://github.com/llvm/llvm-project/commit/6963042d756f1ec102e51293859a86797596e082
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/Sema/SemaStmtAsm.cpp
    M clang/test/Analysis/asm.cpp
    M clang/test/Analysis/cfg.c
    M clang/test/Analysis/cfg.cpp
    A clang/test/Driver/heinous-gnu-extensions.c
    M clang/test/Misc/warning-flags.c
    M clang/test/Sema/heinous-extensions-off.c
    M clang/test/Sema/heinous-extensions-on.c

  Log Message:
  -----------
  Deprecate -fheinous-gnu-extensions; introduce a new warning flag (#105821)

The new warning flag is `-Winvalid-gnu-asm-cast`, which is enabled by
default and is a downgradable diagnostic which defaults to an error.

This language dialect flag only controls whether a single diagnostic is
emitted as a warning or as an error, and has never been expanded to
include other behaviors. Given the rather perjorative name, it's better
for us to just expose a diagnostic flag for the one warning in question
and let the user elect to do `-Wno-error=` if they need to.

There's not a lot of use of the language dialect flag in the wild, but
there is some use of it. For the time being, this aliases the -f flag to
`-Wno-error=invalid-gnu-asm-cast`, but the -f flag can eventually be
removed.


  Commit: 0513f36a5c4c675a3fa4ffe854d8fcbbbb21f87f
      https://github.com/llvm/llvm-project/commit/0513f36a5c4c675a3fa4ffe854d8fcbbbb21f87f
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/www/c_status.html

  Log Message:
  -----------
  Fix rowspan formatting; NFC


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

  Changed paths:
    M llvm/docs/DirectX/DXILResources.rst
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
    M llvm/lib/Target/DirectX/DXILOpBuilder.h
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    A llvm/test/CodeGen/DirectX/CreateHandle.ll
    A llvm/test/CodeGen/DirectX/CreateHandleFromBinding.ll

  Log Message:
  -----------
  [DirectX] Lower `@llvm.dx.handle.fromBinding` to DXIL ops

The `@llvm.dx.handle.fromBinding` intrinsic is lowered either to the
`CreateHandle` op or a pair of `CreateHandleFromBinding` and `AnnotateHandle`
ops, depending on the DXIL version. Regardless of the DXIL version we need to
emit metadata about the binding, but that's left to a separate change.

These DXIL ops all need to return the `%dx.types.Handle` type, but the llvm
intrinsic returns a target extension type. To facilitate changing the type of
the operation and all of its users, we introduce `%llvm.dx.cast.handle`, which
can cast between the two handle representations.

Pull Request: https://github.com/llvm/llvm-project/pull/104251


  Commit: 02e259cef0422b05065de5c92dede0b773fb0d93
      https://github.com/llvm/llvm-project/commit/02e259cef0422b05065de5c92dede0b773fb0d93
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp

  Log Message:
  -----------
  [GDBRemote] Fix processing of comma-separated memory region entries (#105873)

The existing algorithm was performing the following comparisons for an
`aaa,bbb,ccc,ddd`:

aaa\0bbb,ccc,ddd == "stack"
aaa\0bbb\0ccc,ddd == "stack"
aaa\0bbb\0ccc\0ddd == "stack"

Which wouldn't work. This commit just dispatches to a known algorithm
implementation.


  Commit: 82af0df0ca1f37add53bc40857c2e446c383e44e
      https://github.com/llvm/llvm-project/commit/82af0df0ca1f37add53bc40857c2e446c383e44e
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
    M llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
    M llvm/lib/Analysis/MLInlineAdvisor.cpp

  Log Message:
  -----------
  [nfc][mlgo] Incrementally update DominatorTreeAnalysis in FunctionPropertiesAnalysis (#104867)

We need the dominator tree analysis for loop info analysis, which we need to get features like most nested loop and number of top level loops. Invalidating and recomputing these from scratch after each successful inlining can sometimes lead to lengthy compile times. We don't need to recompute from scratch, though, since we have some boundary information about where the changes to the CFG happen; moreover, for dom tree, the API supports incrementally updating the analysis result.

This change addresses the dom tree part. The loop info is still recomputed from scratch. This does reduce the compile time quite significantly already, though (~5x in a specific case)

The loop info change might be more involved and would follow in a subsequent PR.


  Commit: a67313ba383f258ae1ed172c47951bb88cd6df54
      https://github.com/llvm/llvm-project/commit/a67313ba383f258ae1ed172c47951bb88cd6df54
  Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/test/lib/Dialect/Linalg/TestLinalgDropUnitDims.cpp

  Log Message:
  -----------
  [mlir][Linalg] Avoid doing op replacement in `linalg::dropUnitDims`. (#105749)

It is better to do the replacement in the caller. This avoids the
footgun if the caller needs the original operation. Instead return the
produced operation and replacement values.

Signed-off-by: MaheshRavishankar <mahesh.ravishankar at gmail.com>


  Commit: 43af300df5feed15a707982f7b47738847953778
      https://github.com/llvm/llvm-project/commit/43af300df5feed15a707982f7b47738847953778
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
    M mlir/test/Dialect/Bufferization/Transforms/finalizing-bufferize.mlir
    M mlir/test/Transforms/test-legalize-type-conversion.mlir

  Log Message:
  -----------
  [mlir][Transforms] Dialect conversion: Make materializations optional (#104668)

This commit makes source/target/argument materializations (via the
`TypeConverter` API) optional.

By default (`ConversionConfig::buildMaterializations = true`), the
dialect conversion infrastructure tries to legalize all unresolved
materializations right after the main transformation process has
succeeded. If at least one unresolved materialization fails to resolve,
the dialect conversion fails. (With an error message such as `failed to
legalize unresolved materialization ...`.) Automatic materializations
through the `TypeConverter` API can now be deactivated. In that case,
every unresolved materialization will show up as a
`builtin.unrealized_conversion_cast` op in the output IR.

There used to be a complex and error-prone analysis in the dialect
conversion that predicted the future uses of unresolved
materializations. Based on that logic, some casts (that were deemed to
unnecessary) were folded. This analysis was needed because folding
happened at a point of time when some IR changes (e.g., op replacements)
had not materialized yet.

This commit removes that analysis. Any folding of cast ops now happens
after all other IR changes have been materialized and the uses can
directly be queried from the IR. This simplifies the analysis
significantly. And certain helper data structures such as
`inverseMapping` are no longer needed for the analysis. The folding
itself is done by `reconcileUnrealizedCasts` (which also exists as a
standalone pass).

After casts have been folded, the remaining casts are materialized
through the `TypeConverter`, as usual. This last step can be deactivated
in the `ConversionConfig`.

`ConversionConfig::buildMaterializations = false` can be used to debug
error messages such as `failed to legalize unresolved materialization
...`. (It is also useful in case automatic materializations are not
needed.) The materializations that failed to resolve can then be seen as
`builtin.unrealized_conversion_cast` ops in the resulting IR. (This is
better than running with `-debug`, because `-debug` shows IR where some
IR changes have not been materialized yet.)


  Commit: 6a57456310bd221042cbd8d86057896def8748d6
      https://github.com/llvm/llvm-project/commit/6a57456310bd221042cbd8d86057896def8748d6
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp

  Log Message:
  -----------
  [rtsan][compiler-rt] Prevent UB hang in rtsan lock unit tests (#104733)

It is undefined behavior to lock or unlock an uninitialized lock, and
unlock a lock which isn't locked.

Introduce a fixture to set up and tear down the locks where
appropriate, and separates them into two tests (realtime death and non
realtime survival) so each test is guaranteed a fresh lock.


  Commit: 4f21f810e6b2abe743a7df6ca132ec7f7e1f5079
      https://github.com/llvm/llvm-project/commit/4f21f810e6b2abe743a7df6ca132ec7f7e1f5079
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

  Log Message:
  -----------
  [Bitcode] Use DenseSet instead of std::set (NFC) (#105851)

DefOrUseGUIDs is used only for membership checking purposes.  We don't
need std::set's strengths like iterators staying valid or the ability
to traverse in a sorted order.

While I am at it, this patch replaces count with contains for slightly
increased readability.


  Commit: 19ee1acc2941cb1d056c5b26e43ba079bc49dd06
      https://github.com/llvm/llvm-project/commit/19ee1acc2941cb1d056c5b26e43ba079bc49dd06
  Author: Volodymyr Vasylkun <vvmposeydon at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/scmp.ll
    M llvm/test/Transforms/InstCombine/select-select.ll
    M llvm/test/Transforms/InstCombine/ucmp.ll

  Log Message:
  -----------
  [InstCombine] Fold `(x < y) ? -1 : zext(x > y)` and `(x > y) ? 1 : sext(x < y)` to `ucmp/scmp(x, y)` (#105272)

This patch expands already existing funcionality to include these two
additional folds, which are nearly identical to the ones already
implemented.

Proofs: https://alive2.llvm.org/ce/z/Xy7s4j


  Commit: 666266955bd2ec5d2838b1e76113d35a3b552ff9
      https://github.com/llvm/llvm-project/commit/666266955bd2ec5d2838b1e76113d35a3b552ff9
  Author: pokeslow <69726511+cseslowpoke at users.noreply.github.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/nsan/nsan.cpp
    M compiler-rt/lib/nsan/nsan_flags.inc
    A compiler-rt/test/nsan/nan.cpp
    A compiler-rt/test/nsan/softmax.cpp
    A compiler-rt/test/nsan/vec_sqrt.cpp
    A compiler-rt/test/nsan/vec_sqrt_ext.cpp

  Log Message:
  -----------
  [compiler-rt][nsan] Add support for nan detection (#101531)

Add support for nan detection.
#100305


  Commit: bbd53ba4f4282e37e63875eff8bb3589a3f8844a
      https://github.com/llvm/llvm-project/commit/bbd53ba4f4282e37e63875eff8bb3589a3f8844a
  Author: Peiming Liu <peiming at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp

  Log Message:
  -----------
  [mlir][sparse] unify block arguments order between iterate/coiterate operations. (#105567)


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

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitNonSemanticDI.cpp

  Log Message:
  -----------
  [SPIRV] Fix return type mismatch for createSPIRVEmitNonSemanticDIPass (#105889)

The declaration in SPIRV.h had this returning a `MachineFunctionPass *`,
but the implementation returned a `FunctionPass *`. This showed up as a
build error on windows, but it was clearly a mistake regardless.

I also updated the pass to include SPIRV.h rather than using its own
declarations for pass initialization, as this results in better errors
for this kind of typo.

Fixes a build break after #97558


  Commit: f6510315129a3db0c86aa69748630cf955ddd3cd
      https://github.com/llvm/llvm-project/commit/f6510315129a3db0c86aa69748630cf955ddd3cd
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_flags.inc
    M compiler-rt/lib/asan/asan_globals.cpp
    M compiler-rt/test/asan/TestCases/Linux/initialization-nobug-lld.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_indicator_unregister.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_indicators.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_global_dead_strip.c
    M compiler-rt/test/asan/TestCases/Windows/dll_report_globals_symbolization_at_startup.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_dead_strip.c
    M compiler-rt/test/asan/TestCases/Windows/report_globals_vs_freelibrary.cpp
    M compiler-rt/test/asan/TestCases/initialization-nobug.cpp

  Log Message:
  -----------
  "Reland "[asan] Remove debug tracing from `report_globals` (#104404)" (#105895)

Reland #104404.

In addition to #104404 it raises required
verbosity for stack tracing on global
registration. It confuses a symbolizer test on
Darwin.

This reverts commit 6a8f73803a32db75d22490d341bf8744722a9025.


  Commit: da451ba2d7b32fbc7944b07e893e9cde23b6f432
      https://github.com/llvm/llvm-project/commit/da451ba2d7b32fbc7944b07e893e9cde23b6f432
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
    M mlir/test/Dialect/Tensor/tiling.mlir

  Log Message:
  -----------
  [mlir][tensor] Add TilingInterface support for fusing tensor.pad (#105892)

This adds implementations for the two TilingInterface methods required
for fusion to `tensor.pad`: `getIterationDomainTileFromResultTile` and
`generateResultTileValue`, allowing fusion of pad with a tiled consumer.


  Commit: 2cff94c7fd92c8563053f4a54726525890860560
      https://github.com/llvm/llvm-project/commit/2cff94c7fd92c8563053f4a54726525890860560
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp

  Log Message:
  -----------
  Fix bot failures after PR #104867

An assert was left over after addressing feedback. In the process of
fixing, realized the way I addressed the feedback was also incomplete.


  Commit: 4bebd79566aa504d69498719777c83ad1533d16b
      https://github.com/llvm/llvm-project/commit/4bebd79566aa504d69498719777c83ad1533d16b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm] Use range-based for loops (NFC) (#105861)


  Commit: 231ef2c9986b1e2b2f4c3d9b5fd31d482047f250
      https://github.com/llvm/llvm-project/commit/231ef2c9986b1e2b2f4c3d9b5fd31d482047f250
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/tools/llvm-lto/llvm-lto.cpp

  Log Message:
  -----------
  [IR] Inroduce ModuleToSummariesForIndexTy (NFC) (#105906)

This patch introduces type alias ModuleToSummariesForIndexTy.

I'm planning to change the type slightly to allow heterogeneous lookup
(that is, std::map<K, V, std::less<>>) in a subsequent patch.  The
problem is that changing the type affects many places.  Using a type
alias reduces the impact.


  Commit: 4fa82d40566ce8e3518375a0517df28c24fd44f9
      https://github.com/llvm/llvm-project/commit/4fa82d40566ce8e3518375a0517df28c24fd44f9
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/nsan/nsan.cpp
    M compiler-rt/lib/nsan/nsan_flags.inc
    R compiler-rt/test/nsan/nan.cpp
    R compiler-rt/test/nsan/softmax.cpp
    R compiler-rt/test/nsan/vec_sqrt.cpp
    R compiler-rt/test/nsan/vec_sqrt_ext.cpp

  Log Message:
  -----------
  Revert "[compiler-rt][nsan] Add support for nan detection" (#105909)

Reverts llvm/llvm-project#101531

Fails https://lab.llvm.org/buildbot/#/builders/66/builds/3051


  Commit: 88b90e9fa49c62e64583923829e063281d1975a0
      https://github.com/llvm/llvm-project/commit/88b90e9fa49c62e64583923829e063281d1975a0
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-08-24 (Sat, 24 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] Turn new/delete usages to ambiguous references (#105844)

In practice most of these expressions just resolve to implicitly
provided `operator new` and standard says it's not necessary to include
`<new>` for that.
Hence this is resulting in a lot of churn in cases where inclusion of
`<new>` doesn't matter, and might even be undesired by the developer.

By switching to an ambiguous reference we try to find a middle ground
here, ensuring that we don't drop providers of `operator new` when the
developer explicitly listed them in the includes, and chose to believe
it's the implicitly provided `operator new` and don't insert an include
in other cases.


  Commit: 5a452858b8994b91fee1236a2fef3db8663f475b
      https://github.com/llvm/llvm-project/commit/5a452858b8994b91fee1236a2fef3db8663f475b
  Author: kadir çetinkaya <kadircet at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Treat new expressions as simple functions (#105168)

ccae7b461be339e717d02f99ac857cf0bc7d17f improved handling for nested
calls, but this resulted in a lot of changes near `new` expressions.

This patch tries to restore previous behavior around new expressions, by
treating them as simple functions, which seem to align with the concept.

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


  Commit: ce749db9dc691fbdd2707a24eed7145539079546
      https://github.com/llvm/llvm-project/commit/ce749db9dc691fbdd2707a24eed7145539079546
  Author: vporpo <vporpodas at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/include/llvm/SandboxIR/SandboxIRValues.def
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp
    M llvm/unittests/SandboxIR/TrackerTest.cpp

  Log Message:
  -----------
  [SandboxIR] Implement CleanupReturnInst (#105750)

This patch implements sandboxir::CleanupReturnInst mirroring
llvm::CleanupReturnInst.


  Commit: 56a35b57d2c48f4217f9586d12ca6b065d8b605d
      https://github.com/llvm/llvm-project/commit/56a35b57d2c48f4217f9586d12ca6b065d8b605d
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/include/llvm/ADT/StableHashing.h
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/lib/CodeGen/MachineStableHash.cpp

  Log Message:
  -----------
  [StableHash] Implement with xxh3_64bits (#105849)

This is a follow-up to address a suggestion from
https://github.com/llvm/llvm-project/pull/105619.
The main goal of this change is to efficiently implement stable hash
functions using the xxh3 64bits API.
`stable_hash_combine_range` and `stable_hash_combine_array` functions
are removed and consolidated into a more general `stable_hash_combine`
function that takes an `ArrayRef<stable_hash>` as input.


  Commit: 309a92798d80edec4fffc2dff212fd76ec4431fe
      https://github.com/llvm/llvm-project/commit/309a92798d80edec4fffc2dff212fd76ec4431fe
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M llvm/docs/GitHub.rst

  Log Message:
  -----------
  [docs] Fix links in github user guide - graphite section

Mistakenly used markdown style rather than rst in #104499.


  Commit: e4db22bcdf24f54ae3ea12be2a7c5acdab5317f4
      https://github.com/llvm/llvm-project/commit/e4db22bcdf24f54ae3ea12be2a7c5acdab5317f4
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/test/AST/ByteCode/invalid.cpp

  Log Message:
  -----------
  [clang][bytecode][NFC] Move test to verify=expected,both style


  Commit: 826ef9ea0491665efe50ce8b8c695930ba7e83c1
      https://github.com/llvm/llvm-project/commit/826ef9ea0491665efe50ce8b8c695930ba7e83c1
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/IntegralAP.h
    M clang/test/AST/ByteCode/intap.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix IntegralAP::is{Positive,Negative} (#105924)

This depends on signed-ness.


  Commit: d0f8c41fb0eb093f5ddec314b3b946b7098c0d42
      https://github.com/llvm/llvm-project/commit/d0f8c41fb0eb093f5ddec314b3b946b7098c0d42
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/IntegralAP.h

  Log Message:
  -----------
  [clang][bytecode][NFC] Fix printing signed IntegralAP values


  Commit: c4f7769baccbe200a09d075a0d5e13f13f83555a
      https://github.com/llvm/llvm-project/commit/c4f7769baccbe200a09d075a0d5e13f13f83555a
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/test/AST/ByteCode/intap.cpp

  Log Message:
  -----------
  [clang][bytecode][NFC] Move test case to -verify=expected,both style


  Commit: 0dfcd3fa2a3cf4707f5a55e11de8aca19d266474
      https://github.com/llvm/llvm-project/commit/0dfcd3fa2a3cf4707f5a55e11de8aca19d266474
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_flags.inc
    M compiler-rt/lib/asan/asan_globals.cpp
    M compiler-rt/test/asan/TestCases/Linux/initialization-nobug-lld.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_indicator_unregister.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_indicators.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_global_dead_strip.c
    M compiler-rt/test/asan/TestCases/Windows/dll_report_globals_symbolization_at_startup.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_dead_strip.c
    M compiler-rt/test/asan/TestCases/Windows/report_globals_vs_freelibrary.cpp
    M compiler-rt/test/asan/TestCases/initialization-nobug.cpp

  Log Message:
  -----------
  Revert ""Reland "[asan] Remove debug tracing from `report_globals` (#104404)"" (#105926)

Reverts llvm/llvm-project#105895

Still breaks the test
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1864/


  Commit: 78db41716f3a28349298552f583cf013ce948f52
      https://github.com/llvm/llvm-project/commit/78db41716f3a28349298552f583cf013ce948f52
  Author: Justin Stitt <justinstitt at google.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UndefinedBehaviorSanitizer.rst
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/Expr.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Driver/SanitizerArgs.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGen/ignore-overflow-pattern-false-pos.c
    M clang/test/CodeGen/ignore-overflow-pattern.c

  Log Message:
  -----------
  [Clang] Overflow Pattern Exclusion - rename some patterns, enhance docs (#105709)

>From @vitalybuka's review on
https://github.com/llvm/llvm-project/pull/104889:
- [x] remove unused variable in tests
- [x] rename `post-decr-while` --> `unsigned-post-decr-while`
- [x] split `add-overflow-test` into `add-unsigned-overflow-test` and
`add-signed-overflow-test`
- [x] be more clear about defaults within docs
- [x] add table to docs

Here's a screenshot of the rendered table so you don't have to build the
html docs yourself to inspect the layout:

![image](https://github.com/user-attachments/assets/5d3497c4-5f5a-4579-b29b-96a0fd192faa)


CCs: @vitalybuka

---------

Signed-off-by: Justin Stitt <justinstitt at google.com>
Co-authored-by: Vitaly Buka <vitalybuka at google.com>


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

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h

  Log Message:
  -----------
  [clang][bytecode][NFC] Add an additional assertion (#105927)

Since this must be true, add an assertion instead of just documenting it
via the comment.


  Commit: 10b51f4df6b5f2810f05c93e9b1b5dca422e5927
      https://github.com/llvm/llvm-project/commit/10b51f4df6b5f2810f05c93e9b1b5dca422e5927
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-08-24 (Sat, 24 Aug 2024)

  Changed paths:
    M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTest.h
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  [clang][test] remove unused `run` overload in `BoundNodesCallback`

The overload that did not take the additional `ASTContext *` argument is
unnecessary when the context could simply be commented out, as it is
always passed to `run` from `VerifyMatcher::run`.
This patch removes the single-argument overload in favor of having a
single overload.


Compare: https://github.com/llvm/llvm-project/compare/26d5b0377af3...10b51f4df6b5

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