AbortedChanges

Summary

  1. [llvm-readobj] - Verify the location of program headers better. (details)
  2. [Matrix] Only pass vector arg as overloaded type in MatrixBuilder. (details)
  3. [yaml2obj] - Rename FileHeader::SH* fields. (details)
  4. [RISCV] Fix RISCVInstrInfo::getInstSizeInBytes for atomics pseudos (details)
  5. [RISCV] Duplicate pseudo expansion comment to RISCVMCCodeEmitter (details)
  6. [LLD][ELF] - Update test after yaml2obj change. NFC. (details)
  7. Bump the trunk major version to 12 (details)
  8. [Analyzer] Report every bug if only uniqueing location differs. (details)
  9. [clangd] Config: also propagate in sync (testing) mode (details)
  10. [MLIR][Shape] Add `shape.shape_eq` operation (details)
  11. [LoopRotate] Remove unnecessary verifyMemorySSA calls. (details)
  12. [DWARFYAML] Remove useless conditional statement. NFC. (details)
  13. [DSE,MSSA] Recognise init_trampoline in getLocForWriteEx (details)
  14. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbb asm instructions (details)
  15. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbp asm instructions (details)
  16. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbbp asm instructions (details)
  17. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbs asm instructions (details)
  18. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbt asm instructions (details)
  19. [mips] Rename FeatureMadd4 to FeatureNoMadd4. NFC (details)
  20. [lldb] Use the basename of the Python test for the log name instead of the class name (details)
  21. [lldb] Make expect_expr fall back to the dummy target if no target is selected (details)
  22. [clangd] Use llvm::errs() instead of outs() for errors (details)
  23. [lldb] Delete useless assertion (details)
  24. [lldb/test] Remove JOIN_CMD from Makefile.rules (details)
  25. CodeGenPrep: remove AssertingVH references before deleting dead instructions. (details)
  26. Revert "[lldb] Use the basename of the Python test for the log name instead of the class name" (details)
  27. [TSan] Optimize handling of racy address (details)
  28. [OpenMP][Docs] Update `present` map type modifier status (details)
  29. [HardwareLoops] Add sibling loop test. (details)
  30. [MLIR][Shape] Fix `shape_of` lowering to `scf` (details)
  31. Revert "[TSan] Optimize handling of racy address" (details)
  32. [lldb/Test] Remove support for forking a subprocess from the test suite. (details)
  33. [Legalize] Hoist invariant condition in ExpandVectorBuildThroughStack(...) (details)
  34. [NFC] Add float aggregate ABI test for PowerPC (details)
  35. [MLIR][Standard] Update `assert` documentation post commit (details)
  36. [lldb][test] Prevent infinite loop while looking for use_lldb_suite_root.py. (details)
  37. [CMake][runtimes] Pass the CMAKE_ARGS to runtimes build correctly (details)
  38. [mlir][shape] Mark some operations as commutative (details)
  39. [NPM][IVUsers] Rename ivusers -> iv-users (details)
  40. [AMDGPU][MC] Corrected MTBUF parsing and decoding (details)
  41. [mlir][shape] Fold shape.broadcast with one scalar operand (details)
  42. [PGO][PGSO] Add profile guided size optimization to LegalizeDAG. (details)
  43. [PGO] Extend the value profile buckets for mem op sizes. (details)
  44. [gn build] Port 4a539faf74b (details)
  45. [InstCombine] update datalayout in test file; NFC (details)
  46. [InstCombine] prevent infinite looping in or-icmp fold (PR46712) (details)
  47. [MLIR] Add type checking capability to RegionBranchOpInterface (details)
Commit 327c4450353309ea97cbd9f56b46f099f3b0a1f9 by grimar
[llvm-readobj] - Verify the location of program headers better.

This improves condition in the ELFFile::program_headers().
Previously if was possible to read the headers from the wrong place when
the value of e_phoff was so large that computation overflowed.

Differential revision: https://reviews.llvm.org/D83774
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test
Commit c872e809d1ac4aa405ae510e271f93d7662e26dd by flo
[Matrix] Only pass vector arg as overloaded type in MatrixBuilder.

In 2b3c505, the pointer arguments for the matrix load and store
intrinsics was changed to always be the element type of the vector
argument.

This patch updates the MatrixBuilder to not add the pointer type to the
overloaded types and adjusts the clang/mlir tests.

This should fix a few build failures on GreenDragon, including
http://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-x86_64-O0-g/7891/
The file was modifiedclang/test/CodeGen/matrix-type-builtins.c
The file was modifiedllvm/include/llvm/IR/MatrixBuilder.h
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
The file was modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was modifiedclang/test/CodeGenObjC/matrix-type-builtins.m
Commit 7a587ca93200c49e47fe205ce037895c81c5a542 by grimar
[yaml2obj] - Rename FileHeader::SH* fields.

In D83482 we agreed to name e_* fields that are used for overriding
values (like e_phoff) as EPh* (e.g. EPhOff).

Currently we have a set of e_sh* fields that are named inconsistently
with this rule. This patch renames all of them.

Differential revision: https://reviews.llvm.org/D83766
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/many-sections.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/tools/llvm-readobj/ELF/invalid-shstrndx.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/symbols.test
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/header-sh-fields.yaml
The file was modifiedllvm/test/tools/llvm-readobj/ELF/sections-no-section-header-string-table.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/section-headers.yaml
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnu-notes.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-table.test
Commit 3382c243baf2c9761db80e498243f4c57fe64de8 by jrtc27
[RISCV] Fix RISCVInstrInfo::getInstSizeInBytes for atomics pseudos

Summary:
Without these, the generic branch relaxation pass will underestimate the
range required for branches spanning these and we can end up with
"fixup value out of range" errors rather than relaxing the branches.
Some of the instructions in the expansion may end up being compressed
but exactly determining that is awkward, and these conservative values
should be safe, if slightly suboptimal in rare cases.

Reviewers: asb, lenary, luismarques, lewis-revill

Reviewed By: asb, luismarques

Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, jfb, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, sameer.abuasal, apazos, evandro, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77443
The file was modifiedllvm/lib/Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Commit 2dc16fbdf0f24b0b9fd529932e7ee0d1960fc8b0 by jrtc27
[RISCV] Duplicate pseudo expansion comment to RISCVMCCodeEmitter

Follow-on from D77443. Although we're not fixing any of these
pseudo-instructions, the potential for them to be out of sync still
exists.
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
Commit 2e10b7a39b930ef8d9c4362509d8835b221fbc0a by grimar
[LLD][ELF] - Update test after yaml2obj change. NFC.

Names of YAML keys changed in rG7a587ca93200c49e47fe205ce037895c81c5a542
The file was modifiedlld/test/ELF/invalid/invalid-e_shnum.test
Commit 7ab7b979d29e1e43701cf690f5cf1903740f50e3 by hans
Bump the trunk major version to 12

and clear the release notes.
The file was modifiedpolly/docs/ReleaseNotes.rst
The file was modifiedpstl/test/pstl/version.pass.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/conf.py
The file was modifiedclang/docs/analyzer/conf.py
The file was modifiedpstl/docs/ReleaseNotes.rst
The file was modifiedclang/docs/conf.py
The file was modifiedlibcxx/include/__libcpp_version
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/llvm/version.gni
The file was modifiedlibunwind/docs/conf.py
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/utils/lit/lit/__init__.py
The file was modifiedlibcxx/include/__config
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was modifiedlibcxx/docs/conf.py
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedpstl/include/pstl/internal/pstl_config.h
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedpolly/docs/conf.py
The file was modifiedlld/docs/conf.py
The file was modifiedllvm/utils/release/build_llvm_package.bat
Commit 22a084cfa337d5e5ea90eba5261f7937e28d250b by 1.int32
[Analyzer] Report every bug if only uniqueing location differs.

Summary:
Two CSA bug reports where only the uniqueing location is different
should be treated as different problems. The role of uniqueing location
is to differentiate bug reports.

Reviewers: Szelethus, baloghadamsoftware, NoQ, vsavchenko, xazax.hun, martong

Reviewed By: NoQ

Subscribers: NoQ, rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83115
The file was modifiedclang/test/Analysis/pr22954.c
The file was modifiedclang/lib/Analysis/PathDiagnostic.cpp
The file was modifiedclang/test/Analysis/malloc.c
Commit cf7160c0b0c1250596cc9b2ba0e41423ac465a8f by sam.mccall
[clangd] Config: also propagate in sync (testing) mode

Summary:
I hit this while trying to add a config-over-LSP lit test, which I think
is an appropriate way to test this feature.

That needs a few more changes though...

Reviewers: kadircet

Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83802
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
Commit 978804821e88a34d484a8ebab72d2888f869a086 by frgossen
[MLIR][Shape] Add `shape.shape_eq` operation

Add `shape.shape_eq` operation to the shape dialect.
The operation allows to test shapes and extent tensors for equality.

Differential Revision: https://reviews.llvm.org/D82528
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
Commit 9ea0d8c38fc58ecec2e2f62f3b65e99fcbc2ec4c by flo
[LoopRotate] Remove unnecessary verifyMemorySSA calls.

The actual rotation happens in processLoop, so the second removed
call to verifyMemorySSA was unnecessary.

In fact, processLoop/rotateLoop already verify MemorySSA before
and after transforming each loop. Hence, both calls can be removed.

Pointed out by @lebedev.ri post-commit D51718.
The file was modifiedllvm/lib/Transforms/Utils/LoopRotationUtils.cpp
Commit a9e10a09651fa685876d2104254236b6840ad1af by Xing
[DWARFYAML] Remove useless conditional statement. NFC.

The conditional statement is useless after
3a48a632d00ef1c98042140f402337fe13cdff52.
The file was modifiedllvm/lib/ObjectYAML/DWARFVisitor.cpp
Commit 20854d85e14cf0b86f6e0dbbf9aef817845403bd by john.brawn
[DSE,MSSA] Recognise init_trampoline in getLocForWriteEx

This fixes an instance where MemorySSA-using Dead Store Elimination is failing
to do a transformation that the non-MemorySSA-using version does.

Differential Revision: https://reviews.llvm.org/D83783
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-todo.ll
Commit e2692f0ee7f338fea4fc918669643315cefc7678 by lewis-revill
[RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbb asm instructions

This patch provides optimization of bit manipulation operations by
enabling the +experimental-b target feature.
It adds matching of single block patterns of instructions to specific
bit-manip instructions from the base subset (zbb subextension) of the
experimental B extension of RISC-V.
It adds also the correspondent codegen tests.

This patch is based on Claire Wolf's proposal for the bit manipulation
extension of RISCV:
https://github.com/riscv/riscv-bitmanip/blob/master/bitmanip-0.92.pdf

Differential Revision: https://reviews.llvm.org/D79870
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rv64Zbb.ll
The file was addedllvm/test/CodeGen/RISCV/rv32Zbb.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Commit 31b52b4345e36b169a2b6a89eac44651f59889dd by lewis-revill
[RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbp asm instructions

This patch provides optimization of bit manipulation operations by
enabling the +experimental-b target feature.
It adds matching of single block patterns of instructions to specific
bit-manip instructions from the permutation subset (zbp subextension) of
the experimental B extension of RISC-V.
It adds also the correspondent codegen tests.

This patch is based on Claire Wolf's proposal for the bit manipulation
extension of RISCV:
https://github.com/riscv/riscv-bitmanip/blob/master/bitmanip-0.92.pdf

Differential Revision: https://reviews.llvm.org/D79871
The file was addedllvm/test/CodeGen/RISCV/rv64Zbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rv32Zbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
Commit 6144f0a1e52e7f5439a67267ca65f2d72c21aaa6 by lewis-revill
[RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbbp asm instructions

This patch provides optimization of bit manipulation operations by
enabling the +experimental-b target feature.
It adds matching of single block patterns of instructions to specific
bit-manip instructions belonging to both the permutation and the base
subsets of the experimental B extension of RISC-V.
It adds also the correspondent codegen tests.

This patch is based on Claire Wolf's proposal for the bit manipulation
extension of RISCV:
https://github.com/riscv/riscv-bitmanip/blob/master/bitmanip-0.92.pdf

Differential Revision: https://reviews.llvm.org/D79873
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
The file was addedllvm/test/CodeGen/RISCV/rv32Zbbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was addedllvm/test/CodeGen/RISCV/rv64Zbbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit d4be33374c07ea9a9362892876aa76b227298181 by lewis-revill
[RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbs asm instructions

This patch provides optimization of bit manipulation operations by
enabling the +experimental-b target feature.
It adds matching of single block patterns of instructions to specific
bit-manip instructions from the single-bit subset (zbs subextension) of
the experimental B extension of RISC-V.
It adds also the correspondent codegen tests.

This patch is based on Claire Wolf's proposal for the bit manipulation
extension of RISCV:
https://github.com/riscv/riscv-bitmanip/blob/master/bitmanip-0.92.pdf

Differential Revision: https://reviews.llvm.org/D79874
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was addedllvm/test/CodeGen/RISCV/rv64Zbs.ll
The file was addedllvm/test/CodeGen/RISCV/rv32Zbs.ll
Commit c9c955ada8e65205312f2bc41b46eefa0e98b36c by lewis-revill
[RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbt asm instructions

This patch provides optimization of bit manipulation operations by
enabling the +experimental-b target feature.
It adds matching of single block patterns of instructions to specific
bit-manip instructions from the ternary subset (zbt subextension) of the
experimental B extension of RISC-V.
It adds also the correspondent codegen tests.

This patch is based on Claire Wolf's proposal for the bit manipulation
extension of RISCV:
https://github.com/riscv/riscv-bitmanip/blob/master/bitmanip-0.92.pdf

Differential Revision: https://reviews.llvm.org/D79875
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was addedllvm/test/CodeGen/RISCV/rv64Zbt.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
The file was addedllvm/test/CodeGen/RISCV/rv32Zbt.ll
Commit 3a6c2a61c64277a51a9dda22eece8072c0590fa4 by simon
[mips] Rename FeatureMadd4 to FeatureNoMadd4. NFC

`FeatureMadd4` is used to disable `madd4`, and the corresponding feature
option is `(+-)nomadd4`. Renaming to the `FeatureNoMadd4` makes its
purpose clear.

Patch by YunQiang Su.

Differential Revision: https://reviews.llvm.org/D83780
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was modifiedllvm/lib/Target/Mips/Mips.td
Commit 29aab9b5c748b28b231e2ca0f9b95453638ade1a by Raphael Isemann
[lldb] Use the basename of the Python test for the log name instead of the class name

Summary:

From what I know we already have the restriction that every test in the test
suite needs to have a unique file name as that's used for generating the unique
build directory for a test. It seems there is also a restriction that every test
case class in the test suite needs to have a unique name as that's used to
generate the unique log file name for the test run.

This changes the log file format to use the basename of the test file instead so
that we only have to keep worrying about the 'unique file name' restriction from
now on.

This came up because I started naming the test classes "TestCase" (as repeating
the file name in the test class seems like redudant information that just makes
renaming tests a pain).

Reviewers: labath, JDevlieghere

Reviewed By: labath

Subscribers: mgorny, abidh

Differential Revision: https://reviews.llvm.org/D83767
The file was modifiedlldb/test/API/CMakeLists.txt
Commit 10fd550d308d5dbcf7a3068f1f76d5f0f1a56661 by Raphael Isemann
[lldb] Make expect_expr fall back to the dummy target if no target is selected

Summary:

Currently expect_expr will not run the expression if no target is selected. This
patch changes this behavior so that expect_expr will instead fall back to the
dummy target similar to what the `expression` command is doing. This way we
don't have to compile an empty executable to be able to use `expect_expr` (which
is a waste of resources for tests that just test generic type system features).

As a test I modernized the TestTypeOfDeclTypeExpr into a Python test +
expect_expr (as it relied on the dummy target fallback of the expression
command).

Reviewers: labath, JDevlieghere

Reviewed By: labath

Subscribers: abidh

Differential Revision: https://reviews.llvm.org/D83388
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was removedlldb/test/Shell/Expr/TestTypeOfDeclTypeExpr.test
The file was addedlldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py
Commit c11c78a1bd0b3275bf845604aae3c94e97acceed by kbobyrev
[clangd] Use llvm::errs() instead of outs() for errors

Summary: errs() is more appropriate for error messages in dexp and clangd-index-server.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83827
The file was modifiedclang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
The file was modifiedclang-tools-extra/clangd/index/remote/server/Server.cpp
Commit f819d257982e6c3f1fb57de4252b46bdfaa9415a by pavel
[lldb] Delete useless assertion

It served a puprose while we were using the test name to provide a name
for the created file. Now that the files are created in memory, we don't
need that.
The file was modifiedlldb/unittests/TestingSupport/TestUtilities.cpp
Commit 313fca6520b43d95abb73e7c78a252a60ee4cf48 by pavel
[lldb/test] Remove JOIN_CMD from Makefile.rules

It's possible to achieve the same effect by providing multi-step recipe
instead of a single-step recipe where the step happens to contain
multiple commands.
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit 37b96d51d0cfc82a64598aaae2a567fa77e44de9 by Tim Northover
CodeGenPrep: remove AssertingVH references before deleting dead instructions.

CodeGenPrepare keeps fairly close track of various instructions it's
seen, particularly GEPs, in maps and vectors. However, sometimes those
instructions become dead and get removed while it's still executing.
This triggers AssertingVH references to them in an asserts build and
could lead to miscompiles in a release build (I've only seen a later
segfault though).

So this patch adds a callback to
RecursivelyDeleteTriviallyDeadInstructions which can make sure the
instruction about to be deleted is removed from CodeGenPrepare's data
structures.
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/dead-gep.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
Commit 9c1c6a3fcca840b75a0ae818ac4e24e7460c397b by Raphael Isemann
Revert "[lldb] Use the basename of the Python test for the log name instead of the class name"

This reverts commit 29aab9b5c748b28b231e2ca0f9b95453638ade1a.

It seems on Windows the file name is just always "lldbsuite.test.lldbtest" for
all tests and that breaks pretty much everything. Reverting until we have
a better solution.
The file was modifiedlldb/test/API/CMakeLists.txt
Commit 00e3a1ddec95c0b48ce216220d7e3481dab3bc78 by protze
[TSan] Optimize handling of racy address

This patch splits the handling of racy address and racy stack into separate
functions. If a race was already reported for the address, we can avoid the
cost for collecting the involved stacks.

This patch also removes the race condition in storing the racy address / racy
stack. This race condition allowed all threads to report the race.

This patch changes the transitive suppression of reports. Previously
suppression could transitively chain memory location and racy stacks.
Now racy memory and racy stack are separate suppressions.

Reviewed by: dvyukov

Differential Revision: https://reviews.llvm.org/D83625
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit d6e79e3dd6df63425eb098f482be2c9744ad48eb by jdenny.ornl
[OpenMP][Docs] Update `present` map type modifier status
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 24cd66d2190a093ed580451496513a65a4c7b8ce by david.green
[HardwareLoops] Add sibling loop test.

This missed being part of 9e03547cab69.
The file was addedllvm/test/Transforms/HardwareLoops/sibling-loops.ll
Commit ad493300322099787cab5f3a9f7310af0f9b5e6c by frgossen
[MLIR][Shape] Fix `shape_of` lowering to `scf`

The use of the `scf.for` callback builder does not allow for a rollback of the
emitted conversions. Instead, we populate the loop body through the conversion
rewriter directly.

Differential Revision: https://reviews.llvm.org/D83873
The file was modifiedmlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp
Commit d3849dddd267af300d76b57c055e89f1ad2622d0 by protze
Revert "[TSan] Optimize handling of racy address"

This reverts commit 00e3a1ddec95c0b48ce216220d7e3481dab3bc78.
The commit broke most build bots, investigating.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit 700dd17399bdcf2c580121e52b20e5768663dfe5 by Jonas Devlieghere
[lldb/Test] Remove support for forking a subprocess from the test suite.

Remove the forkSubprocess method and its bookkeeping.
TestCreateAfterAttach is the only test using the fork method and I'm not
convinced it adds enough to warrant the maintenance. Pavel suggested the
same thing in D83815.
The file was modifiedlldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit ae51a70030b5a5af9789378356b67b8d18ddde8a by mcinally
[Legalize] Hoist invariant condition in ExpandVectorBuildThroughStack(...)

The operands of a BUILD_VECTOR must all have the same type, so we can hoist this invariant condition out of the loop.

Differential Revision: https://reviews.llvm.org/D83882
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit ef30a00a57c78a91571a66555f2531af0f1f51e5 by qiucofan
[NFC] Add float aggregate ABI test for PowerPC

4c5a93bd landed adjustment to handle C++20 no_unique_address attribute
correctly, clang treats empty members in aggregate type differently if
having this attribute. This commit adds necessary test for PowerPC
target to reflect this change.
The file was addedclang/test/CodeGen/ppc-aggregate-abi.cpp
Commit 7ebb10d46a8d43af0fdafe0d9766e8bdca4d3ec5 by frgossen
[MLIR][Standard] Update `assert` documentation post commit

Update line wrapping.

Differential Revision: https://reviews.llvm.org/D83769
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit cf3f100fcbf94af499501140590b322b4985c1a3 by rupprecht
[lldb][test] Prevent infinite loop while looking for use_lldb_suite_root.py.

Several scripts (two copies of use_lldb_suite.py, and an __init__.py) look for use_lldb_suite_root.py by checking parent directories. If for some reason it doesn't exist, it keeps checking parent directories until it finds it.

However, this only breaks when the parent directory is None, but at least on Linux, dirname('/') == '/', so this will never be None.

This changes the lookup to stop if the dirname(lldb_root) is unchanged. This was previously fixed in 67f6d842fab6d3ac8c949721be8e131cf6b17578, but only in one copy of this script.

Additionally, this makes the failure mode more visible -- if the root is not found, it complains loudly instead of silently failing, and having later modules that need lldb_root fail.

Differential Revision: https://reviews.llvm.org/D83840
The file was modifiedlldb/scripts/use_lldb_suite.py
The file was modifiedlldb/packages/Python/lldbsuite/__init__.py
The file was modifiedlldb/test/API/use_lldb_suite.py
Commit 3577317b6d6b6e3fc4ae42b79900968620571886 by phosek
[CMake][runtimes] Pass the CMAKE_ARGS to runtimes build correctly

We were relying on CMAKE_ARGS argument to be passed to subbuild, but
this argument was never properly defined. This patch addresses that.

Differential Revision: https://reviews.llvm.org/D83842
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 412b60531edd8caeccea9c3756d55c7f32337857 by herhut
[mlir][shape] Mark some operations as commutative

Summary:
This makes sure that their constant arguments are sorted to the back
and hence eases the specification of rewrite patterns.

Differential Revision: https://reviews.llvm.org/D83856
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
Commit f413b53a67ac3ed542fbe8f3a6dfc09b287f8140 by aeubanks
[NPM][IVUsers] Rename ivusers -> iv-users

LPM passes were named iv-users, which seems nicer than ivusers.

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D83803
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/2012-05-18-LoopPredRecurse.ll
The file was modifiedllvm/test/Analysis/IVUsers/quadradic-exit-value.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
The file was modifiedllvm/test/Transforms/LoopDeletion/invalidation.ll
Commit e122eba185055fb848cc7efc578035716dc1fec4 by dmitry.preobrazhensky
[AMDGPU][MC] Corrected MTBUF parsing and decoding

MTBUF implementation has many issues and this change addresses most of these:
- refactored duplicated code;
- hardcoded constants moved out of high-level code;
- fixed a decoding error when nfmt or dfmt are zero (bug 36932);
- corrected parsing of operand separators (bug 46403);
- corrected handling of missing operands (bug 46404);
- corrected handling of out-of-range modifiers (bug 46421);
- corrected default value (bug 46467).

Reviewers: arsenm, rampitec, vpykhtin, artem.tamazov, kzhuravl

Differential Revision: https://reviews.llvm.org/D83760
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/mtbuf_gfx10.txt
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/mtbuf_vi.txt
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIDefines.h
The file was modifiedllvm/test/MC/AMDGPU/mtbuf-gfx10.s
The file was modifiedllvm/test/MC/AMDGPU/mtbuf.s
Commit 8ef47244b95f7b148e072a19563f6096ed4fe43c by herhut
[mlir][shape] Fold shape.broadcast with one scalar operand

This folds shape.broadcast where at least one operand is a scalar to the
other operand.

Also add an assemblyFormat for shape.broadcast and shape.concat.

Differential Revision: https://reviews.llvm.org/D83854
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
Commit f233b92f92a669f9f2cc6d08d57ca4931dd61b78 by yamauchi
[PGO][PGSO] Add profile guided size optimization to LegalizeDAG.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83333
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp-imm-size.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit 4a539faf74b9b4c25ee3b880e4007564bd5139b0 by yamauchi
[PGO] Extend the value profile buckets for mem op sizes.

Extend the memop value profile buckets to be more flexible (could accommodate a
mix of individual values and ranges) and to cover more value ranges (from 11 to
22 buckets).

Disabled behind a flag (to be enabled separately) and the existing code to be
removed later.
The file was modifiedcompiler-rt/lib/profile/InstrProfilingValue.c
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
The file was modifiedllvm/unittests/ProfileData/CMakeLists.txt
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
The file was modifiedllvm/test/Transforms/PGOProfile/memop_profile_funclet.ll
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedllvm/lib/ProfileData/InstrProf.cpp
The file was modifiedllvm/test/Transforms/PGOProfile/memcpy.ll
The file was addedllvm/unittests/ProfileData/InstrProfDataTest.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
Commit be8c59606d68c680ddcf1d2556772b3a93266717 by llvmgnsyncbot
[gn build] Port 4a539faf74b
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ProfileData/BUILD.gn
Commit efc30e591bb5a6e869fd8e084bd310ae516b0fae by spatel
[InstCombine] update datalayout in test file; NFC

We need to specify legal integer widths to trigger PR46712,
so add those here. This doesn't appear to affect any existing
tests, and it's not clear why a datalayout would not include
any legal integer widths.

While here, change some variable names that include 'tmp' to
avoid warnings from the auto-generating script for CHECK lines.
The file was modifiedllvm/test/Transforms/InstCombine/or.ll
Commit d8b268680d0858aaf30cb1a278b64b11361bc780 by spatel
[InstCombine] prevent infinite looping in or-icmp fold (PR46712)

I'm not sure if the test is truly minimal, but we need to
induce a situation where a value becomes a constant but is
not immediately folded before getting to the 'or' transform.
The file was modifiedllvm/test/Transforms/InstCombine/or.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit a3ad8f92b44d79487a34b1151251b413ef769070 by jurahul
[MLIR] Add type checking capability to RegionBranchOpInterface

- Add function `verifyTypes` that Op's can call to do type checking verification
  along the control flow edges described the Op's RegionBranchOpInterface.
- We cannot rely on the verify methods on the OpInterface because the interface
  functions assume valid Ops, so they may crash if invoked on unverified Ops.
  (For example, scf.for getSuccessorRegions() calls getRegionIterArgs(), which
  dereferences getBody() block. If the scf.for is invalid with no body, this
  can lead to a segfault). `verifyTypes` can be called post op-verification to
  avoid this.

Differential Revision: https://reviews.llvm.org/D82829
The file was modifiedmlir/include/mlir/Interfaces/ControlFlowInterfaces.h
The file was modifiedmlir/test/Dialect/SCF/invalid.mlir
The file was modifiedmlir/lib/Interfaces/ControlFlowInterfaces.cpp
The file was modifiedmlir/include/mlir/Interfaces/ControlFlowInterfaces.td
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td