SuccessChanges

Summary

  1. [clangd] Use llvm::errs() instead of outs() for errors (details)
  2. [lldb] Delete useless assertion (details)
  3. [lldb/test] Remove JOIN_CMD from Makefile.rules (details)
  4. CodeGenPrep: remove AssertingVH references before deleting dead instructions. (details)
  5. Revert "[lldb] Use the basename of the Python test for the log name instead of the class name" (details)
  6. [TSan] Optimize handling of racy address (details)
  7. [OpenMP][Docs] Update `present` map type modifier status (details)
  8. [HardwareLoops] Add sibling loop test. (details)
  9. [MLIR][Shape] Fix `shape_of` lowering to `scf` (details)
  10. Revert "[TSan] Optimize handling of racy address" (details)
  11. [lldb/Test] Remove support for forking a subprocess from the test suite. (details)
  12. [Legalize] Hoist invariant condition in ExpandVectorBuildThroughStack(...) (details)
  13. [NFC] Add float aggregate ABI test for PowerPC (details)
  14. [MLIR][Standard] Update `assert` documentation post commit (details)
  15. [lldb][test] Prevent infinite loop while looking for use_lldb_suite_root.py. (details)
  16. [CMake][runtimes] Pass the CMAKE_ARGS to runtimes build correctly (details)
  17. [mlir][shape] Mark some operations as commutative (details)
  18. [NPM][IVUsers] Rename ivusers -> iv-users (details)
  19. [AMDGPU][MC] Corrected MTBUF parsing and decoding (details)
  20. [mlir][shape] Fold shape.broadcast with one scalar operand (details)
  21. [PGO][PGSO] Add profile guided size optimization to LegalizeDAG. (details)
  22. [PGO] Extend the value profile buckets for mem op sizes. (details)
  23. [gn build] Port 4a539faf74b (details)
  24. [InstCombine] update datalayout in test file; NFC (details)
  25. [InstCombine] prevent infinite looping in or-icmp fold (PR46712) (details)
  26. [MLIR] Add type checking capability to RegionBranchOpInterface (details)
  27. Fix "unused variable" warning from recent GCC. (details)
  28. [lldb][NFC] Add 'override' where missing in source/ and tools/ (details)
  29. [PGO][PGSO] Add profile guided size optimization to loop vectorization legality. (details)
  30. [OPENMP]Fix PR46688: cast the type of the allocated variable to the initial one. (details)
  31. [MLIR][NFC] Fix clang tidy warnings in misc utilities (details)
  32. [NFC] Fixed typo in tests parameters (details)
  33. [OPENMP]Fix PR46593: Reduction initializer missing construnctor call. (details)
  34. [LoopUnroll] Update branch weight for remainder loop (details)
  35. [flang] Fix erroneous application of SAVE statement (details)
  36. [NFC] [AIX] [z/OS] Fix build failure on AIX and z/OS (details)
  37. [lldb/Test] Remove custom tearDownHooks from GDB Remote tests (details)
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/remote/server/Server.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/dexp/Dexp.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/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/dead-gep.ll
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/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.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/test/API/use_lldb_suite.py
The file was modifiedlldb/packages/Python/lldbsuite/__init__.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/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
The file was modifiedllvm/test/Transforms/LoopDeletion/invalidation.ll
The file was modifiedllvm/test/Analysis/IVUsers/quadradic-exit-value.ll
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/lib/Passes/PassRegistry.def
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/SIInstrInfo.td
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/mtbuf_vi.txt
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIDefines.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
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/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
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/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
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/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp-imm-size.ll
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 modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedllvm/test/Transforms/PGOProfile/memcpy.ll
The file was addedllvm/unittests/ProfileData/InstrProfDataTest.cpp
The file was modifiedcompiler-rt/lib/profile/InstrProfilingValue.c
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/unittests/ProfileData/CMakeLists.txt
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
The file was modifiedllvm/lib/ProfileData/InstrProf.cpp
The file was modifiedllvm/test/Transforms/PGOProfile/memop_profile_funclet.ll
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.td
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/test/Dialect/SCF/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/include/mlir/Interfaces/ControlFlowInterfaces.h
The file was modifiedmlir/lib/Interfaces/ControlFlowInterfaces.cpp
Commit 268025e2636c023fc39eed80cc4589f7ce9db786 by richard
Fix "unused variable" warning from recent GCC.
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 44b43a52dc17135e43824e826862c8b35081cac0 by logan.r.smith0
[lldb][NFC] Add 'override' where missing in source/ and tools/

These were found by Clang's new -Wsuggest-override.

This patch doesn't touch any code in unittests/, since much of it intentionally doesn't use override to avoid massive warning spam from -Winconsistent-missing-override due to the use of MOCK_*** macros.

Differential Revision: https://reviews.llvm.org/D83847
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Symbol/FuncUnwinders.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_x86_64.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm64.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_i386.h
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_i386.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_x86_64.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_arm.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
Commit 30c382a7c6607a7d898730f8d288768110cdf1d2 by yamauchi
[PGO][PGSO] Add profile guided size optimization to loop vectorization legality.

Differential Revision: https://reviews.llvm.org/D83329
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
The file was modifiedllvm/test/Transforms/LoopVectorize/optsize.ll
Commit 9dc327d1b74637dac6dc432fb66f88711af16a55 by a.bataev
[OPENMP]Fix PR46688: cast the type of the allocated variable to the initial one.

Summary:
If the original variable is marked for allocation in the different
address space using #pragma omp allocate, need to cast the allocated
variable to its original type with the original address space.
Otherwise, the compiler may crash trying to bitcast the type of the new
allocated variable to the original type in some cases, like passing this
variable as an argument in function calls.

Reviewers: jdoerfert

Subscribers: jholewinski, cfe-commits, yaxunl, guansong, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83696
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
Commit ec85d7c8f3ada770d8a202ac7726b1e670fc0662 by uday
[MLIR][NFC] Fix clang tidy warnings in misc utilities

Fix clang tidy warnings in misc utilities - missing const or a star in
declaration.

Differential Revision: https://reviews.llvm.org/D83861
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/lib/Dialect/Affine/Utils/Utils.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
Commit 7520393842ea455fa7a6056d7dbc2e2cedd3c72f by dfukalov
[NFC] Fixed typo in tests parameters

Summary:
llc reports `fp32-denormals` is not recognized. I guess it was intended to be
`-denormal-fp-math-f32={preserve-sign|ieee} -mattr=+mad-mac-f32-insts`

Reviewers: rampitec

Reviewed By: rampitec

Subscribers: jvesely, nhaehnle, llvm-commits, kerbowa

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83883
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.f32.ll
Commit 41d0af00740ac5140f11c7f37157fc6e6dd1b016 by a.bataev
[OPENMP]Fix PR46593: Reduction initializer missing construnctor call.

Summary:
If user-defined reductions with the initializer are used with classes,
the compiler misses the constructor call when trying to create a private
copy of the reduction variable.

Reviewers: jdoerfert

Subscribers: cfe-commits, yaxunl, guansong, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83334
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit f3731d34faa7432462c877714af235e9787c9b30 by hoy
[LoopUnroll] Update branch weight for remainder loop

Unrolling a loop with compile-time unknown trip count results in a remainder loop. The remainder loop executes the remaining iterations of the original loop when the original trip count is not a multiple of the unroll factor. For better profile counts maintenance throughout the optimization pipeline, I'm assigning an artificial weight to the latch branch of the remainder loop.

A remainder loop runs up to as many times as the unroll factor subtracted by 1. Therefore I'm assigning the maximum possible trip count as the back edge weight. This should be more accurate than the default non-profile weight, which assumes the back edge runs much more frequently than the exit edge.

Differential Revision: https://reviews.llvm.org/D83187
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was addedllvm/test/Transforms/LoopUnroll/runtime-loop-branchweight.ll
Commit b297563a751ec390d895c6ac4430e37c5efbb340 by tkeith
[flang] Fix erroneous application of SAVE statement

A SAVE statement with no entity list applies the SAVE attribute only to
the entities that it is allowed on. We were applying it to automatic
data objects and reporting an error that they can't have SAVE.

The fix is to change `DeclarationVisitor::CheckSaveAttr` to check for
automatic objects. That controls both checking and setting the
attribute. This allows us to remove the check from `CheckSpecExpr`
(along with `symbolBeingChecked_`). Also, it was only called on constant
objects so the non-const overload can be eliminated.

The check in `CheckSpecExpr` is replaced by an explicit check for
automatic objects in modules. This caught an error in modfile03.f90 so
that part of the test was eliminated.

Differential Revision: https://reviews.llvm.org/D83899
The file was modifiedflang/test/Semantics/resolve45.f90
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/resolve77.f90
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/test/Semantics/modfile03.f90
Commit eed19bd84424d3bcd3cc3d2425ad20ad38a55de3 by daltenty
[NFC] [AIX] [z/OS] Fix build failure on AIX and z/OS

Summary: This PR contains a build failure fix that occurs on both AIX and z/OS as a result of this commit https://reviews.llvm.org/rG670915094462d831e3733e5b01a76471b8cf6dd8.

Reviewers: uweigand, Kai, hubert.reinterpretcast, daltenty, lhames

Reviewed By: Kai, hubert.reinterpretcast, daltenty

Subscribers: SeanP, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83889
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
Commit 8b85f68ee2ddd983c027adbda9567f06d25b3c51 by Jonas Devlieghere
[lldb/Test] Remove custom tearDownHooks from GDB Remote tests

Remove custom tearDownHooks from GDB Remote tests as we now cleanup
subprocesses unconditionally. This also changes the termination order to
be the reverse of the creation order. I don't think anything is relying
on that right now, but it better fits the setup/teardown paradigm.
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py