[all-commits] [llvm/llvm-project] dca7f0: AMDGPU: mbcnt allow for non-zero src1 for known-bits

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Tue Sep 6 23:38:32 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: dca7f087109debc1f376946dc244ed5d7e27a257
      https://github.com/llvm/llvm-project/commit/dca7f087109debc1f376946dc244ed5d7e27a257
  Author: David Stuttard <david.stuttard at amd.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll

  Log Message:
  -----------
  AMDGPU: mbcnt allow for non-zero src1 for known-bits

Src1 for mbcnt can be a non-zero literal or register. Take this into account
when calculating known bits.

Differential Revision: https://reviews.llvm.org/D131478

(cherry picked from commit 1d1cc05539e275ae7666fc4b44bf725ec335078a)


  Commit: 8f820dd89e9b27523db809ad8e205d4b0ddbf284
      https://github.com/llvm/llvm-project/commit/8f820dd89e9b27523db809ad8e205d4b0ddbf284
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
    M llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
    M llvm/test/DebugInfo/symbolize-filter-markup-context-line-elision.test
    A llvm/test/DebugInfo/symbolize-filter-markup-data.test
    M llvm/test/DebugInfo/symbolize-filter-markup-error-location.test
    M llvm/test/DebugInfo/symbolize-filter-markup-mmap.test
    M llvm/test/DebugInfo/symbolize-filter-markup-module.test
    M llvm/test/DebugInfo/symbolize-filter-markup-reset.test
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  [Symbolizer] Implement data symbolizer markup element.

This connects the Symbolizer to the markup filter and enables the first
working end-to-end flow using the filter.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D130187

(cherry picked from commit 22df238d4a642a4553ebf7b91325189be48b139d)


  Commit: 4cc81e378a857ffcfdca3d654d3345b9ea9ab05f
      https://github.com/llvm/llvm-project/commit/4cc81e378a857ffcfdca3d654d3345b9ea9ab05f
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
    M llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
    M llvm/test/DebugInfo/symbolize-filter-markup-data.test
    A llvm/test/DebugInfo/symbolize-filter-markup-pc.test

  Log Message:
  -----------
  [Symbolizer] Implement pc element in symbolizing filter.

Implements the pc element for the symbolizing filter, including it's
"ra" and "pc" modes. Return addresses ("ra") are adjusted by
decrementing one. By default, {{{pc}}} elements are assumed to point to
precise code ("pc") locations. Backtrace elements will adopt the
opposite convention.

Along the way, some minor refactors of value printing and colorization.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D131115

(cherry picked from commit bf48b128b02813e53e0c8f6585db837d14c9358f)


  Commit: 55b8f29a9c4c131b744d4e705e1dfa9bb6ff8459
      https://github.com/llvm/llvm-project/commit/55b8f29a9c4c131b744d4e705e1dfa9bb6ff8459
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M llvm/test/DebugInfo/symbolize-filter-markup-pc.test

  Log Message:
  -----------
  [Symbolizer] Fix symbolizer-filter-markup-pc.test on Windows

(cherry picked from commit 0d6cf1e8b5fa8590f816d5330cb7c2dcc449ec24)


  Commit: 7ce1ec5a2a22fec588bd5f87a50052a97f7dd846
      https://github.com/llvm/llvm-project/commit/7ce1ec5a2a22fec588bd5f87a50052a97f7dd846
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
    M llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
    A llvm/test/DebugInfo/symbolize-filter-markup-bt.test

  Log Message:
  -----------
  [Symbolizer] Handle {{{bt}}} symbolizer markup element.

This adds support for backtrace generation to the llvm-symbolizer markup
filter, which is likely the largest use case.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D132706

(cherry picked from commit ea99225521cba6dec1ad4ca70a8665829e772fa9)


Compare: https://github.com/llvm/llvm-project/compare/4ba6a9c9f65b...7ce1ec5a2a22


More information about the All-commits mailing list