SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [LICM] Don't require AST in LoopPromoter (NFC) (details)
  2. [mlir][Python] Add missing capsule->module and Context.create_module. (details)
  3. Reland [CFGuard] Add address-taken IAT tables and delay-load support (details)
  4. [mlir-cuda-runner] Unbreak the build (details)
  5. Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h (details)
  6. Support: Allow use of MemoryBufferRef with line_iterator (details)
  7. [AIX] Support two itanium alignment LIT testcases for AIX using regex (details)
  8. [gn build] Port f0875971249 (details)
  9. [AMDGPU] Add MC layer support for v_fmac_legacy_f32 (details)
  10. [mlir][Linalg] Lower padding attribute for pooling ops (details)
  11. [MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait (details)
  12. Basic: Simplify SourceManager::getBuffer overload, NFC (details)
  13. Remove unused SideEffectInterfaces header (details)
  14. PR47805: Use a single object for a function parameter in the caller and (details)
  15. Revert "PR47805: Use a single object for a function parameter in the caller and" (details)
  16. [DDR] Introduce implicit equality check for the source pattern operands with the same name. (details)
  17. Add a new launch flag option for watchos, WatchComplicationLaunch. (details)
  18. [llvm-cov] Warn when -arch spec is missing/invalid for universal binary (details)
  19. Revert "[llvm-cov] Warn when -arch spec is missing/invalid for universal binary" (details)
  20. Remove unused build configurations from debugserver xcode project (details)
  21. [llvm-cov] Warn when -arch spec is missing/invalid for universal binary (reland) (details)
  22. [cmake] Unconditionally set the force flag when codesigning (details)
  23. Move initialization of Variable::m_loc_is_const_data into constructor (NFC) (details)
  24. [libc++/abi] Clean up uses of <iostream> in the test suite (details)
  25. [GISel] Add combine for constant G_PTR_ADD offsets. (details)
  26. [MLIR] Add support for defining Types in tblgen (details)
  27. Revert "[DDR] Introduce implicit equality check for the source pattern operands with the same name." (details)
  28. Replace bool constants with named constants for improved readibility (NFC) (details)
  29. [sanitizer] Escape quotes in tests to fix android bot after D88361 (details)
  30. [SemaObjC] Fix a crash on an invalid ternary with ARC pointers (details)
  31. PR47805: Use a single object for a function parameter in the caller and (details)
  32. Re-land [ThinLTO] Re-order modules for optimal multi-threaded processing (details)
  33. [compiler-rt] [lldb] Mark syscall_acquire and syscall_release as USED (details)
  34. Revert "PR47805: Use a single object for a function parameter in the caller and" (details)
  35. [CMake][Fuchsia] Start building arm64 Darwin runtimes (details)
  36. [NFC][compiler-rt] Add ppc32 to the list of arch (details)
  37. [sanitizer][NFC] Fix few cpplint warnings (details)
  38. [mlir] Remove obsolete "Quantization" section from the rationale. (details)
  39. [LLD] Add baseline test for TLS alignment. NFC. (details)
  40. [cmake] Limit missing external lit warning to be shown once (details)
  41. [X86][NFC] Fix RUN line bug in the testcase (details)
  42. libDebugInfoDWARF: Don't try to parse loclist[.dwo] headers when parsing debug_info[.dwo] (details)
  43. [LoopExtract][NewPM] Port -loop-extract to NPM (details)
  44. [test][NewPM] Pin -mergereturn tests to legacy PM (details)
  45. [AMDGPU] Cleanup memory legalizer interfaces (details)
  46. Revert "[clang] Improve handling of physical registers in inline assembly operands." (details)
  47. [lldb] Unconditionally strip the `.py(c)` extension when loading a module (details)
  48. [lldb] Remove lexical block and fix formatting LoadScriptingModule (NFC) (details)
  49. [ARM.td] Make instruction definitions visible to sched models (details)
  50. [libcxxabi,libunwind] support running tests in standalone mode (details)
  51. [test][lld] Mark TLS tests as REQUIRES: x86. (details)
Commit 3b31f05372f4ef881d0d11a2b8d339cd61b188df by nikita.ppv
[LICM] Don't require AST in LoopPromoter (NFC)

While promotion currently always has an AST available, it is only
relevant for invalidation purposes in LoopPromoter, so we do not
need to have it as a hard dependency.
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit ad958f648e46680966375a93a3f2f1f5ee870671 by stellaraccident
[mlir][Python] Add missing capsule->module and Context.create_module.

* Extends Context/Operation interning to cover Module as well.
* Implements Module.context, Attribute.context, Type.context, and Location.context back-references (facilitated testing and also on the TODO list).
* Adds method to create an empty Module.
* Discovered missing in npcomp.

Differential Revision: https://reviews.llvm.org/D89294
The file was modifiedmlir/include/mlir-c/Bindings/Python/Interop.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/test/Bindings/Python/ir_attributes.py
The file was modifiedmlir/test/Bindings/Python/ir_types.py
The file was modifiedmlir/test/Bindings/Python/ir_operation.py
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was modifiedmlir/test/Bindings/Python/ir_location.py
The file was modifiedmlir/test/Bindings/Python/ir_module.py
Commit cfd8481da1adba1952e0f6ecd00440986e49a946 by aeubanks
Reland [CFGuard] Add address-taken IAT tables and delay-load support

This patch adds support for creating Guard Address-Taken IAT Entry Tables (.giats$y sections) in object files, matching the behavior of MSVC. These contain lists of address-taken imported functions, which are used by the linker to create the final GIATS table.
Additionally, if any DLLs are delay-loaded, the linker must look through the .giats tables and add the respective load thunks of address-taken imports to the GFIDS table, as these are also valid call targets.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D87544
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/ICF.cpp
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
The file was modifiedlld/COFF/DLL.cpp
The file was addedllvm/test/CodeGen/WinCFGuard/cfguard-giats.ll
The file was modifiedlld/COFF/Symbols.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was addedlld/test/COFF/giats.s
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/InputFiles.h
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
Commit 97e48aadbd79184d1b3207c4f846c83e155be8dd by benny.kra
[mlir-cuda-runner] Unbreak the build

CMake Error at llvm/cmake/modules/AddLLVM.cmake:870 (add_dependencies):
  The dependency target "Core" of target "mlir-cuda-runner" does not exist.
Call Stack (most recent call first):
  llvm/cmake/modules/AddLLVM.cmake:1169 (add_llvm_executable)
  mlir/tools/mlir-cuda-runner/CMakeLists.txt:69 (add_llvm_tool)

CMake Error at llvm/cmake/modules/AddLLVM.cmake:870 (add_dependencies):
  The dependency target "LINK_COMPONENTS" of target "mlir-cuda-runner" does
  not exist.
Call Stack (most recent call first):
  llvm/cmake/modules/AddLLVM.cmake:1169 (add_llvm_executable)
  mlir/tools/mlir-cuda-runner/CMakeLists.txt:69 (add_llvm_tool)

CMake Error at llvm/cmake/modules/AddLLVM.cmake:870 (add_dependencies):
  The dependency target "Support" of target "mlir-cuda-runner" does not
  exist.
Call Stack (most recent call first):
  llvm/cmake/modules/AddLLVM.cmake:1169 (add_llvm_executable)
  mlir/tools/mlir-cuda-runner/CMakeLists.txt:69 (add_llvm_tool)
The file was modifiedmlir/tools/mlir-cuda-runner/CMakeLists.txt
Commit f0875971249b59b5a4c07cedc9633f0359cf6b73 by Duncan P. N. Exon Smith
Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h

As preparation for changing `LineIterator` to work with `MemoryBufferRef`:

- Add an `operator==` that uses buffer pointer identity to ensure two buffers
  are equivalent.
- Split out `MemoryBufferRef.h`, to avoid polluting `LineIterator.h` includers
  with everything from `MemoryBuffer.h`. This also means moving the
  `MemoryBuffer` constructor to a source file.

Differential Revision: https://reviews.llvm.org/D89279
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was addedllvm/unittests/Support/MemoryBufferRefTest.cpp
The file was addedllvm/include/llvm/Support/MemoryBufferRef.h
The file was modifiedllvm/include/llvm/Support/MemoryBuffer.h
The file was modifiedllvm/unittests/Support/MemoryBufferTest.cpp
The file was modifiedllvm/unittests/Support/CMakeLists.txt
The file was addedllvm/lib/Support/MemoryBufferRef.cpp
Commit f2b7d9f7faa2788e362a91761a1624fb6b020851 by Duncan P. N. Exon Smith
Support: Allow use of MemoryBufferRef with line_iterator

Split out from https://reviews.llvm.org/D66782, use `Optional<MemoryBufferRef>`
in `line_iterator` so you don't need access to a `MemoryBuffer*`.  Follow up
patches in `clang/` will leverage this.

Differential Revision: https://reviews.llvm.org/D89280
The file was modifiedllvm/include/llvm/Support/LineIterator.h
The file was modifiedllvm/lib/Support/LineIterator.cpp
The file was modifiedllvm/unittests/Support/LineIteratorTest.cpp
Commit 4c10d6508f546ee986df0994663984cb15354c08 by Xiangling.Liao
[AIX] Support two itanium alignment LIT testcases for AIX using regex

AIX has different layout dumping format from other itanium ABIs.
And for these two cases, use regex to match AIX format.

Differential Revision: https://reviews.llvm.org/D89064
The file was modifiedclang/test/Layout/itanium-pack-and-align.cpp
The file was modifiedclang/test/Layout/itanium-union-bitfield.cpp
Commit 76c7a6d6cd152dcddae977fefe5fe0420da467af by llvmgnsyncbot
[gn build] Port f0875971249
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Commit edc37baca6d6e4f28b7f4136e3263d3f1c3199f1 by jay.foad
[AMDGPU] Add MC layer support for v_fmac_legacy_f32

This instruction was introduced in GFX10.3, reusing the opcode of
v_mac_legacy_f32 from GFX10.1.

Differential Revision: https://reviews.llvm.org/D89247
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/MC/AMDGPU/gfx1011_err.s
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was addedllvm/test/MC/AMDGPU/gfx1030_unsupported.s
The file was modifiedllvm/test/MC/AMDGPU/gfx1030_new.s
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx1030_dasm_new.txt
Commit 44865e9169f625b78b7198c0f3f11d9330b01f06 by ravishankarm
[mlir][Linalg] Lower padding attribute for pooling ops

Update linalg-to-loops lowering for pooling operations to perform
padding of the input when specified by the corresponding attribute.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D88911
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
Commit c0b3abd19a3eaaaeeb9e6df47b3dfed4b767e974 by joker.eph
[MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait

This is the same diff as https://reviews.llvm.org/D88809/ except side effect
free check is removed for involution and a FIXME is added until the dependency
is resolved for shared builds. The old diff has more details on possible fixes.

Reviewed By: rriddle, andyly

Differential Revision: https://reviews.llvm.org/D89333
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/IR/Operation.cpp
The file was addedmlir/test/mlir-tblgen/trait.mlir
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was modifiedmlir/docs/Traits.md
The file was addedmlir/test/lib/Dialect/Test/TestTraits.cpp
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
Commit e7fe3c6dfede8d5781bd000741c3dea7088307a4 by Duncan P. N. Exon Smith
Basic: Simplify SourceManager::getBuffer overload, NFC

Avoid duplicating code unnecessarily. No functionality change.
The file was modifiedclang/include/clang/Basic/SourceManager.h
Commit b49787df9a535f03761c340dca7ec3ec1155133d by gcmn
Remove unused SideEffectInterfaces header

This change removes an unnecessary header introduced in
https://github.com/llvm/llvm-project/commit/c0b3abd19a3e.

Differential Revision: https://reviews.llvm.org/D89347
The file was modifiedmlir/lib/IR/Operation.cpp
Commit 8d03a972ce8e92815ffe3d5d86aa027605ed92e2 by richard
PR47805: Use a single object for a function parameter in the caller and
callee in constant evaluation.

We previously made a deep copy of function parameters of class type when
passing them, resulting in the destructor for the parameter applying to
the original argument value, ignoring any modifications made in the
function body. This also meant that the 'this' pointer of the function
parameter could be observed changing between the caller and the callee.

This change completely reimplements how we model function parameters
during constant evaluation. We now model them roughly as if they were
variables living in the caller, albeit with an artificially reduced
scope that covers only the duration of the function call, instead of
modeling them as temporaries in the caller that we partially "reparent"
into the callee at the point of the call. This brings some minor
diagnostic improvements, as well as significantly reduced stack usage
during constant evaluation.
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaTemplate/typo-dependent-name.cpp
The file was modifiedclang/test/SemaCXX/vla-construct.cpp
The file was modifiedclang/test/CXX/except/except.spec/p1.cpp
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/test/Sema/builtin-expect-with-probability-avr.cpp
The file was modifiedclang/test/SemaCUDA/constexpr-variables.cu
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_safelen_messages.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-consteval.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/OpenMP/critical_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/SemaCXX/warn-vla.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/integer-overflow.cpp
Commit ab870f3030fc288cd101905d730ef3425da5ac16 by richard
Revert "PR47805: Use a single object for a function parameter in the caller and"

The buildbots are displeased.

This reverts commit 8d03a972ce8e92815ffe3d5d86aa027605ed92e2.
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/test/OpenMP/distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/SemaCXX/warn-vla.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/SemaCXX/vla-construct.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-consteval.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/critical_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/CXX/except/except.spec/p1.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaTemplate/typo-dependent-name.cpp
The file was modifiedclang/test/SemaCXX/integer-overflow.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability-avr.cpp
The file was modifiedclang/test/SemaCUDA/constexpr-variables.cu
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_safelen_messages.cpp
Commit 7271c1bcb96051bcd227d3fa6071a620fe238850 by jpienaar
[DDR] Introduce implicit equality check for the source pattern operands with the same name.

This CL allows user to specify the same name for the operands in the source pattern which implicitly enforces equality on operands with the same name.
E.g., Pat<(OpA $a, $b, $a) ... > would create a matching rule for checking equality for the first and the last operands. Equality of the operands is enforced at any depth, e.g., OpA ($a, $b, OpB($a, $c, OpC ($a))).

Example usage: Pat<(Reshape $arg0, (Shape $arg0)), (replaceWithValue $arg0)>

Note, this feature only covers operands but not attributes.
Current use cases are based on the operand equality and explicitly add the constraint into the pattern. Attribute equality will be worked out on the different CL.

Differential Revision: https://reviews.llvm.org/D89254
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/test/mlir-tblgen/pattern.mlir
The file was modifiedmlir/include/mlir/TableGen/Pattern.h
The file was modifiedmlir/lib/TableGen/Pattern.cpp
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
Commit e763709d14e560915e04731c2fd6f1595d7ff8ba by Jason Molenda
Add a new launch flag option for watchos, WatchComplicationLaunch.

Link against CarouselServices on watchos, recognize the
WatchComplicationLaunch launch flag option when that framework
is available.

<rdar://problem/62473967>, <rdar://problem/61230088>
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit b81d4bfb44c14575130bb06c047728b69c3213aa by Vedant Kumar
[llvm-cov] Warn when -arch spec is missing/invalid for universal binary

llvm-cov reports a poor error message when the -arch specifier is
missing or invalid, and a binary has multiple slices. Make the error
message more specific.

rdar://40312677
The file was modifiedllvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMapping.cpp
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
The file was modifiedllvm/test/tools/llvm-cov/universal-binary.c
Commit 10b6d0901f70738037e3f23e5b441be7ecb94d65 by Vedant Kumar
Revert "[llvm-cov] Warn when -arch spec is missing/invalid for universal binary"

This reverts commit b81d4bfb44c14575130bb06c047728b69c3213aa.

It's causing some bots to fail to build due to: "error: no matching
function for call to ‘__iterator_category".
The file was modifiedllvm/test/tools/llvm-cov/universal-binary.c
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMapping.cpp
Commit 7d67c06391bba00a043c23eb6bb478484831de98 by Jason Molenda
Remove unused build configurations from debugserver xcode project

the xcode project file for debugserver exists only to make my
life easier when I'm working only on debugserver and don't need
to build the rest of llvm/lldb.  It had many build configurations
to reflect our old lldb xcode project file, which is long gone.
Removing them to simplify the configurations.

Specifically dropping CustomSwift-Debug, DebugClang, DebugPresubmission,
CustomSwift-Release, BuildAndIntegration.  Keeping Debug & Release.
The file was modifiedlldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
Commit 7fafaa07bcaddd6cad8323940b73c0df98a8f02a by Vedant Kumar
[llvm-cov] Warn when -arch spec is missing/invalid for universal binary (reland)

llvm-cov reports a poor error message when the -arch specifier is
missing or invalid, and a binary has multiple slices. Make the error
message more specific.

(This version of the patch avoids using llvm::none_of -- the way I used
the utility caused compile errors on many bots, possibly because the
wrong overload of `none_of` was selected.)

rdar://40312677
The file was modifiedllvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
The file was modifiedllvm/test/tools/llvm-cov/universal-binary.c
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMapping.cpp
The file was modifiedllvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
Commit 24c1660ac5d7813072b429eee7a9531338e53aea by Vedant Kumar
[cmake] Unconditionally set the force flag when codesigning

The Darwin linker now defaults to ad hoc signing binaries when targeting
Apple Silicon. This creates a problem when configuring targets that must
be built with entitlements: we either need to add -Wl,-no_adhoc_codesign
when building the target, or sign with the force flag set to allow
replacing a pre-existing signature.

Unconditionally force-signing is the more convenient solution. This
doesn't require a ld64 version check, and it's a much less invasive
cmake change.

Patch by Fred Riss!

rdar://70237254

Differential Revision: https://reviews.llvm.org/D89343
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 9b1c06c0e84a9cc763e12b289becb5fc3c9d01ea by Adrian Prantl
Move initialization of Variable::m_loc_is_const_data into constructor (NFC)

This makes it symmetric with all other flags and makes it easier to
not forget to initialize it.

https://reviews.llvm.org/D89351
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Symbol/Variable.cpp
The file was modifiedlldb/include/lldb/Symbol/Variable.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Commit cc69d211d0d65d7bf0335fecbc323f784ac3afcc by Louis Dionne
[libc++/abi] Clean up uses of <iostream> in the test suite

We used <iostream> in several places where we don't actually need the
full power of <iostream>, and where using basic `std::printf` is enough.
This is better, since `std::printf` can be supported on systems that don't
have a notion of locales, while <iostream> can't.
The file was modifiedlibcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
The file was modifiedlibcxxabi/test/support/timer.h
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/transform_inclusive_scan_bop_uop.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
The file was modifiedlibcxxabi/test/test_vector2.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp
The file was modifiedlibcxx/test/std/namespace/addressable_functions.sh.cpp
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedlibcxxabi/test/test_exception_storage.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/transform_exclusive_scan_init_bop_uop.pass.cpp
The file was modifiedlibcxx/test/support/container_debug_tests.h
The file was modifiedlibcxxabi/test/test_fallback_malloc.pass.cpp
The file was modifiedlibcxx/test/libcxx/iterators/failed.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
The file was modifiedlibcxxabi/test/test_aux_runtime.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/set.cons/assign_initializer_list.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/begin_end.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/increment.pass.cpp
The file was modifiedlibcxxabi/src/fallback_malloc.cpp
The file was modifiedlibcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_min_max.pass.cpp
The file was modifiedlibcxxabi/test/catch_multi_level_pointer.pass.cpp
The file was modifiedlibcxxabi/test/test_vector1.pass.cpp
The file was modifiedlibcxx/test/support/filesystem_test_helper.h
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/sort_pred.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan_op.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.modifiers/insert_or_assign.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
The file was modifiedlibcxxabi/test/cxa_bad_typeid.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/begin_end.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/lit.local.cfg
Commit ef3d17482fff105a1c44fccbbe494ccddafa5661 by aditya_nandakumar
[GISel] Add combine for constant G_PTR_ADD offsets.

https://reviews.llvm.org/D88865

This adds a single combine for GlobalISel to fold:

ptradd (inttoptr C1) C2
Into:

C1 + C2
Additionally, a small test for AArch64 is added.

Patch by pnappa.
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/combine-ptradd-int2ptr.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was addedllvm/include/llvm/Target/GlobalISel/Combine.td.rej
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 5fe53c412832b3c18cd1e4e9f54848304e3a74bc by john.demme
[MLIR] Add support for defining Types in tblgen

Adds a TypeDef class to OpBase and backing generation code. Allows one
to define the Type, its parameters, and printer/parser methods in ODS.
Can generate the Type C++ class, accessors, storage class, per-parameter
custom allocators (for the storage constructor), and documentation.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D86904
The file was addedmlir/test/mlir-tblgen/typedefs.td
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was addedmlir/test/lib/Dialect/Test/TestTypeDefs.td
The file was addedmlir/tools/mlir-tblgen/TypeDefGen.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/tools/mlir-tblgen/OpDocGen.cpp
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was addedmlir/test/lib/Dialect/Test/TestTypes.cpp
The file was modifiedmlir/lib/TableGen/CMakeLists.txt
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was addedmlir/include/mlir/TableGen/TypeDef.h
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.h
The file was addedmlir/lib/TableGen/TypeDef.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was addedmlir/test/mlir-tblgen/testdialect-typedefs.mlir
Commit 0b793c4be0eee90a22b7a150187f5f7cf744c120 by joker.eph
Revert "[DDR] Introduce implicit equality check for the source pattern operands with the same name."

This reverts commit 7271c1bcb96051bcd227d3fa6071a620fe238850.

This broke the gcc-5 build:

/usr/include/c++/5/ext/new_allocator.h:120:4: error: no matching function for call to 'std::pair<const std::__cxx11::basic_string<char>, mlir::tblgen::SymbolInfoMap::SymbolInfo>::pair(llvm::StringRef&, mlir::tblgen::SymbolInfoMap::SymbolInfo)'
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^
In file included from /usr/include/c++/5/utility:70:0,
                 from llvm/include/llvm/Support/type_traits.h:18,
                 from llvm/include/llvm/Support/Casting.h:18,
                 from mlir/include/mlir/Support/LLVM.h:24,
                 from mlir/include/mlir/TableGen/Pattern.h:17,
                 from mlir/lib/TableGen/Pattern.cpp:14:
/usr/include/c++/5/bits/stl_pair.h:206:9: note: candidate: template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)
         pair(tuple<_Args1...>&, tuple<_Args2...>&,
         ^
The file was modifiedmlir/include/mlir/TableGen/Pattern.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/lib/TableGen/Pattern.cpp
The file was modifiedmlir/test/mlir-tblgen/pattern.mlir
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
Commit f9586a3b3c28f87652d00512236c43e8951a1bc4 by Adrian Prantl
Replace bool constants with named constants for improved readibility (NFC)
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Commit bcdd4359e1cd1909f75fd3689db685840b751911 by Vitaly Buka
[sanitizer] Escape quotes in tests to fix android bot after D88361
The file was modifiedcompiler-rt/test/sanitizer_common/android_commands/android_run.py
Commit 498c7fa48a02a5e0c12bbb90ef8c0d8468affcdd by erik.pilkington
[SemaObjC] Fix a crash on an invalid ternary with ARC pointers

FindCompositeObjCPointerType nulls out the subexpressions on error, so bail out
instead of trying to deref them.
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/SemaObjCXX/arc-type-conversion.mm
Commit 8f8b9f2cca0b73314342c721186ae9c860ca273c by richard
PR47805: Use a single object for a function parameter in the caller and
callee in constant evaluation.

We previously made a deep copy of function parameters of class type when
passing them, resulting in the destructor for the parameter applying to
the original argument value, ignoring any modifications made in the
function body. This also meant that the 'this' pointer of the function
parameter could be observed changing between the caller and the callee.

This change completely reimplements how we model function parameters
during constant evaluation. We now model them roughly as if they were
variables living in the caller, albeit with an artificially reduced
scope that covers only the duration of the function call, instead of
modeling them as temporaries in the caller that we partially "reparent"
into the callee at the point of the call. This brings some minor
diagnostic improvements, as well as significantly reduced stack usage
during constant evaluation.
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/test/Sema/builtin-expect-with-probability.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/SemaTemplate/typo-dependent-name.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability-avr.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/CXX/except/except.spec/p1.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/OpenMP/critical_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-consteval.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCUDA/constexpr-variables.cu
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp
The file was modifiedclang/test/SemaCXX/integer-overflow.cpp
The file was modifiedclang/test/SemaCXX/warn-vla.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/vla-construct.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_safelen_messages.cpp
Commit 617d64f6c5f8fdcdacc4401704146247152b96aa by alexandre.ganea
Re-land [ThinLTO] Re-order modules for optimal multi-threaded processing

This reverts 9b5b3050237db3642ed7ab1bdb3ffa2202511b99 and fixes the unwanted re-ordering when generating ThinLTO indexes.

The goal of this patch is to better balance thread utilization during ThinLTO in-process linking (in llvm-lto2 or in LLD). Before this patch, large modules would often be scheduled late during execution, taking a long time to complete, thus starving the thread pool.

We now sort modules in descending order, based on each module's bitcode size, so that larger modules are processed first. By doing so, smaller modules have a better chance to keep the thread pool active, and thus avoid starvation when the bitcode compilation is almost complete.

In our case (on dual Intel Xeon Gold 6140, Windows 10 version 2004, two-stage build), this saves 15 sec when linking `clang.exe` with LLD & -flto=thin, /opt:lldltojobs=all, no ThinLTO cache, -DLLVM_INTEGRATED_CRT_ALLOC=d:\git\rpmalloc.

Before patch: 100 sec
After patch: 85 sec

Inspired by the work done by David Callahan in D60495.

Differential Revision: https://reviews.llvm.org/D87966
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was addedlld/test/COFF/thinlto-module-order.ll
Commit d4b040473291c5b25bee05fae3a10ac9ad0baa99 by kamil
[compiler-rt] [lldb] Mark syscall_acquire and syscall_release as USED

Fixes build warnings on NetBSD.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit 69f7c006ff72167231b569a0fd2d7955ca597ffa by richard
Revert "PR47805: Use a single object for a function parameter in the caller and"

Breaks a clangd unit test.

This reverts commit 8f8b9f2cca0b73314342c721186ae9c860ca273c.
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/SemaCXX/integer-overflow.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp
The file was modifiedclang/test/CXX/except/except.spec/p1.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/SemaTemplate/typo-dependent-name.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability-avr.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCUDA/constexpr-variables.cu
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/test/SemaCXX/vla-construct.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/test/SemaCXX/warn-vla.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-consteval.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/critical_messages.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
Commit b72813f4d6a0a0f1dc79afc1ca7e0e4d55ad6a72 by phosek
[CMake][Fuchsia] Start building arm64 Darwin runtimes

This enables arm64 Darwin support in Fuchsia toolchain.
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit 19856c598289a1bd8ac09dc9f6c7a56ae606be16 by daltenty
[NFC][compiler-rt] Add ppc32 to the list of arch

This should have been done when it was added to the symmetrical list in
the builtins config-ix in D87383, but it was overlooked.
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit 20e78eb304c4b03666f9c1c2951be9dbef265b23 by Vitaly Buka
[sanitizer][NFC] Fix few cpplint warnings
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flags.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/litlint.py
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_atomic_test.cpp
Commit e379a68cd2e7217f38bb356131aef06572b8749f by stellaraccident
[mlir] Remove obsolete "Quantization" section from the rationale.

* It reads as more of a TODO for the future and has been long obsoleted by later work.
* One of the authors of the referenced paper called this out as "weird stuff from two years ago" when reviewing the more recent TOSA RFC.

Differential Revision: https://reviews.llvm.org/D89329
The file was modifiedmlir/docs/Rationale/Rationale.md
Commit 6b7738e204b4b24b8afeccf9937e18b1f9a0eaf7 by me
[LLD] Add baseline test for TLS alignment. NFC.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88646
The file was addedlld/test/COFF/tls-alignment-64.ll
The file was addedlld/test/COFF/Inputs/tlssup-32.ll
The file was addedlld/test/COFF/Inputs/tlssup-64.ll
The file was addedlld/test/COFF/tls-alignment-32.ll
Commit 41f946a6d2a4c1b36ee0a63f615a1aa6edf37cab by davelee.com
[cmake] Limit missing external lit warning to be shown once

When using a custom `LLVM_EXTERNAL_LIT`, it's possible the file may not exist at the CMake is generating the build. One example is LLDB standalone builds. When the external lit doesn't exist, a warning message is emitted, but the warning is printed once for every single lit target. This produces many redundant warnings.

This changes the warning to only be emitted once, controlled by a CACHE variable.

Other options are:
  1. remove the warning
  2. have callers pass an option to silence the warning if desired

See https://reviews.llvm.org/D76945 for some context.

Differential Revision: https://reviews.llvm.org/D89356
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit bd05afcb3f4093fe76dd64fe29255550bfd894ec by chen3.liu
[X86][NFC] Fix RUN line bug in the testcase

Testcase added in D78699 doesn't work because the wrong RUN line in the
testcase.

Differential Revision: https://reviews.llvm.org/D89361
The file was modifiedclang/test/CodeGen/X86/avx-union.c
Commit 9670a45c980c371c5ece8047a00b8b2abec73823 by dblaikie
libDebugInfoDWARF: Don't try to parse loclist[.dwo] headers when parsing debug_info[.dwo]

There's no way to know whether there's a loclist contribution to parse
if there's no loclistx encoding - and if there is one, there's no need
to walk back from the loclist_base (or, uin the case of
info.dwo/loclist.dwo - starting at 0 in the contribution) to parse the
header, instead rely on the DWARF32/64 and address size in the CU
that's already available.

This would come up in split DWARF (non-split wouldn't try to read a
loclist header in the absence of a loclist_base) when one unit had
location lists and another does not (because the loclists.dwo section
would be non-empty in that case - in the case where it's empty the
parsing would silently skip).

Simplify the testing a bit, rather than needing a whole dwp, etc - by
creating a malformed loclists.dwo section (and use single file Split
DWARF) that would trip up any attempt to parse it - but no attempt
should be made.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_unused_invalid.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
Commit 518ec05a104a237b6ccae20e1e84c2b462fc3ca1 by aeubanks
[LoopExtract][NewPM] Port -loop-extract to NPM

-loop-extract-single is just -loop-extract on one loop.

-loop-extract depended on -break-crit-edges and -loop-simplify in the
legacy PM, but the NPM doesn't allow specifying pass dependencies like
that, so manually add those passes to the RUN lines where necessary.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D89016
The file was modifiedllvm/test/Transforms/CodeExtractor/2004-03-14-DominanceProblem.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/LoopExtractor_crash.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was addedllvm/include/llvm/Transforms/IPO/LoopExtractor.h
The file was modifiedllvm/test/Transforms/CodeExtractor/LoopExtractor_min_wrapper.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/IPO/LoopExtractor.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/CodeExtractor/2004-03-17-MissedLiveIns.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/2004-03-13-LoopExtractorCrash.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/BlockAddressReference.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/LoopExtractor.ll
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was modifiedllvm/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/BlockAddressSelfReference.ll
The file was modifiedllvm/test/Transforms/CodeExtractor/2004-03-17-UpdatePHIsOutsideRegion.ll
Commit 4b6e3ad9b40111852aa717fee2768f964b6d70a7 by aeubanks
[test][NewPM] Pin -mergereturn tests to legacy PM

Looks like this pass isn't really used and hasn't been worked on in a
loooong time.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D89010
The file was modifiedllvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
The file was modifiedllvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll
Commit 907d799070c351b3da0b0f4b9669f230d46e6d8d by Tony.Tye
[AMDGPU] Cleanup memory legalizer interfaces

- Rename interfaces to be in terms of acquire and release.
- Improve comments.

Differential Revision: https://reviews.llvm.org/D89355
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
Commit 625fa47617022b2d1ed7b940f9621162874175ee by paulsson
Revert "[clang] Improve handling of physical registers in inline assembly operands."

This reverts commit c78da037783bda0f27f4d82060149166e6f0c796.

Temporarily reverted due to https://bugs.llvm.org/show_bug.cgi?id=47837.
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was removedclang/test/CodeGen/systemz-inline-asm-02.c
The file was modifiedclang/test/CodeGen/systemz-inline-asm.c
Commit 1197ee35b84e1fe1c1884b3228b95351719fbb09 by Jonas Devlieghere
[lldb] Unconditionally strip the `.py(c)` extension when loading a module

Currently we only strip the Python extension when the file exists on
disk because we assumed that if it didn't exist it was a module.
However, with the change from D89334 this is no longer the case as we
want to be able to import a relative path to a .py as a module. Since we
always import a scripting module as a "python module" we should always
strip the extension if present.

Differential revision: https://reviews.llvm.org/D89352
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit 3b33b41604784f903c7c5c38665d75da93dbf805 by Jonas Devlieghere
[lldb] Remove lexical block and fix formatting LoadScriptingModule (NFC)
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit 2ad82b0ed1b4ad9e6ac462d6fe9b1247186861e5 by eleviant
[ARM.td] Make instruction definitions visible to sched models

Differential revision: https://reviews.llvm.org/D89308
The file was modifiedllvm/lib/Target/ARM/ARMScheduleA9.td
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was modifiedllvm/lib/Target/ARM/ARMSchedule.td
Commit 8c03fdf34a659925a3f09c8f54016e47ea1c7519 by dominik.montada
[libcxxabi,libunwind] support running tests in standalone mode

Remove check for standalone and shared library mode in libcxxabi to
allow including tests in said mode. This check prevented running the
tests in standalone mode with static libraries, which is the case for
baremetal targets.

Fix check-unwind target trying to use a non-existent llvm-lit executable
in standalone mode. Copy the HandleOutOfTreeLLVM logic from libcxxabi to
libunwind in order to make the tests work in standalone mode.

Reviewed By: ldionne, #libc_abi, #libc

Differential Revision: https://reviews.llvm.org/D86540
The file was modifiedlibcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake
The file was removedlibcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake
The file was modifiedlibunwind/test/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxxabi/CMakeLists.txt
The file was modifiedlibunwind/CMakeLists.txt
Commit dc128e5968ccc632f7875ece639b0d2c94b170a6 by me
[test][lld] Mark TLS tests as REQUIRES: x86.

Fixes http://lab.llvm.org:8011/#/builders/119/builds/92
The file was modifiedlld/test/COFF/tls-alignment-64.ll
The file was modifiedlld/test/COFF/tls-alignment-32.ll