[all-commits] [llvm/llvm-project] 1143a0: [DebugInfo][DWARF] Emit DW_AT_abstract_origin for ...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Apr 24 13:15:33 PDT 2025


  Branch: refs/heads/users/vitalybuka/spr/drivercfi-allow-cfi-with-minimal-runtime
  Home:   https://github.com/llvm/llvm-project
  Commit: 1143a04f349c4081a1a2d2503046f6ca422aa338
      https://github.com/llvm/llvm-project/commit/1143a04f349c4081a1a2d2503046f6ca422aa338
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/Generic/inline-scopes.ll
    A llvm/test/DebugInfo/Generic/lexical-block-abstract-origin.ll
    M llvm/test/DebugInfo/X86/lexical-block-file-inline.ll
    M llvm/test/DebugInfo/X86/missing-abstract-variable.ll

  Log Message:
  -----------
  [DebugInfo][DWARF] Emit DW_AT_abstract_origin for concrete/inlined DW_TAG_lexical_blocks (#136205)

During the discussion under
https://github.com/llvm/llvm-project/pull/119001, it was noticed that
concrete DW_TAG_lexical_blocks should refer to corresponding abstract
DW_TAG_lexical_blocks by having DW_AT_abstract_origin, to avoid
ambiguity. This behavior is implemented in GCC
(https://godbolt.org/z/Khrzdq1Wx), but not in LLVM.

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


  Commit: 3e7e23d7d0eecf30dbb8adfae175696262e0b08e
      https://github.com/llvm/llvm-project/commit/3e7e23d7d0eecf30dbb8adfae175696262e0b08e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/test/Headers/__clang_hip_cmath.hip
    M clang/test/Headers/__clang_hip_math.hip

  Log Message:
  -----------
  clang/HIP: Add tests that shows fpmath metadata ends up on sqrt calls (#136413)

Make sure the builtin header sqrts work with
-fno-hip-f32-correctly-rounded-divide-sqrt, and we end up with
properly annotated sqrt intrinsic callsites.


  Commit: 6e3b16bec3a3384d8d2deb23d770d1d6a7357c50
      https://github.com/llvm/llvm-project/commit/6e3b16bec3a3384d8d2deb23d770d1d6a7357c50
  Author: David Green <david.green at arm.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/GlobalISel/select-binop.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-scalar-shift-imm.mir
    M llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix EXTRACT_SUBREG reg classes in patterns to generate MULL. (#136083)

This fixes the GISel warning "Skipped pattern: EXTRACT_SUBREG child #0
could not be coerced to a register class" by ensuring the register class
is correct for the EXTRACT_SUBREG patterns. This most notably allows
UMADDL / SMADDL patterns to be imported (many still do not work as a
PatLeaf on a child cannot be generated at the moment).


  Commit: 2bc6f9d4b6ff1d838f1c2d50cacbab6ba2f20bc9
      https://github.com/llvm/llvm-project/commit/2bc6f9d4b6ff1d838f1c2d50cacbab6ba2f20bc9
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M clang/utils/TableGen/NeonEmitter.cpp
    M llvm/docs/TableGen/BackGuide.rst
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/DetailedRecordsBackend.cpp
    M llvm/lib/TableGen/JSONBackend.cpp
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/SetTheory.cpp
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/utils/TableGen/CallingConvEmitter.cpp
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M llvm/utils/TableGen/SearchableTableEmitter.cpp
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
    M mlir/tools/mlir-tblgen/OmpOpGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
    M mlir/tools/mlir-tblgen/TosaUtilsGen.cpp

  Log Message:
  -----------
  [TableGen] Only store direct superclasses in Record (#123072)

In Record only store the direct superclasses instead of all
superclasses. getSuperClasses recurses to find all superclasses when
necessary.

This gives a small reduction in memory usage. On lib/Target/X86/X86.td I
measured about 2.0% reduction in total bytes allocated (measured by
valgrind) and 1.3% reduction in peak memory usage (measured by
/usr/bin/time -v).

---------

Co-authored-by: Min-Yih Hsu <min at myhsu.dev>


  Commit: d6bb786705d0fe76d62010457eac0f8f05af7009
      https://github.com/llvm/llvm-project/commit/d6bb786705d0fe76d62010457eac0f8f05af7009
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/SimplifyCFG/X86/debugloc-invoke-to-call-br.ll

  Log Message:
  -----------
  [DebugInfo] Propagate source loc from invoke to replacement branch (#137206)

An existing transformation replaces invoke instructions with a call to
the invoked function and a branch to the destination; when this happens,
we propagate the invoke's source location to the call but not to the
branch. This patch updates this behaviour to propagate to the branch as
well.

Found using https://github.com/llvm/llvm-project/pull/107279.


  Commit: 92dc18b6df043d788d77b4a98e5afa3954a44cb0
      https://github.com/llvm/llvm-project/commit/92dc18b6df043d788d77b4a98e5afa3954a44cb0
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    A llvm/test/DebugInfo/AArch64/lexical-block-abstract-origin.ll
    R llvm/test/DebugInfo/Generic/lexical-block-abstract-origin.ll

  Log Message:
  -----------
  [DebugInfo] Fix build failure introduced by 1143a04f.

Move test to AArch64 directory.


  Commit: 10f6c3e2702c6ab6751861e894741d23b902cb65
      https://github.com/llvm/llvm-project/commit/10f6c3e2702c6ab6751861e894741d23b902cb65
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/combine-pmuldq.ll
    M llvm/test/CodeGen/X86/masked_store_trunc.ll
    M llvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
    M llvm/test/CodeGen/X86/masked_store_trunc_usat.ll
    M llvm/test/CodeGen/X86/pr40891.ll
    M llvm/test/CodeGen/X86/psubus.ll
    M llvm/test/CodeGen/X86/vector-reduce-xor-bool.ll
    M llvm/test/CodeGen/X86/vector-trunc-nowrap.ll
    M llvm/test/CodeGen/X86/vector-trunc-packus.ll
    M llvm/test/CodeGen/X86/vector-trunc-ssat.ll
    M llvm/test/CodeGen/X86/vector-trunc-usat.ll
    M llvm/test/CodeGen/X86/vector-trunc.ll

  Log Message:
  -----------
  [DAG] visitCONCAT_VECTORS - relax legality checks (#137210)

We can fold combineConcatVectorOfConcatVectors/combineConcatVectorOfExtracts until after vector legalization


  Commit: f427890a1dcd7759240568f189df8fbbcf23669c
      https://github.com/llvm/llvm-project/commit/f427890a1dcd7759240568f189df8fbbcf23669c
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/phi-comparator.ll

  Log Message:
  -----------
  [SLP]Fix PHI comparator to make it follow weak strict ordering restriction

Fixes #137164


  Commit: 5f9164978b218fa65c53a59e91ea01831735f7a4
      https://github.com/llvm/llvm-project/commit/5f9164978b218fa65c53a59e91ea01831735f7a4
  Author: higher-performance <higher.performance.github at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M libcxx/include/__tree

  Log Message:
  -----------
  Optimize std::__tree::__assign_multi to insert the provided range at the end of the tree every time (#131030)

This improves performance for the copy-assignment operators of associative containers such as `std::map`.

This optimization already exists in other places in the codebase, and seems to have been missed here.


  Commit: a7a74b349d508e0cc0de53d90a695e3675f54b6a
      https://github.com/llvm/llvm-project/commit/a7a74b349d508e0cc0de53d90a695e3675f54b6a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
    M llvm/test/Transforms/SLPVectorizer/vectorize-reorder-alt-shuffle.ll

  Log Message:
  -----------
  [SLP]Improve reordering of the alternate nodes

Better to preserve the original order of the alternate nodes to avoid
inter-lane shuffling, select/insert subvector patterns provide better
perf.

Reviewers: RKSimon, hiraditya

Reviewed By: RKSimon

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


  Commit: a9d93ecf1f8d2cfe3f77851e0df179b386cff353
      https://github.com/llvm/llvm-project/commit/a9d93ecf1f8d2cfe3f77851e0df179b386cff353
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/docs/HowToUpdateDebugInfo.rst
    M llvm/include/llvm/IR/DebugLoc.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/DebugLoc.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp

  Log Message:
  -----------
  [DLCov] Implement DebugLoc coverage tracking (#107279)

This is part of a series of patches that tries to improve DILocation bug
detection in Debugify; see the review for more details. This is the patch
that adds the main feature, adding a set of `DebugLoc::get<Kind>`
functions that can be used for instructions with intentionally empty
DebugLocs to prevent Debugify from treating them as bugs, removing the
currently-pervasive false positives and allowing us to use Debugify (in
its original DI preservation mode) to reliably detect existing bugs and
regressions. This patch does not add uses of these functions, except for
once in Clang before optimizations, and in
`Instruction::dropLocation()`, since that is an obvious case that
immediately removes a set of false positives.


  Commit: 7cce38beea2d79d77ae5e87674d3b790efa60b5f
      https://github.com/llvm/llvm-project/commit/7cce38beea2d79d77ae5e87674d3b790efa60b5f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h

  Log Message:
  -----------
  [VPlan] Remove dead SE argument from handleUncountableEarlyExit (NFC).

ScalarEvolution is not used by the function, remove the dead arg.


  Commit: c8dc3ed9c464580273c2d91b8ec769d4f0193a1b
      https://github.com/llvm/llvm-project/commit/c8dc3ed9c464580273c2d91b8ec769d4f0193a1b
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/CUFGPUToLLVMConversion.cpp
    M flang/test/Fir/CUDA/cuda-gpu-launch-func.mlir

  Log Message:
  -----------
  [flang][cuda] Convert gpu.launch_func with result (#137231)

We cannot use `replaceOp` because the newly created operation has not
the same number of results.


  Commit: f261f1406d4870410d3c9e61903e65ffd427d8ec
      https://github.com/llvm/llvm-project/commit/f261f1406d4870410d3c9e61903e65ffd427d8ec
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/RISCV/atomic-load-zext.ll

  Log Message:
  -----------
  [SelectionDAG][RISCV] Teach computeKnownBits to use range metadata for atomic_load. (#137119)

And teach SelectionDAGBuilder to get the range metadata in
visitAtomicLoad.

This allows us to recognize that sign extending a byte load of a
boolean value from memory will produce zeros for the extended bits.
This allow us to remove an AND on RISC-V.

Tests copied from #136502 with range metadata added to i1 cases.
Some of the test effects overlap with #136502, but that patch can't
handle the acquire or seq_cst cases with the Zalasr extension. We
only have sign extending versions of those loads.


  Commit: dd9f92c8862a08c4a632edfd5f254b08c225b412
      https://github.com/llvm/llvm-project/commit/dd9f92c8862a08c4a632edfd5f254b08c225b412
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/Generic/inline-scopes.ll
    M llvm/test/DebugInfo/X86/lexical-block-file-inline.ll
    M llvm/test/DebugInfo/X86/missing-abstract-variable.ll

  Log Message:
  -----------
  Revert "[DebugInfo][DWARF] Emit DW_AT_abstract_origin for concrete/inlined DW_TAG_lexical_blocks" (#137237)

Reverts llvm/llvm-project#136205

Breaks buildbots, probably something about needing to restrict the test
to running on a specific target or the like - I haven't looked closely.

Co-authored-by: Vladislav Dzhidzhoev <dzhidzhoev at gmail.com>


  Commit: f12fb2ff74ee2a1a5d7d4ae6ecc7dd1ee7b622cb
      https://github.com/llvm/llvm-project/commit/f12fb2ff74ee2a1a5d7d4ae6ecc7dd1ee7b622cb
  Author: Ashley Coleman <ascoleman at microsoft.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

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

  Log Message:
  -----------
  [HLSL] Analyze updateCounter usage (#135669)

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

Analyze and annotate `ResourceInfo` with the derived direction of calls
to updateCounter (if any).

This change only sets the value. Any diagnostics that should be raised
must be done somewhere else.


  Commit: 73ddbd3c094274cfb7412d7c0fc99c170325217a
      https://github.com/llvm/llvm-project/commit/73ddbd3c094274cfb7412d7c0fc99c170325217a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    A clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
    A clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp

  Log Message:
  -----------
  [NFC][CFI] Add tests for different reporting settings (#137225)

1. Trap
2. Abort from runtime
3. Recover from runtime
4. Abort from minimal runtime
5. Recover from minimal runtime

They already work as expected.


  Commit: 3c3992269c65d4a4269c8617d162daa02f7731f8
      https://github.com/llvm/llvm-project/commit/3c3992269c65d4a4269c8617d162daa02f7731f8
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSignature] Add parsing of ShaderVisibility to DescriptorTable (#136751)

- Defines `parseShaderVisiblity` to establish how single enums will be
parsed
- Adds unit testing of the visiblity enum

Part three of implementing #126569


  Commit: 1636f4af7bccf466d8e5cd4c0cfdf2f7ca99b060
      https://github.com/llvm/llvm-project/commit/1636f4af7bccf466d8e5cd4c0cfdf2f7ca99b060
  Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/CmpInstAnalysis.h
    M llvm/lib/Analysis/CmpInstAnalysis.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

  Log Message:
  -----------
  [CmpInstAnalysis] Decompose icmp eq (and x, C) C2 (#136367)

This type of decomposition is used in multiple places already. Adding it
to `CmpInstAnalysis` reduces code duplication.


  Commit: 37b135cc8f079483a3a969a79898e1d3933d0067
      https://github.com/llvm/llvm-project/commit/37b135cc8f079483a3a969a79898e1d3933d0067
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/issue87856.ll

  Log Message:
  -----------
  Attributor: Don't rely on use_empty for constants (#137218)

This allows inferring noalias on a null argument parameter. This
avoids a non-NFC diff in a future change.


  Commit: 4ed8bfd0c3949dbf4e3042bd35eb274373e55cf7
      https://github.com/llvm/llvm-project/commit/4ed8bfd0c3949dbf4e3042bd35eb274373e55cf7
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

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

  Log Message:
  -----------
  LiveRangeShrink: Early exit when encountering a code motion barrier.

Without this, we end up with quadratic behavior affecting functions with
large numbers of code motion barriers, such as CFI jump tables.

As a drive-by cleanup, remove a redundant store to SawStore in this
pass as it is also done by isSafeToMove.

Reviewers: arsenm

Reviewed By: arsenm

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


  Commit: c007c465403ecfea7c390a2b05e555c3b6d90a88
      https://github.com/llvm/llvm-project/commit/c007c465403ecfea7c390a2b05e555c3b6d90a88
  Author: Steffi Stumpos <stumposs12 at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/test/CodeGen/NVPTX/st-param-imm.ll

  Log Message:
  -----------
  [NVPTX] Support BFloat Store Parameter (#137074)

Before this patch, the instruction selector assumed that if the Memory
Type is not {f16, v2f16, f32, f64} then the node type must be a
ConstantSDNode when in fact if the memory type is bf16 then the node
type is ConstantFPSDNode.


  Commit: bea3b9214ea74d0678094e660c0b56893f5c9c2f
      https://github.com/llvm/llvm-project/commit/bea3b9214ea74d0678094e660c0b56893f5c9c2f
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/DebugInfo/Generic/inline-scopes.ll
    M llvm/test/DebugInfo/X86/lexical-block-file-inline.ll
    M llvm/test/DebugInfo/X86/missing-abstract-variable.ll

  Log Message:
  -----------
  Revert "Revert "[DebugInfo][DWARF] Emit DW_AT_abstract_origin for concrete/inlined DW_TAG_lexical_blocks"" (#137243)

Reverts llvm/llvm-project#137237, as the problem was fixed with
92dc18b6df043d788d77b4a98e5afa3954a44cb0.


  Commit: 63f5c6ae0b71189e717aca7aa4ef16d856de7e32
      https://github.com/llvm/llvm-project/commit/63f5c6ae0b71189e717aca7aa4ef16d856de7e32
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td

  Log Message:
  -----------
  [mlir][complex][NFC] Fix typo in PowOp (#137240)


  Commit: 425b9539684be00f3c8ccde54dbab18ce9bc8ebd
      https://github.com/llvm/llvm-project/commit/425b9539684be00f3c8ccde54dbab18ce9bc8ebd
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/cxx11.cpp
    M clang/test/SemaCXX/constant-expression-p2280r4.cpp

  Log Message:
  -----------
  [clang][bytecode] Emit diagnostics from GetGlobalUnchecked (#137203)

If the global is uninitialized.


  Commit: 9f74d517f13a4f1f5ca340d15c8d858f3784ec5c
      https://github.com/llvm/llvm-project/commit/9f74d517f13a4f1f5ca340d15c8d858f3784ec5c
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M compiler-rt/test/ubsan_minimal/CMakeLists.txt
    M compiler-rt/test/ubsan_minimal/lit.common.cfg.py
    M compiler-rt/test/ubsan_minimal/lit.site.cfg.py.in

  Log Message:
  -----------
  [NFC][UBSAN] Fix minimal UBSAN test names (#137244)

Same approach as in Asan.

Now it's going to print:
```
Failed Tests (2):
  UBSan-Minimal-i386-linux :: TestCases/icall.c
  UBSan-Minimal-x86_64-linux :: TestCases/icall.c
```

Before it was:
```
Failed Tests (2):
  UBSan-Minimal-x86_64 :: TestCases/icall.c
  UBSan-Minimal-x86_64 :: TestCases/icall.c
```


  Commit: db0fcc499c1a163c8437e41744afdac7553c9f94
      https://github.com/llvm/llvm-project/commit/db0fcc499c1a163c8437e41744afdac7553c9f94
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/test/AST/ByteCode/cxx11.cpp
    A clang/test/CodeGen/cfi-icall-trap-recover-runtime.c
    A clang/test/CodeGenCXX/cfi-vcall-trap-recover-runtime.cpp
    M clang/test/Headers/__clang_hip_cmath.hip
    M clang/test/Headers/__clang_hip_math.hip
    M clang/test/SemaCXX/constant-expression-p2280r4.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M clang/utils/TableGen/NeonEmitter.cpp
    M compiler-rt/test/ubsan_minimal/CMakeLists.txt
    M compiler-rt/test/ubsan_minimal/lit.common.cfg.py
    M compiler-rt/test/ubsan_minimal/lit.site.cfg.py.in
    M flang/lib/Optimizer/Transforms/CUFGPUToLLVMConversion.cpp
    M flang/test/Fir/CUDA/cuda-gpu-launch-func.mlir
    M libcxx/include/__tree
    M llvm/docs/HowToUpdateDebugInfo.rst
    M llvm/docs/TableGen/BackGuide.rst
    M llvm/include/llvm/Analysis/CmpInstAnalysis.h
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    M llvm/include/llvm/IR/DebugLoc.h
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/Analysis/CmpInstAnalysis.cpp
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/LiveRangeShrink.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/DebugLoc.cpp
    M llvm/lib/TableGen/DetailedRecordsBackend.cpp
    M llvm/lib/TableGen/JSONBackend.cpp
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/SetTheory.cpp
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/select-binop.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-scalar-shift-imm.mir
    M llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll
    M llvm/test/CodeGen/NVPTX/st-param-imm.ll
    A llvm/test/CodeGen/RISCV/atomic-load-zext.ll
    M llvm/test/CodeGen/X86/combine-pmuldq.ll
    M llvm/test/CodeGen/X86/masked_store_trunc.ll
    M llvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
    M llvm/test/CodeGen/X86/masked_store_trunc_usat.ll
    M llvm/test/CodeGen/X86/pr40891.ll
    M llvm/test/CodeGen/X86/psubus.ll
    M llvm/test/CodeGen/X86/vector-reduce-xor-bool.ll
    M llvm/test/CodeGen/X86/vector-trunc-nowrap.ll
    M llvm/test/CodeGen/X86/vector-trunc-packus.ll
    M llvm/test/CodeGen/X86/vector-trunc-ssat.ll
    M llvm/test/CodeGen/X86/vector-trunc-usat.ll
    M llvm/test/CodeGen/X86/vector-trunc.ll
    A llvm/test/DebugInfo/AArch64/lexical-block-abstract-origin.ll
    M llvm/test/DebugInfo/Generic/inline-scopes.ll
    M llvm/test/DebugInfo/X86/lexical-block-file-inline.ll
    M llvm/test/DebugInfo/X86/missing-abstract-variable.ll
    M llvm/test/Transforms/Attributor/issue87856.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
    A llvm/test/Transforms/SLPVectorizer/X86/phi-comparator.ll
    M llvm/test/Transforms/SLPVectorizer/vectorize-reorder-alt-shuffle.ll
    A llvm/test/Transforms/SimplifyCFG/X86/debugloc-invoke-to-call-br.ll
    M llvm/unittests/Target/DirectX/UniqueResourceFromUseTests.cpp
    M llvm/utils/TableGen/CallingConvEmitter.cpp
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M llvm/utils/TableGen/SearchableTableEmitter.cpp
    M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
    M mlir/tools/mlir-tblgen/OmpOpGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
    M mlir/tools/mlir-tblgen/TosaUtilsGen.cpp

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/22700c472e16...db0fcc499c1a

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