Changes

Summary

  1. [mlir][Linalg] Add pad vectorization patterns into LinalgStrategyVectorize passes. (details)
  2. Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)" (details)
  3. [gn build] Port 1392b654ff65 (details)
  4. [mlir][tosa] Separate tosa.transpose_conv decomposition and added stride support (details)
  5. [mlir][tosa] Materialize tosa.pad value and fold noop pads (details)
  6. [InstSimplify] add tests for xor logic fold; NFC (details)
  7. [NFC][sanitizer] Move StackStore::Allocated into cpp file (details)
  8. [NFC][sanitizer] Early return for empty StackTraces (details)
  9. [lldb] Move create_relative_symlink function up in CMake hierarchy (details)
  10. [NFC][sanitizer] Add StackStoreTest (details)
  11. [SampleFDO] Recompute BFI if the sample loader changes BPI (details)
  12. [NFC][sanitizer] Extract StackTraceHeader struct (details)
  13. [NFC][sanitizer] Make method const (details)
  14. [InstSimplify] fold xor logic of 2 variables (details)
  15. Improve optional formatter (details)
  16. Make some libstd++ formatters safer (details)
  17. [formatters] Capping size limitation avoidance for the libcxx and libcpp bitset data formatters. (details)
  18. Move dependency llvm:AllTargetsAsmParsers from Translation to ExecutionEngine. (details)
  19. [formatters] List and forward_list capping_size determination and application (details)
  20. Fix a48501150b9ef64fd61d24f8cef2645237facc44 (details)
  21. [LAA] Move visitPointers up in file (NFC). (details)
  22. PrologEpilogInserter: Use explicit control for scavenge slot placement (details)
  23. [PowerPC] Allow scalars for asm constraint "v" with VSX (details)
  24. [sanitizer] Add DenseMap::forEach (details)
  25. [NFC][sanitizer] Reuse forEach for operator== (details)
  26. [stack-safety] Check SCEV constraints at memory instructions. (details)
  27. [hwasan] support python3 in hwasan_sanitize (details)
  28. [mlir][spirv] Add math to OpenCL conversion (details)
  29. [AMDGPU] Remove a no-op check in the gfx90a hazard recognizer (details)
  30. [NFC][sanitizer] Test for b80affb8a149 (details)
  31. [NFC][sanitizer] Limit StackStore stack size/tag to 1 byte (details)
  32. [LLDB][NativePDB] Allow find functions by full names (details)
  33. Update fir.insert_on_range syntax to make the range more explicit (NFC) (details)
  34. Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values.""""" (details)
  35. Revert "[Taildup] Don't tail-duplicate loop header with multiple successors as its latches" (details)
  36. [mlir][sparse] Adding wrappers for constantOverheadTypeEncoding (details)
  37. [MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name (details)
  38. Revert "tsan: new runtime (v3)" (details)
  39. Accept symmetric sparse matrix in Matrix Market Exchange Format. (details)
Commit b57e2f071a2e47147a57c52a6a8c6aa062230cd8 by ravishankarm
[mlir][Linalg] Add pad vectorization patterns into LinalgStrategyVectorize passes.

Add an option to control whether these patterns are added to the
pattern list or not.

Differential Revision: https://reviews.llvm.org/D114290
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp (diff)
Commit 1392b654ff6573ca2dba4101f72e990822539c7d by joker.eph
Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)"

This reverts commit 884b6dd311422bbfac62b8a90fbfff8e77ba8121.
The windows build is broken with a linker error.
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp (diff)
The file was removedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was removedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was removedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt (diff)
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h (diff)
The file was removedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
Commit 44bb69b1e012bdc905aa679008ee7ed3d71061b1 by llvmgnsyncbot
[gn build] Port 1392b654ff65
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn (diff)
Commit 54eec7cafc396f3d1444aacf4f1ed71fceb4e503 by rob.suderman
[mlir][tosa] Separate tosa.transpose_conv decomposition and added stride support

Transpose convolution decomposition is now performed in a separate pass. This
allows padding / constant propagation to be performed at the TOSA level. It
also adds support for striding when there is no dilation.

Differential Revision: https://reviews.llvm.org/D114409
The file was modifiedmlir/include/mlir/Dialect/Tosa/Transforms/Passes.td (diff)
The file was modifiedmlir/include/mlir/Dialect/Tosa/Transforms/Passes.h (diff)
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir (diff)
The file was addedmlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp (diff)
The file was addedmlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt (diff)
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp (diff)
Commit 0f1e52afa92fd6b687f4d69203b72e99a9228edb by rob.suderman
[mlir][tosa] Materialize tosa.pad value and fold noop pads

Padding now can explicitly specify the padding value when non-zero is wanted.
This also includes bypassing pads when the pad does nothing.

Differential Revision: https://reviews.llvm.org/D113611
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td (diff)
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp (diff)
The file was modifiedmlir/test/Dialect/Tosa/canonicalize.mlir (diff)
Commit 14d743457c3d5c8154644375bac1094481ab4eaf by spatel
[InstSimplify] add tests for xor logic fold; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll (diff)
Commit cdc80a6017076daea28e62a9efb0b3d8a53d8fce by Vitaly Buka
[NFC][sanitizer] Move StackStore::Allocated into cpp file
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp (diff)
Commit b80affb8a1494560c83c6d2bf1164ff8fe031401 by Vitaly Buka
[NFC][sanitizer] Early return for empty StackTraces

Current callers should filter them out anyway,
but with this patch we don't need rely on that assumption.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp (diff)
Commit b5a927b972b2c07b4597e93ed0b57803bfc0e6ae by dimitry
[lldb] Move create_relative_symlink function up in CMake hierarchy

Configuring lldb with `LLDB_ENABLE_PYTHON=OFF` and `LLDB_ENABLE_LUA=ON` results in a CMake error:

    CMake Error at lldb/bindings/lua/CMakeLists.txt:47 (create_relative_symlink):
      Unknown CMake command "create_relative_symlink".
    Call Stack (most recent call first):
      lldb/CMakeLists.txt:117 (finish_swig_lua)

This is because the CMake function `create_relative_symlink` only exists in `lldb/bindings/python/CMakeLists.txt`, and not in `lldb/bindings/lua/CMakeLists.txt`.

Move the function to `lldb/bindings/CMakeLists.txt`, so it is available for all language bindings.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D114465
The file was modifiedlldb/bindings/python/CMakeLists.txt (diff)
The file was modifiedlldb/bindings/CMakeLists.txt (diff)
Commit 67a1c45def8a75061203461ab0060c75c864df1c by Vitaly Buka
[NFC][sanitizer] Add StackStoreTest

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D114463
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/CMakeLists.txt (diff)
The file was addedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp
Commit bf1138491a2ba12dce0c3ff2ad6a18f093428539 by xur
[SampleFDO] Recompute BFI if the sample loader changes BPI

The MIR sample loader changes the branch probability but not BFI.
Here we force a recompute of BFI if the branch probabilities are
changed.

Also register the MIR FSAFDO passes properly.

Differential Revision: https://reviews.llvm.org/D114400
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp (diff)
The file was addedllvm/test/CodeGen/X86/fsafdo_test3.ll
The file was modifiedllvm/lib/CodeGen/MIRSampleProfile.cpp (diff)
Commit abd86619cf5e389995e8cb325ddb570d86a0715f by Vitaly Buka
[NFC][sanitizer] Extract StackTraceHeader struct
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp (diff)
Commit b1a68b170c44e8d5298800a080444c0b82366e51 by Vitaly Buka
[NFC][sanitizer] Make method const
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h (diff)
Commit 892648b18a8cc3b8a08528112adfa74bdd432f8b by spatel
[InstSimplify] fold xor logic of 2 variables

(a & b) ^ (~a | b) --> ~a

I was looking for a shortcut to reduce some of the complex logic
folds that are currently up for review (D113216
and others in that stack), and I found this missing from
instcombine/instsimplify.

There is a trade-off in putting it into instsimplify: because
we can't create new values here, we need a strict 'not' op (no
undef elements). Otherwise, the fold is not valid:
https://alive2.llvm.org/ce/z/k_AGGj

If this was in instcombine instead, we could create the proper
'not'. But having the fold here benefits other passes like GVN
that use instsimplify as an analysis.

There is a related fold where 'and' and 'or' are swapped, and
that is planned as a follow-up commit.

Differential Revision: https://reviews.llvm.org/D114462
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll (diff)
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp (diff)
Commit 4ba5da8e3d38f38ed7845c22baadd8908729c520 by walter erquinigo
Improve optional formatter

As suggested by @labath in https://reviews.llvm.org/D114403, we should
make the formatter more resilient to corrupted data. The Libcxx version
explicitly checks for engaged = 1, so we can do that as well for safety.

Differential Revision: https://reviews.llvm.org/D114450
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp (diff)
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py (diff)
Commit a48501150b9ef64fd61d24f8cef2645237facc44 by walter erquinigo
Make some libstd++ formatters safer

We need to add checks that ensure that some core variables are valid, so
that we avoid printing out garbage data. The worst that could happen is
that an non-initialized variable is being printed as something with
123123432 children instead of 0.

Differential Revision: https://reviews.llvm.org/D114458
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py (diff)
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/main.cpp (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/main.cpp (diff)
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py (diff)
Commit 193bf2e820520dd4a2d5ed0e7d50ee45e8127071 by walter erquinigo
[formatters] Capping size limitation avoidance for the libcxx and libcpp bitset data formatters.

This diff is avoiding the size limitation introduced by the capping size for the libcxx and libcpp bitset data formatters.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D114461
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/main.cpp (diff)
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp (diff)
Commit 4961fcfbcf688e5cd9580578b1e4eadce1dfc42e by jurahul
Move dependency llvm:AllTargetsAsmParsers from Translation to ExecutionEngine.

- Fixes a minor issue in https://reviews.llvm.org/D114338, which seems incorrectly
  added the llvm:AllTargetsAsmParsers dependency to Translation in bazel build files.

Differential Revision: https://reviews.llvm.org/D114471
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel (diff)
Commit 9a9d9a9b00af5b60514ab9ada09ba02dfb86945e by walter erquinigo
[formatters] List and forward_list capping_size determination and application

This diff is adding the capping_size determination for the list and forward list, to limit the number of children to be displayed. Also it modifies and unifies tests for libcxx and libstdcpp list data formatter.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D114433
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py (diff)
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py (diff)
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/Makefile
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/main.cpp (diff)
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/Makefile
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/main.cpp
The file was modifiedlldb/include/lldb/API/SBTarget.h (diff)
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
The file was modifiedlldb/bindings/interface/SBTarget.i (diff)
The file was modifiedlldb/source/API/SBTarget.cpp (diff)
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp (diff)
Commit 877433ad453cd1bd77497ec47828074b6e010edb by walter erquinigo
Fix a48501150b9ef64fd61d24f8cef2645237facc44

Issue in https://lab.llvm.org/buildbot/#/builders/96/builds/14682.

Making the test deterministic.
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py (diff)
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/main.cpp (diff)
Commit 73a05cc8dfa114e29cd4d463c77a5577571c8c56 by flo
[LAA] Move visitPointers up in file (NFC).

This allows easier re-use in earlier functions.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp (diff)
Commit 273a0c8bc9c774aa0d5982c23dc3d62b68ef4338 by Matthew.Arsenault
PrologEpilogInserter: Use explicit control for scavenge slot placement

AMDGPU is unusual in that the both stack is indexed in the same
direction as stack growth (up). We therefore always need the emergency
stack slots placed as low as possible to ensure they are in range of
load/store instruction immediate offsets. The existing logic is mostly
OK, but failed if we required stack realignment.

I don't understand what the existing control isFPCloseToIncomingSP is
supposed to mean, but can only be used to stop placing the scavenge
slots earlier. Make this explicit so that targets can opt-in rather
than opt-out only.
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-carry-out.mir (diff)
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-scratch.ll (diff)
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/load-hi16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-gfx9.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-offset-calculation.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll (diff)
The file was modifiedllvm/lib/Target/Mips/MipsFrameLowering.h (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir (diff)
Commit c9cb8edc519e4fa80b28fb4e0cc2bd8423742d21 by nemanja.i.ibm
[PowerPC] Allow scalars for asm constraint "v" with VSX

Similarly to what GCC does, we should allow scalars with
the "v" constraint rather than introducing unnecessary
new constraints for scalars in Altivec registers.

Differential revision: https://reviews.llvm.org/D113635
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was addedllvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h (diff)
Commit 09256fe980ddc46be36ab4460ae1850aa46f094e by Vitaly Buka
[sanitizer] Add DenseMap::forEach
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_dense_map.h (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp (diff)
Commit 4058637f7ac6c0c44c90604b041dafa6b24e641b by Vitaly Buka
[NFC][sanitizer] Reuse forEach for operator==
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_dense_map.h (diff)
Commit 6c06d8e310bd926f8c9ed63118c38b28075f4de3 by fmayer
[stack-safety] Check SCEV constraints at memory instructions.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D113160
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll (diff)
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/memintrin.ll (diff)
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp (diff)
Commit 26d1edfb105bdc857733c3bb8697a9f73828bde7 by fmayer
[hwasan] support python3 in hwasan_sanitize

Verified no diff exist between previous version, new version python 2, and python 3 for an example stack.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D114404
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize (diff)
Commit 75a1bee05db7ca4277cf93545834110409c75bc9 by ivan.butygin
[mlir][spirv] Add math to OpenCL conversion

Differential Revision: https://reviews.llvm.org/D113780
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-glsl-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVOCLOps.td (diff)
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp (diff)
The file was removedmlir/test/Conversion/MathToSPIRV/math-to-spirv.mlir
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
The file was modifiedmlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir (diff)
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir (diff)
The file was modifiedmlir/test/Target/SPIRV/ocl-ops.mlir (diff)
Commit 661a232e34845a89789c4d617b9c764eded002a1 by Stanislav.Mekhanoshin
[AMDGPU] Remove a no-op check in the gfx90a hazard recognizer

Also rename helper function accordingly.

Differential Revision: https://reviews.llvm.org/D114289
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp (diff)
Commit 402a406323194e0eaecfb793416e8c7528befc29 by Vitaly Buka
[NFC][sanitizer] Test for b80affb8a149
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp (diff)
Commit 6889592ebcdea168f9e7a5dc91b8549527e4dbf7 by Vitaly Buka
[NFC][sanitizer] Limit StackStore stack size/tag to 1 byte

Nothing uses more than 8bit now. So the rest of the headers can store other data.
kStackTraceMax is 256 now, but all sanitizers by default store just 20-30 frames here.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp (diff)
Commit 22ced33a2f769815834efdd0eb0b25172c6f8a61 by zequanwu
[LLDB][NativePDB] Allow find functions by full names

I don't see a reason why not to. If we allows lookup functions by full names,
I can change the test case in D113930 to use `lldb-test symbols --find=function --name=full::name --function-flags=full ...`,
though the duplicate method decl prolem is still there for `lldb-test symbols --dump-ast`.
That's a seprate bug, we can fix it later.

Differential Revision: https://reviews.llvm.org/D114467
The file was addedlldb/test/Shell/SymbolFile/NativePDB/find-functions.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp (diff)
Commit 8ec0f221843c51096cf3e7a479e780be371388a8 by joker.eph
Update fir.insert_on_range syntax to make the range more explicit (NFC)

Also replace ArrayAttr with IndexElementsAttr to model subscript dimensions.
An array of attribute is a sparse inefficient storage, with an API that
requires to unpack/repack integers at every call site.
Instead we can store dense array of integer as IndexElementsAttr.

Reviewed By: clementval, kiranchandramohan

Differential Revision: https://reviews.llvm.org/D112899
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp (diff)
The file was modifiedflang/test/Fir/invalid.fir (diff)
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td (diff)
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp (diff)
The file was modifiedflang/test/Fir/fir-ops.fir (diff)
The file was modifiedflang/test/Fir/convert-to-llvm.fir (diff)
Commit 07333810caee48e94587891191a970be8a117fcf by JunMa
Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values."""""

This reverts commit c93f93b2e3f28997f794265089fb8138dd5b5f13.
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp (diff)
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h (diff)
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
Commit 17eb6b61de4b4d7a35680254a59118a0e3fa8dc9 by JunMa
Revert "[Taildup] Don't tail-duplicate loop header with multiple successors as its latches"

This reverts commit 1f9fa549841a2ec55aa5a131bfaf83f0383c4713.
The file was modifiedllvm/lib/CodeGen/TailDuplicator.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/tail-dup-multiple-latch-loop.ll (diff)
Commit d7d7ffe254d53cf0860126ab4c3f5db18c927892 by 2998727+wrengr
[mlir][sparse] Adding wrappers for constantOverheadTypeEncoding

Minor code cleanup

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114392
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp (diff)
Commit 8bd08a9fd705dce07d7cd76711532432b575ed78 by uday
[MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name

Remove duplicate `Pass` suffix from view-op-graph pass class name. The
extra suffix would lead to methods like registerViewOpGraphPassPass
being generated.

Differential Revision: https://reviews.llvm.org/D114459
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp (diff)
The file was modifiedmlir/include/mlir/Transforms/Passes.td (diff)
Commit 1150f02c77b81adca4d0c67afdef23321e93db89 by rtrieu
Revert "tsan: new runtime (v3)"

This reverts commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28.
This was causing unexpected behavior in programs.
The file was addedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc
The file was modifiedcompiler-rt/test/tsan/free_race2.c (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp (diff)
The file was modifiedcompiler-rt/test/tsan/memcpy_race.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h (diff)
The file was modifiedcompiler-rt/lib/tsan/go/build.bat (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp (diff)
The file was modifiedcompiler-rt/test/tsan/memcmp_race.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/check_analyze.sh (diff)
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_stack_test.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp (diff)
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.inc (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.h (diff)
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h (diff)
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_flags_test.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_shadow.h (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp (diff)
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h (diff)
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp (diff)
The file was modifiedcompiler-rt/test/tsan/bench_threads.cpp (diff)
Commit 02710413a32afbd6eeeff0fd56c960f4c4e21629 by bixia
Accept symmetric sparse matrix in Matrix Market Exchange Format.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114402
The file was modifiedmlir/lib/ExecutionEngine/SparseTensorUtils.cpp (diff)
The file was addedmlir/test/Integration/data/test_symmetric.mtx
The file was modifiedmlir/test/CMakeLists.txt (diff)
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir (diff)