FailedChanges

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

Summary

  1. [MC] Support .reloc sym+constant, *, * (details)
  2. [libc++] Automatically detect whether RTTI is enabled (details)
  3. Fix tests after 16f777f4217cfcdcf6ddce8eb1e3525a65563c43 (details)
  4. [lldb/Test] Always set the cleanupSubprocesses tear down hook (details)
  5. [lldb/Test] Skip TestProcessConnect.py on Windows (details)
  6. [llvm][NFC] expose LLVM_HAVE_TF_API through llvm-config.h (details)
  7. [flang] Refine CR handling (details)
  8. document -fpch-instantiate-templates in release notes (details)
  9. [clang-tidy] OptionsView::store specialized on bool (details)
  10. [SVE] Make cstfp_pred_ty and cst_pred_ty work with scalable splats (details)
  11. [libFuzzer] Separate platform related macros out from FuzzerDefs.h into FuzzerPlatform.h, and adjust includes in other files. (details)
  12. [clang] Teach -fembed-bitcode option not to embed W_value Group (details)
  13. Revert "[compiler-rt][Android] Stop using detect_target_arch" (details)
  14. [flang] Fix a crash when an array constructor contains an unlimited polymorphic value (details)
  15. [libFuzzer] Fix compilation error by including missing platform macro definitions. (details)
  16. AMDGPU: Add @LINE to assembler error test checks (details)
  17. [flang] Implement anonymous units in the runtime (details)
  18. [lldb/Test] Create reproducer dir if necessary (details)
  19. [flang] Fix list-directed input (repeated nulls and LOGICAL) (details)
  20. Fix test that was accidentally adding the llvm-as binary into an (details)
  21. Fix undefined behavior due to deleting an object with a non-virtual (details)
  22. [gn build] (manually) merge c1e2f73c (details)
  23. [flang][openacc] Semantic checks for OpenACC 3.0 clauses validity (details)
  24. [flang] Fix out-of-tree build with missing acc_gen target (details)
  25. Fix the skipIfRosetta decorator (details)
  26. Make LazyCallThroughManager destructor virtual rather than arranging for (details)
  27. [IR] Add a few asserts to provide a better failure signature if you try to create a load/store/alloca with no alignment or insertion position (details)
  28. [ObjectFilePECOFF] Try to avoid unaligned access. (details)
  29. [Attributor] Create getter function for the ID of the abstract attribute (details)
  30. [AMDGPU] Apply pre-emit s_cbranch_vcc optimation to more patterns (details)
  31. [Attributor] Unittest for Attributor (details)
  32. [gn build] Port 0750757e80c (details)
  33. [Attributor] [WIP] Track AA dependency using dependency graph (details)
  34. [CMake] Simplify CMake handling for zlib (details)
  35. Revert "[Attributor] [WIP] Track AA dependency using dependency graph" (details)
  36. [Attributor] Track AA dependency using dependency graph (details)
  37. Revert "[CMake] Simplify CMake handling for zlib" (details)
  38. [OpenMP] Emit remarks during GPU state machine optimization (details)
  39. [CallGraph] Update callback call sites in RefreshCallGraph (details)
  40. [OpenMP][IRBuilder] Support nested parallel regions (details)
  41. Revert "[Attributor] Track AA dependency using dependency graph" (details)
  42. [OpenMP][FIX] Check only for deterministic part of a generated function name (details)
  43. [Attributor] Fix build of unittest with DBUILD_SHARED_LIBS=True (details)
  44. [llvm][NFC] Hide the tensorflow dependency from headers. (details)
  45. [LLD] [MinGW] Implement the --file-alignment and --section-alignment options (details)
  46. [OpenMPOpt] Fix preserved analyses return (details)
  47. [mlir][Vector] Degrade masking information when forwarding linalg.copy to vector.transfer (details)
  48. [OpenMPOpt][NFC] Update checks for parallel_deletion test (details)
  49. [IndVarSimplify] Uniformly use emplace_back for DeadInsts, nfc (details)
  50. Make linalg::ReshapeOp implement ViewLikeOpInterface (details)
  51. [MLIR][SPIRVToLLVM] SPIRV function fix and nits (details)
  52. [NFC] Add tests for boolean comparisons (details)
  53. [DAGCombiner] Rebuild (setcc x, y, ==) from (xor (xor x, y), 1) (details)
  54. [RISCV] Add error checking for extensions missing separating underscores (details)
  55. [lldb][formatters] Add support for printing NSConstantDate and fix distantPast value (details)
  56. [clang][Driver] Fix tool path priority test failures (details)
  57. AArch64+ARM: make LLVM consider system registers volatile. (details)
  58. Fix typo in identifier in assert. (details)
  59. [clangd] Fix use-after-free in ArgStripper (details)
  60. [Support] Fix Windows directory_iterator_construct out of bounds (details)
  61. [llvm-readobj] - Verify the location of program headers better. (details)
  62. [Matrix] Only pass vector arg as overloaded type in MatrixBuilder. (details)
  63. [yaml2obj] - Rename FileHeader::SH* fields. (details)
  64. [RISCV] Fix RISCVInstrInfo::getInstSizeInBytes for atomics pseudos (details)
  65. [RISCV] Duplicate pseudo expansion comment to RISCVMCCodeEmitter (details)
  66. [LLD][ELF] - Update test after yaml2obj change. NFC. (details)
  67. Bump the trunk major version to 12 (details)
  68. [Analyzer] Report every bug if only uniqueing location differs. (details)
  69. [clangd] Config: also propagate in sync (testing) mode (details)
  70. [MLIR][Shape] Add `shape.shape_eq` operation (details)
  71. [LoopRotate] Remove unnecessary verifyMemorySSA calls. (details)
  72. [DWARFYAML] Remove useless conditional statement. NFC. (details)
  73. [DSE,MSSA] Recognise init_trampoline in getLocForWriteEx (details)
  74. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbb asm instructions (details)
  75. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbp asm instructions (details)
  76. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbbp asm instructions (details)
  77. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbs asm instructions (details)
  78. [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbt asm instructions (details)
  79. [mips] Rename FeatureMadd4 to FeatureNoMadd4. NFC (details)
  80. [lldb] Use the basename of the Python test for the log name instead of the class name (details)
  81. [lldb] Make expect_expr fall back to the dummy target if no target is selected (details)
  82. [clangd] Use llvm::errs() instead of outs() for errors (details)
  83. [lldb] Delete useless assertion (details)
  84. [lldb/test] Remove JOIN_CMD from Makefile.rules (details)
  85. CodeGenPrep: remove AssertingVH references before deleting dead instructions. (details)
  86. Revert "[lldb] Use the basename of the Python test for the log name instead of the class name" (details)
  87. [TSan] Optimize handling of racy address (details)
  88. [OpenMP][Docs] Update `present` map type modifier status (details)
  89. [HardwareLoops] Add sibling loop test. (details)
  90. [MLIR][Shape] Fix `shape_of` lowering to `scf` (details)
  91. Revert "[TSan] Optimize handling of racy address" (details)
  92. [lldb/Test] Remove support for forking a subprocess from the test suite. (details)
  93. [Legalize] Hoist invariant condition in ExpandVectorBuildThroughStack(...) (details)
  94. [NFC] Add float aggregate ABI test for PowerPC (details)
  95. [MLIR][Standard] Update `assert` documentation post commit (details)
  96. [lldb][test] Prevent infinite loop while looking for use_lldb_suite_root.py. (details)
  97. [CMake][runtimes] Pass the CMAKE_ARGS to runtimes build correctly (details)
  98. [mlir][shape] Mark some operations as commutative (details)
  99. [NPM][IVUsers] Rename ivusers -> iv-users (details)
  100. [AMDGPU][MC] Corrected MTBUF parsing and decoding (details)
  101. [mlir][shape] Fold shape.broadcast with one scalar operand (details)
  102. [PGO][PGSO] Add profile guided size optimization to LegalizeDAG. (details)
  103. [PGO] Extend the value profile buckets for mem op sizes. (details)
  104. [gn build] Port 4a539faf74b (details)
  105. [InstCombine] update datalayout in test file; NFC (details)
  106. [InstCombine] prevent infinite looping in or-icmp fold (PR46712) (details)
  107. [MLIR] Add type checking capability to RegionBranchOpInterface (details)
  108. Fix "unused variable" warning from recent GCC. (details)
  109. [lldb][NFC] Add 'override' where missing in source/ and tools/ (details)
  110. [PGO][PGSO] Add profile guided size optimization to loop vectorization legality. (details)
  111. [OPENMP]Fix PR46688: cast the type of the allocated variable to the initial one. (details)
  112. [MLIR][NFC] Fix clang tidy warnings in misc utilities (details)
  113. [NFC] Fixed typo in tests parameters (details)
  114. [OPENMP]Fix PR46593: Reduction initializer missing construnctor call. (details)
  115. [LoopUnroll] Update branch weight for remainder loop (details)
  116. [flang] Fix erroneous application of SAVE statement (details)
  117. [NFC] [AIX] [z/OS] Fix build failure on AIX and z/OS (details)
  118. [lldb/Test] Remove custom tearDownHooks from GDB Remote tests (details)
  119. Clarify a bit the guideline on omitting braces, including more examples (NFC) (details)
  120. Document the testing of Analyses in the LLVM testing guide (NFC) (details)
  121. [jitlink] Adding support for PCRel32GOTLoad in ELF x86 for the jitlinker (details)
  122. [NFC][LoopRotate] Add a statistic for how many times rotation failed due to the header size (details)
  123. [NFC][SimplifyCFG] Rename statistic NumSinkCommons into NumSinkCommonInstrs (details)
  124. [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): early return if nothing to sink (details)
  125. [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): add debug output when failing to actually sink instr (details)
  126. [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): count number of instruction "blocks" actually sunk (details)
  127. [NFC][SimplifyCFG] HoistThenElseCodeToIf(): count number of common instructions hoisted (details)
  128. [NFC][SimplifyCFG] HoistThenElseCodeToIf(): count number of common instruction "blocks" hoisted (details)
  129. [MLIR] Add RegionKindInterface (details)
  130. [NFC][SimplifyCFG] HoistThenElseCodeToIf(): after hoisting terminator, do return Changed, not just true (details)
  131. [CodeGen] Emit a call instruction instead of an invoke if the called (details)
  132. [flang] Don't use-associate intrinsics (details)
  133. [X86] Teach assembler parser to accept lsl and lar with a 64 or 32 source register when the destination is a 64 register. (details)
  134. [NFCI] CFGSimplifyPass: change (the only) constructor to take SimplifyCFGOptions (details)
  135. [NFCI] createCFGSimplificationPass(): migrate to also take SimplifyCFGOptions (details)
  136. [LLDB] Disable lldb-vscode test_terminate_commands test on Arm (details)
  137. Add missing include (details)
  138. [lldb/Test] Skip async process connect tests with reproducers (details)
  139. [NFC] SimplifyCFGOptions: drop multi-parameter ctor, use default member-init (details)
  140. [AMDGPU][CostModel] Improve cost estimation for fused {fadd|fsub}(a,fmul(b,c)) (details)
  141. [CalcSpillWeights] Propagate the fact that a live-interval is not spillable (details)
  142. [OpenMP][Offload] Declare mapper runtime implementation (details)
  143. [OpenMP 5.0] Codegen support to pass user-defined mapper functions to runtime (details)
  144. [libunwind] Fix CIE v1 return address parsing (details)
  145. [libunwind] Fix getSLEB128 on large values (details)
  146. [AMDGPU] Update VMEM scalar write hazard mitigation sequence (details)
  147. Fix lit test related to declare mapper patch D67833. (details)
Commit b71ef0c50ac6728581e3c82ee90fe400dcc48bd6 by maskray
[MC] Support .reloc sym+constant, *, *

For `.reloc offset, *, *`, currently offset can be a constant or symbol.
This patch makes it support any expression which can be folded to sym+constant.

Reviewed By: stefanp

Differential Revision: https://reviews.llvm.org/D83751
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCObjectStreamer.h
The file was modifiedllvm/test/MC/Mips/reloc-directive-bad.s
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was addedllvm/test/MC/ELF/reloc-directive.s
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
Commit eaca1e4e54905815b444e1234096c70adc9812f6 by Louis Dionne
[libc++] Automatically detect whether RTTI is enabled

Instead of detecting it automatically but also allowing for the setting
to be specified explicitly, always detect whether exceptions are enabled
based on whether -fno-rtti (or equivalent) is used. It's less confusing
to have a single way of tweaking that knob.

This change follows the lead of 71d88cebfb42.
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/include/__config
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
Commit 0257ba581ce1870b0aa266dfee3e64d631b0f7bf by tyker
Fix tests after 16f777f4217cfcdcf6ddce8eb1e3525a65563c43
The file was modifiedllvm/test/Analysis/ValueTracking/assume-queries-counter.ll
The file was modifiedllvm/test/Transforms/Util/assume-builder-counter.ll
Commit 4aafc479f28ce1ad952f66ac3758f69060c77a08 by Jonas Devlieghere
[lldb/Test] Always set the cleanupSubprocesses tear down hook

Always clean up subprocesses on tear down instead of relying on the
caller to do so. This is not only less error prone but also means the
tests can be more concise.

Differential revision: https://reviews.llvm.org/D83787
The file was modifiedlldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
The file was modifiedlldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py
The file was modifiedlldb/test/API/commands/process/attach-resume/TestAttachResume.py
The file was modifiedlldb/test/API/commands/process/attach/TestProcessAttach.py
The file was modifiedlldb/test/API/macosx/function-starts/TestFunctionStarts.py
The file was modifiedlldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py
The file was modifiedlldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
The file was modifiedlldb/test/API/python_api/hello_world/TestHelloWorld.py
The file was modifiedlldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
The file was modifiedlldb/test/API/functionalities/process_group/TestChangeProcessGroup.py
The file was modifiedlldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/test/API/macosx/universal/TestUniversal.py
The file was modifiedlldb/test/API/commands/platform/process/list/TestProcessList.py
The file was modifiedlldb/test/API/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py
Commit c6e8bf7287edddf74e1fe4005d6284667bae4542 by Jonas Devlieghere
[lldb/Test] Skip TestProcessConnect.py on Windows

Remote connections are not supported on Windows.
The file was modifiedlldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py
Commit c1e2f73c392c111dc40de09daa71245f640ca9f5 by mtrofin
[llvm][NFC] expose LLVM_HAVE_TF_API through llvm-config.h

Summary:
This allows users of the llvm library discover whether llvm was built
with the tensorflow c API dependency, which helps if using the TFUtils
wrapper, for example.

We don't do the same for the LLVM_HAVE_TF_AOT flag, because that does
not expose any API.

Reviewers: mehdi_amini, davidxl

Subscribers: mgorny, aaron.ballman, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83746
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/include/llvm/Analysis/Utils/TFUtils.h
The file was modifiedllvm/unittests/Analysis/InlineSizeEstimatorAnalysisTest.cpp
The file was modifiedllvm/include/llvm/Config/llvm-config.h.cmake
Commit af6b8d51390dc1a4af7ae5de4e71947dce8a75f6 by pklausler
[flang] Refine CR handling

We need to retain carriage return characters in source files
that are not parts of multi-byte line endings; they are
significant in CHARACTER literal constants.

Reviewed By: tskeith

Differential Revision: https://reviews.llvm.org/D83808
The file was modifiedflang/include/flang/Parser/char-buffer.h
The file was modifiedflang/lib/Parser/char-buffer.cpp
The file was modifiedflang/lib/Parser/source.cpp
Commit d1ca9960bc1930bed49dd19b4ff442a9de13a0de by l.lunak
document -fpch-instantiate-templates in release notes

This should have been included in D69585.

Differential Revision: https://reviews.llvm.org/D83622
The file was modifiedclang/docs/ReleaseNotes.rst
Commit fcf0f75a59fb565e57d71c29f3e820828301c7e2 by n.james93
[clang-tidy] OptionsView::store specialized on bool

Following on fcf7cc268fe and 672207c319a which granted checks the ability to read boolean configuration arguments as `true` or `false`.
This enables storing the options back to the configuration file using `true` and `false`.
This is in line with how clang-format dumps boolean options in its style config.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D83053
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
Commit 9c87c5580575cefdebb02cc6685fb6b66fb375c9 by ctetreau
[SVE] Make cstfp_pred_ty and cst_pred_ty work with scalable splats

Reviewers: efriedma, lebedev.ri, fhahn, c-rhodes, david-arm

Reviewed By: efriedma, david-arm

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83001
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/test/Transforms/InstCombine/mul.ll
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
Commit 226866e115de652b6fbc8f8195881a529ccb4b01 by mascasa
[libFuzzer] Separate platform related macros out from FuzzerDefs.h into FuzzerPlatform.h, and adjust includes in other files.

Summary: This patch separates platform related macros in lib/fuzzer/FuzzerDefs.h into lib/fuzzer/FuzzerPlatform.h, and use FuzzerPlatform.h where necessary. This separation helps when compiling libFuzzer's interceptor module (under review); an unnecessary include of standard headers (such as string.h) may produce conflicts/ambiguation with the interceptor's declarations/definitions of library functions, which complicates interceptor implementation.

Reviewers: morehouse, hctim

Reviewed By: morehouse

Subscribers: krytarowski, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D83805
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerBuiltinsMsvc.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerDefs.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMain.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerExtFunctionsWindows.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerDriver.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerValueBitMap.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerExtFunctionsDlsym.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilDarwin.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerBuiltins.h
The file was addedcompiler-rt/lib/fuzzer/FuzzerPlatform.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerTracePC.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
Commit 2b42080b51c9a0c5ed733b30da165774dcd0d595 by Steven Wu
[clang] Teach -fembed-bitcode option not to embed W_value Group

Summary:
-fembed-bitcode options doesn't embed warning options since they are
useless to code generation. Make sure it handles the W_value group and
not embed those options in the output.

Reviewers: zixuw, arphaman

Reviewed By: zixuw

Subscribers: jkorous, dexonsmith, ributzka, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83813
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Frontend/embed-bitcode.ll
Commit bef00b244c3140558c574cc106771b0f2452ef84 by aeubanks
Revert "[compiler-rt][Android] Stop using detect_target_arch"

This reverts commit 9b7e24c2a5b32e25b773bc8b4ca84dbda995d959.

See comments in https://reviews.llvm.org/D82148.
The file was modifiedcompiler-rt/cmake/base-config-ix.cmake
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTUtils.cmake
Commit 0c64cb6d08964b576cd95f5532ea4016fcd27943 by psteinfeld
[flang] Fix a crash when an array constructor contains an unlimited polymorphic value

Summary:
C7113 States that "An ac-value shall not be unlimited polymorphic."  We failed
to detect this situation which resulted in a crash when trying to get the
underlying derived type specification of the unlimited polymorphic value.

I added code to avoid the crash, code to emit an error message, and a test.

Reviewers: klausler, tskeith, DavidTruby

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83793
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/test/Semantics/resolve70.f90
Commit 750369e2e8cb318d29693eaae1e2dc38aa535917 by mascasa
[libFuzzer] Fix compilation error by including missing platform macro definitions.

Summary: This patch fixes sanitizer-windows build errors.

Reviewers: morehouse, hctim

Reviewed By: morehouse, hctim

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D83823
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerSHA1.cpp
Commit 4c22f5f8046a1c1075bb0a594eb0bfa747522759 by Matthew.Arsenault
AMDGPU: Add @LINE to assembler error test checks

It was basically impossible to figure out where the failure point was
The file was modifiedllvm/test/MC/AMDGPU/wave32.s
Commit bd43fa29e3f92161270cbd077b79282cdcbb6aa0 by pklausler
[flang] Implement anonymous units in the runtime

I/O from/to an unopened unit number needs to open &/or create
a "fort.$UNIT" file.

Fixes FCVS test fm401.f.

Reviewed By: tskeith

Differential Revision: https://reviews.llvm.org/D83809
The file was modifiedflang/runtime/io-api.cpp
The file was modifiedflang/runtime/unit-map.h
The file was modifiedflang/runtime/unit.h
The file was modifiedflang/runtime/unit.cpp
Commit 984e12ab48cdb5d81d0e994e1e0baca9cc3037a1 by Jonas Devlieghere
[lldb/Test] Create reproducer dir if necessary

Create the reproducer directory under the build root if it doesn't
exists. The reproducer will only create the top level directory.
The file was modifiedlldb/test/API/lit.cfg.py
Commit 8dbc86adf3e4da2ea284955ede94a0b30acc6d36 by pklausler
[flang] Fix list-directed input (repeated nulls and LOGICAL)

Allow repeated nulls in list-directed input (e.g., "4*,") and
ignore excess characters in list-directed LOGICAL input after the
T or F.

Fixes FCVS test fm923.f.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D83810
The file was modifiedflang/runtime/io-stmt.cpp
The file was modifiedflang/unittests/Runtime/list-input.cpp
The file was modifiedflang/runtime/edit-input.cpp
Commit f49edafd9abf75aaa7d9254c345026620e69b5ce by richard
Fix test that was accidentally adding the llvm-as binary into an
IR archive.
The file was modifiedllvm/test/tools/llvm-link/archivell.ll
Commit 099fd3748470435d478dc480c00ac1f848b7c55d by richard
Fix undefined behavior due to deleting an object with a non-virtual
destructor via a pointer of the wrong static type.

This caused crashes during deallocation in C++14 builds when using a
deallocator whose sized delete requires the size argument to be correct.

Also make the LazyCallThroughManager destructor protected to catch this
sort of bug in the future.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
Commit 75c0f0d762c8bc105fbf3d8d9753110985a3db1c by thakis
[gn build] (manually) merge c1e2f73c
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
Commit 9aa3dca80f5cfb67640d53998673ad636ac8b4c9 by clementval
[flang][openacc] Semantic checks for OpenACC 3.0 clauses validity

Summary: This patch adds semantic checking for the OpenACC 3.0 clauses validity.

Reviewers: sscalpone, tskeith, klausler, ichoyjx, DavidTruby, jdoerfert

Reviewed By: tskeith, klausler

Subscribers: mgorny, llvm-commits

Tags: #llvm, #flang

Differential Revision: https://reviews.llvm.org/D83807
The file was addedflang/lib/Semantics/canonicalize-acc.h
The file was addedflang/lib/Semantics/check-acc-structure.cpp
The file was addedflang/test/Semantics/acc-branch.f90
The file was addedflang/lib/Semantics/canonicalize-acc.cpp
The file was removedflang/test/Semantics/acc-validity.f90
The file was modifiedflang/lib/Semantics/CMakeLists.txt
The file was addedflang/test/Semantics/acc-clause-validity.f90
The file was modifiedflang/lib/Semantics/semantics.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenACC/CMakeLists.txt
The file was modifiedllvm/include/llvm/Frontend/OpenACC/ACC.td
The file was addedflang/lib/Semantics/check-acc-structure.h
Commit 8e9a505139fbef7d2e6e9d0adfe1efc87326f9ef by clementval
[flang] Fix out-of-tree build with missing acc_gen target

This pacth fix out-of-tree build of Flang after the introduction of acc_gen.

Reviewed By: sscalpone

Differential Revision: https://reviews.llvm.org/D83835
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
Commit 74c8d01aff80a7371ea2ff16fbe84858a266711a by Adrian Prantl
Fix the skipIfRosetta decorator

the form that takes func as an argument isn't compatible with the
optional bugnumber argument. This means that only correct for to use it is now
@skipIfRosetta(bugnumber='url')
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py
Commit 71292379d757f7a40b1771ade7738e25d7ddece5 by richard
Make LazyCallThroughManager destructor virtual rather than arranging for
all clients to delete it via the correct dynamic type.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
Commit 81cfb90f858e510ec5c570a264fe57203e96a193 by craig.topper
[IR] Add a few asserts to provide a better failure signature if you try to create a load/store/alloca with no alignment or insertion position

If no alignment is specified we try to find the datalayout by using the insert position to get the module so we can get the datalayout. But if those are null, then we deference a null pointer.

This patch adds asserts to make the failure a little more obvious than just seg faulting.

Differential Revision: https://reviews.llvm.org/D83829
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit 61cf9f4e723bd9522757931706b208a1357c30ba by ditaliano
[ObjectFilePECOFF] Try to avoid unaligned access.

Fixes an UBSAN error.
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
Commit 233af8958e0cd1c0270429505a79f116c0e22c94 by clfbbn
[Attributor] Create getter function for the ID of the abstract attribute

Summary: The `getIdAddr()` function returns the address of the ID of the abstract attribute

Reviewers: jdoerfert, sstefan1, uenoku, homerdin, baziotis

Reviewed By: jdoerfert

Subscribers: okura, hiraditya, uenoku, kuter, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83172
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 674226126da6f08d97d383fca3b0c0e8c758d053 by carl.ritson
[AMDGPU] Apply pre-emit s_cbranch_vcc optimation to more patterns

Add handling of s_andn2 and mask of 0.
This eliminates redundant instructions from uniform control flow.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D83641
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sgpr-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skip-from-vcc.mir
Commit 0750757e80c2dbca87b77f57c9994c76964fa92d by clfbbn
[Attributor] Unittest for Attributor

Summary: This patch introduces basic unittest interface for the Attributor and a simple test case for casting.

Reviewers: jdoerfert, sstefan1, uenoku, homerdin, baziotis

Reviewed By: jdoerfert

Subscribers: mgorny, uenoku, kuter, okura, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83754
The file was addedllvm/unittests/Transforms/IPO/AttributorTestBase.h
The file was modifiedllvm/unittests/Transforms/IPO/CMakeLists.txt
The file was addedllvm/unittests/Transforms/IPO/AttributorTest.cpp
Commit 670e8372b3a0d986c3f8c8381514675dd094d79e by llvmgnsyncbot
[gn build] Port 0750757e80c
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/IPO/BUILD.gn
Commit 6b78ed60708b56d85c6d028e9a06ce24ec3c1ae5 by clfbbn
[Attributor] [WIP] Track AA dependency using dependency graph

Summary: This patch added dependency graph to the attributor so that we can dump the dependencies between AAs more easily. We can also apply general graph algorithms to the graph, making it easier for us to create deep wrappers.

Reviewers: jdoerfert, sstefan1, uenoku, homerdin, baziotis

Reviewed By: jdoerfert

Subscribers: jfb, okura, mgrang, kuter, lebedev.ri, hiraditya, uenoku, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78861
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was addedllvm/test/Transforms/Attributor/depgraph.ll
Commit 8c1a79dc12f3cc600e16153961cd8cc50ba2c33b by phosek
[CMake] Simplify CMake handling for zlib

Rather than handling zlib handling manually, use find_package from CMake
to find zlib properly. Use this to normalize the LLVM_ENABLE_ZLIB,
HAVE_ZLIB, HAVE_ZLIB_H. Furthermore, require zlib if LLVM_ENABLE_ZLIB is
set to YES, which requires the distributor to explicitly select whether
zlib is enabled or not. This simplifies the CMake handling and usage in
the rest of the tooling.

This is a reland of abb0075 with all followup changes and fixes that
should address issues that were reported in PR44780.

Differential Revision: https://reviews.llvm.org/D79219
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedllvm/include/llvm/Config/config.h.cmake
The file was modifiedlld/test/lit.site.cfg.py.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedllvm/lib/Support/Compression.cpp
The file was modifiedclang/CMakeLists.txt
The file was modifiedlld/CMakeLists.txt
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedllvm/unittests/Support/CompressionTest.cpp
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedclang/test/lit.site.cfg.py.in
The file was modifiedlld/test/CMakeLists.txt
Commit e21323a1e9d5b9dcef85310d4dbe21a6d6cd7261 by clfbbn
Revert "[Attributor] [WIP] Track AA dependency using dependency graph"

This reverts commit 6b78ed60708b56d85c6d028e9a06ce24ec3c1ae5.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was removedllvm/test/Transforms/Attributor/depgraph.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 8df7af560aebce3f3de3541d039e17331c479831 by clfbbn
[Attributor] Track AA dependency using dependency graph

Summary: This patch added dependency graph to the attributor so that we can dump the dependencies between AAs more easily. We can also apply general graph algorithms to the graph, making it easier for us to create deep wrappers.

Reviewers: jdoerfert, sstefan1, uenoku, homerdin, baziotis

Reviewed By: jdoerfert

Subscribers: jfb, okura, mgrang, kuter, lebedev.ri, hiraditya, uenoku, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78861
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was addedllvm/test/Transforms/Attributor/depgraph.ll
Commit bcd27d9d73f74f291fbd8b0fd1182e69a327be88 by phosek
Revert "[CMake] Simplify CMake handling for zlib"

This reverts commit 8c1a79dc12f3cc600e16153961cd8cc50ba2c33b because
it fails when zlib isn't installed.
The file was modifiedllvm/unittests/Support/CompressionTest.cpp
The file was modifiedllvm/include/llvm/Config/config.h.cmake
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedclang/test/lit.site.cfg.py.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlld/test/lit.site.cfg.py.in
The file was modifiedclang/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedllvm/lib/Support/Compression.cpp
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedlld/test/CMakeLists.txt
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedlld/CMakeLists.txt
Commit fec1f2109f33c9a1a7650272b3bfb8f0f81f6a2b by johannes
[OpenMP] Emit remarks during GPU state machine optimization

Since D83271 we can optimize the GPU state machine to avoid spurious
call edges that increase the register usage of kernels. With this patch
we inform the user why and if this optimization is happening and when it
is not.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D83707
The file was addedclang/test/OpenMP/remarks_parallel_in_target_state_machine.c
The file was addedclang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 64d99a1d0476b8a451c3b36d900e84bc5707c061 by johannes
[CallGraph] Update callback call sites in RefreshCallGraph

Since D82572, we keep "reference" edges for callback call sites. While
not strictly necessary they can improve the traversal order. However, we
did not update them properly in case a pass removed the callback call
site which caused a verification error (PR46687). With this patch we
update these reference edges properly during the invocation of
`CallGraphSCCPass::RefreshCallGraph` in non-checking mode.

Reviewed By: sdmitriev

Differential Revision: https://reviews.llvm.org/D83718
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp
The file was addedllvm/test/Transforms/OpenMP/parallel_deletion_cg_update.ll
Commit 7af287d0d921471f18b5c3054ce42381c0f973ed by johannes
[OpenMP][IRBuilder] Support nested parallel regions

During code generation we might change/add basic blocks so keeping a
list of them is fairly easy to break. Nested parallel regions were
enough. The new scheme does recompute the list of blocks to be outlined
once it is needed.

Reviewed By: anchu-rajendran

Differential Revision: https://reviews.llvm.org/D82722
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was addedclang/test/OpenMP/irbuilder_nested_openmp_parallel_empty.c
Commit 6db99d18b6bd4f51ee63f6899c7034f027116a57 by clfbbn
Revert "[Attributor] Track AA dependency using dependency graph"

This reverts commit 8df7af560aebce3f3de3541d039e17331c479831.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was removedllvm/test/Transforms/Attributor/depgraph.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit d87c92e5a2eca620903ce53592ccbe4f8807abe1 by johannes
[OpenMP][FIX] Check only for deterministic part of a generated function name
The file was modifiedclang/test/OpenMP/remarks_parallel_in_target_state_machine.c
The file was modifiedclang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
Commit 5282a6186cfb1405756811815a0187c84881baee by asb
[Attributor] Fix build of unittest with DBUILD_SHARED_LIBS=True

The dependencies in llvm/unittests/Transforms/IPO/CMakeLists.txt
introduced in revision 0750757e were incomplete, leading to link errors
for a DBUILD_SHARED_LIBS=True build.
The file was modifiedllvm/unittests/Transforms/IPO/CMakeLists.txt
Commit 4f763b2172c591ab253c8489fcd53af0c544d5cb by mtrofin
[llvm][NFC] Hide the tensorflow dependency from headers.

Summary:
This change avoids exposing tensorflow types when including TFUtils.h.
They are just an implementation detail, and don't need to be used
directly when implementing an analysis requiring ML model evaluation.

The TFUtils APIs, while generically typed, are still not exposed unless
the tensorflow C library is present, as they currently have no use
otherwise.

Reviewers: mehdi_amini, davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83843
The file was modifiedllvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
The file was modifiedllvm/unittests/Analysis/TFUtilsTest.cpp
The file was modifiedllvm/include/llvm/Analysis/Utils/TFUtils.h
The file was modifiedllvm/lib/Analysis/TFUtils.cpp
Commit 92f7bd3a399271afc92c93f17aeebe4d32e79c6e by martin
[LLD] [MinGW] Implement the --file-alignment and --section-alignment options

Differential Revision: https://reviews.llvm.org/D83720
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/MinGW/Options.td
The file was modifiedlld/test/MinGW/driver.test
Commit 694ded37b9d70e385addfc482d298b054073ebe1 by georgakoudis1
[OpenMPOpt] Fix preserved analyses return
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 512da70be781e1fb1257e9eb442858f19bec2680 by ntv
[mlir][Vector] Degrade masking information when forwarding linalg.copy to vector.transfer

Summary:
linalg.copy + linalg.fill can be used to create a padded local buffer.
The `masked` attribute is only valid on this padded buffer.
When forwarding to vector.transfer ops, the attribute must be reset
conservatively.

Differential Revision: https://reviews.llvm.org/D83782
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/test/Dialect/Linalg/forward-vector-transfers.mlir
Commit 7f680be593ee1a1dfdaa027add6f75d3a61bf517 by georgakoudis1
[OpenMPOpt][NFC] Update checks for parallel_deletion test
The file was modifiedllvm/test/Transforms/OpenMP/parallel_deletion.ll
Commit c86c1e972da07ac3417c98e04382a295d4284755 by czhengsz
[IndVarSimplify] Uniformly use emplace_back for DeadInsts, nfc
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 1919c8bfe8379402401da52d84d5397233cab8b9 by herhut
Make linalg::ReshapeOp implement ViewLikeOpInterface

Summary: A reshape aliases its input memref, so it acts like a view.

Differential Revision: https://reviews.llvm.org/D83773
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit d431951343cdaa301cbd72743fde8114b93f9d33 by georgemitenk0v
[MLIR][SPIRVToLLVM] SPIRV function fix and nits

This patch addresses the comments from https://reviews.llvm.org/D83030 and
https://reviews.llvm.org/D82639. `this->` is removed when not inside the
template. Also, type conversion for `spv.func` takes `convertRegionTypes()`
in order to apply type conversion on all blocks within the function.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D83786
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
Commit 2b6215f188bf862d5a551499764121d91fd6e6ea by roger.ferrer
[NFC] Add tests for boolean comparisons

They currently show that the not equal case may be improved.

See PR42876

Differential Revision: https://reviews.llvm.org/D65801
The file was addedllvm/test/CodeGen/AArch64/cmp-bool.ll
The file was addedllvm/test/CodeGen/ARM/cmp-bool.ll
The file was addedllvm/test/CodeGen/X86/cmp-bool.ll
The file was addedllvm/test/CodeGen/RISCV/cmp-bool.ll
Commit 14bc5e149d11766dee21cd679a9794fdf2e9414e by roger.ferrer
[DAGCombiner] Rebuild (setcc x, y, ==) from (xor (xor x, y), 1)

The existing code already considered this case. Unfortunately a typo in
the condition prevents it from triggering. Also the existing code, had
it run, forgot to do the folding.

This fixes PR42876.

Differential Revision: https://reviews.llvm.org/D65802
The file was modifiedllvm/test/CodeGen/RISCV/cmp-bool.ll
The file was modifiedllvm/test/CodeGen/ARM/cmp-bool.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/reg-stackify.ll
The file was modifiedllvm/test/CodeGen/X86/cmp-bool.ll
The file was modifiedllvm/test/CodeGen/AArch64/cmp-bool.ll
Commit de7bf722c23a1ab006bd306165c094669071577f by simon.cook
[RISCV] Add error checking for extensions missing separating underscores

Currently if two multi-letter extensions are provided in a -march=
string, the verification code checks the version of the first and
consumes the second, resulting in that part of the architecture
string being ignored. This adds a test that when a version number has
been parsed for an extension, there are no subsequent characters.

Differential Revision: https://reviews.llvm.org/D83819
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/test/Driver/riscv-arch.c
Commit 001c78de35cc0637eb58b3d855bc9897acccdc64 by Raphael Isemann
[lldb][formatters] Add support for printing NSConstantDate and fix distantPast value

Summary:

Certain `NSDate` constructors return a special `NSConstantDate` class which
currently ends up being unformatted as it's not in the list of supported classes
for the NSDate formatter. This patch adds that class to the supported class list
so LLDB produces a summary for it.

One of these special constructors is `[NSDate distantPast]` which returns the
date for `0001-01-01 00:00:00 UTC`. LLDB has a special case for formatting this
date but for some reason we did hardcode the wrong summary string in that
special case. Maybe the summary string was correct back when the code was
written but it isn't correct anymore (`distantPast` isn't actually defined to be
a special date but just some 'a guaranteed temporal boundary.' so maybe someone
changed the value in the last 10 years).

If someone else is wondering why we even have this special case for
`distantPast` but not for the future. The reason seems to be that our date
formatting for really old dates is off by 24 hours. So for example, adding one
second to `distantPast` will cause LLDB to print `0000-12-30 00:00:01 UTC`
(which is 24 hours behind the expected result). So to make our code appear to be
correct it seems we just hardcoded the most common NSDate result from that time
span. I'll replace that logic with a generic solution in a probably more
invasive follow up patch.

I also took the freedom to replace the magic value `-63114076800` with some
constant + documentation. I heard there are some people that don't know from the
top of their head that there are 63114076800 seconds between 1. Jan 0001 and 1.
January 2001 in whatever calendar system NSDate is using.

Reviewers: mib, davide

Reviewed By: mib

Subscribers: JDevlieghere

Differential Revision: https://reviews.llvm.org/D83217
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
Commit fe5912249efa1ec5e6aa6e565f722dd4d33d1e54 by david.spickett
[clang][Driver] Fix tool path priority test failures

Summary:
Failure type 1:
This test can fail when the path of the build includes the strings
we're checking for. E.g "/gcc" is found in ".../gcc_7.3.0/..."

To correct this look for '"' on the end of all matches. So that we
only match the end of paths printed by clang -###.
(which would be ".../gcc_7.3.0/.../gcc" for the example)

Also look for other gcc names like gcc-x.y.z in the first check.
This confirms that the copy of clang we made is isolated as expected.

Failure type 2:
If you use a triple like "powerpc64le-linux-gnu" clang actually reports
"powerpc64le-unknown-linux-gnu". Then it searches for the
former.

That combined with Mac OS adding a version number to cmake's triple
means we can't trust cmake or clang to give us the one default triple.
To fix the test, write to both names. As they don't overlap with our
fake triple, we're still showing that the lookup works.

Reviewers: MaskRay, stevewan

Reviewed By: stevewan

Subscribers: miyuki, JDevlieghere, steven.zhang, stevewan, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D83055
The file was modifiedclang/test/Driver/program-path-priority.c
The file was modifiedclang/test/lit.cfg.py
Commit 5165b2b5fd5fd62c5a34970be81c79231844804c by Tim Northover
AArch64+ARM: make LLVM consider system registers volatile.

Some of the system registers readable on AArch64 and ARM platforms
return different values with each read (for example a timer counter),
these shouldn't be hoisted outside loops or otherwise interfered with,
but the normal @llvm.read_register intrinsic is only considered to read
memory.

This introduces a separate @llvm.read_volatile_register intrinsic and
maps all system-registers on ARM platforms to use it for the
__builtin_arm_rsr calls. Registers declared with asm("r9") or similar
are unaffected.
The file was modifiedclang/test/CodeGen/builtins-arm.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was addedllvm/test/Transforms/LICM/read-volatile-register.ll
The file was modifiedclang/test/CodeGen/builtins-arm64.c
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/docs/LangRef.rst
Commit 9697a9e2d316f0d9d588f4de536b0a6bbef2810f by Tim Northover
Fix typo in identifier in assert.
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit f782d9c7002edaaf56c06a6cc1775f8f67713a29 by sam.mccall
[clangd] Fix use-after-free in ArgStripper
The file was modifiedclang-tools-extra/clangd/CompileCommands.h
Commit f6eb5daa16368fb90d5a59b14a72bfd8ddbcd2a0 by andrew.ng
[Support] Fix Windows directory_iterator_construct out of bounds

Fix incorrect use of the size of Path when accessing PathUTF16, as the
UTF-16 path can be shorter. Added unit test for coverage of this test
case.

Thanks to Ding Fei (danix800) for the code fix, see
https://reviews.llvm.org/D83321.

Differential Revision: https://reviews.llvm.org/D83689
The file was modifiedllvm/lib/Support/Windows/Path.inc
The file was modifiedllvm/unittests/Support/Path.cpp
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 modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
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/test/tools/llvm-readobj/ELF/hash-table.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/invalid-shstrndx.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/sections-no-section-header-string-table.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/header-sh-fields.yaml
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnu-notes.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/symbols.test
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/tools/llvm-readobj/ELF/many-sections.s
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/section-headers.yaml
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/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVExpandPseudoInsts.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 modifiedlibcxx/include/__config
The file was modifiedllvm/CMakeLists.txt
The file was modifiedpstl/docs/ReleaseNotes.rst
The file was modifiedllvm/utils/gn/secondary/llvm/version.gni
The file was modifiedpolly/docs/ReleaseNotes.rst
The file was modifiedlibunwind/docs/conf.py
The file was modifiedlibcxx/include/__libcpp_version
The file was modifiedclang/docs/analyzer/conf.py
The file was modifiedlibcxx/docs/conf.py
The file was modifiedpolly/docs/conf.py
The file was modifiedclang/docs/conf.py
The file was modifiedllvm/utils/lit/lit/__init__.py
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedpstl/include/pstl/internal/pstl_config.h
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/utils/release/build_llvm_package.bat
The file was modifiedclang-tools-extra/docs/conf.py
The file was modifiedlld/docs/conf.py
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedpstl/test/pstl/version.pass.cpp
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/test/Dialect/Shape/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
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/test/Transforms/DeadStoreElimination/MSSA/simple-todo.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
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/RISCVISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/RISCV/rv32Zbb.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
The file was addedllvm/test/CodeGen/RISCV/rv64Zbb.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
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 modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rv32Zbp.ll
The file was addedllvm/test/CodeGen/RISCV/rv64Zbp.ll
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 addedllvm/test/CodeGen/RISCV/rv32Zbbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
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/rv64Zbbp.ll
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 addedllvm/test/CodeGen/RISCV/rv32Zbs.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was addedllvm/test/CodeGen/RISCV/rv64Zbs.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 addedllvm/test/CodeGen/RISCV/rv32Zbt.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
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/RISCVISelDAGToDAG.h
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/Mips.td
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.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 addedlldb/test/API/lang/cpp/typeof/TestTypeOfDeclTypeExpr.py
The file was removedlldb/test/Shell/Expr/TestTypeOfDeclTypeExpr.test
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.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/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/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/dead-gep.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
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/2012-05-18-LoopPredRecurse.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
The file was modifiedllvm/test/Analysis/IVUsers/quadradic-exit-value.ll
The file was modifiedllvm/test/Transforms/LoopDeletion/invalidation.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.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/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/MC/AMDGPU/mtbuf.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/mtbuf_gfx10.txt
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/test/MC/AMDGPU/mtbuf-gfx10.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/mtbuf_vi.txt
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SIDefines.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
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/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.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/unittests/ProfileData/CMakeLists.txt
The file was addedllvm/unittests/ProfileData/InstrProfDataTest.cpp
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedllvm/test/Transforms/PGOProfile/memop_profile_funclet.ll
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/lib/ProfileData/InstrProf.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
The file was modifiedllvm/test/Transforms/PGOProfile/memcpy.ll
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedcompiler-rt/lib/profile/InstrProfilingValue.c
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.td
The file was modifiedmlir/include/mlir/Interfaces/ControlFlowInterfaces.h
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/test/Dialect/SCF/invalid.mlir
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_arm64.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_x86_64.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/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Symbol/FuncUnwinders.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_arm.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_i386.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextMach_x86_64.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/LoopVectorizationLegality.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/optsize.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
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/Utils/Utils.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.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/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.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 addedllvm/test/Transforms/LoopUnroll/runtime-loop-branchweight.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
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/lib/Semantics/check-declarations.cpp
The file was modifiedflang/test/Semantics/modfile03.f90
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/resolve45.f90
The file was modifiedflang/test/Semantics/resolve77.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/tools/lldb-server/gdbremote_testcase.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit 140c296ef5144136a00b166384c752c37a176879 by joker.eph
Clarify a bit the guideline on omitting braces, including more examples (NFC)

Like most readability rules, it isn't absolute and there is a matter of taste
to it. I think more recent part of the project may be more consistent in the
current application of the guideline. I suspect sources like
mlir/lib/Dialect/StandardOps/IR/Ops.cpp may be examples of this at the moment.

Differential Revision: https://reviews.llvm.org/D82594
The file was modifiedllvm/docs/CodingStandards.rst
Commit 221979b6913667dc52b03b181a9349c1b73dbd52 by joker.eph
Document the testing of Analyses in the LLVM testing guide (NFC)

This came up in a recent review, someone was wondering were was
this all documented and I couldn't find a reference to provide.

Differential Revision: https://reviews.llvm.org/D83816
The file was modifiedllvm/docs/TestingGuide.rst
Commit ef454c5444edf564557cbe226dd12bc9e2aae892 by jared.wyles
[jitlink] Adding support for PCRel32GOTLoad in ELF x86 for the jitlinker

Summary: This adds the basic support for GOT in elf x86.
Was able to just get away using the macho code by generalising the edges.
There will be a follow up patch to turn that into a generic utility for both of the x86 and Mach-O code.

This patch also lands support for relocations relative to symbol.

Reviewers: lhames

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83748
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/ELF_x86-64_relocations.s
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
Commit ce4459a0db91456ff98b9b43018833655367a59e by lebedev.ri
[NFC][LoopRotate] Add a statistic for how many times rotation failed due to the header size
The file was modifiedllvm/lib/Transforms/Utils/LoopRotationUtils.cpp
Commit 702a3c6410ab4ec89e4e137c58e59505e1860ba0 by lebedev.ri
[NFC][SimplifyCFG] Rename statistic NumSinkCommons into NumSinkCommonInstrs

It really counts instructions added into common block,
not number of instruction groups sunk.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 4c798644881abc4c43a7cdbc5df465fff04d03e3 by lebedev.ri
[NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): early return if nothing to sink

If we can't sink even one instruction, early return, to increase readability.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 9ed65c76c04944e985ca8cde64e16919af0e26b0 by lebedev.ri
[NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): add debug output when failing to actually sink instr
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 3fc1defc0b28d9b0ac8917629716181c0ac8df07 by lebedev.ri
[NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): count number of instruction "blocks" actually sunk

Out of all the times the function was called,
how many times did we actually sink anything?
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 7b53ad88d4a93df469550b5cfdb85c3058260034 by lebedev.ri
[NFC][SimplifyCFG] HoistThenElseCodeToIf(): count number of common instructions hoisted
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 1cfc24fd670f2b368670432b2d83fd706b8d98fc by lebedev.ri
[NFC][SimplifyCFG] HoistThenElseCodeToIf(): count number of common instruction "blocks" hoisted

I.e. out of all the times HoistThenElseCodeToIf() was called,
how many times did it actually hoist something?
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 628288658c5ba14923e1be566b64bada650e35bc by stephen.neuendorffer
[MLIR] Add RegionKindInterface

Some dialects have semantics which is not well represented by common
SSA structures with dominance constraints.  This patch allows
operations to declare the 'kind' of their contained regions.
Currently, two kinds are allowed: "SSACFG" and "Graph".  The only
difference between them at the moment is that SSACFG regions are
required to have dominance, while Graph regions are not required to
have dominance.  The intention is that this Interface would be
generated by ODS for existing operations, although this has not yet
been implemented. Presumably, if someone were interested in code
generation, we might also have a "CFG" dialect, which defines control
flow, but does not require SSA.

The new behavior is mostly identical to the previous behavior, since
registered operations without a RegionKindInterface are assumed to
contain SSACFG regions.  However, the behavior has changed for
unregistered operations.  Previously, these were checked for
dominance, however the new behavior allows dominance violations, in
order to allow the processing of unregistered dialects with Graph
regions.  One implication of this is that regions in unregistered
operations with more than one op are no longer CSE'd (since it
requires dominance info).

I've also reorganized the LangRef documentation to remove assertions
about "sequential execution", "SSA Values", and "Dominance".  Instead,
the core IR is simply "ordered" (i.e. totally ordered) and consists of
"Values".  I've also clarified some things about how control flow
passes between blocks in an SSACFG region. Control Flow must enter a
region at the entry block and follow terminator operation successors
or be returned to the containing op.  Graph regions do not define a
notion of control flow.

see discussion here:
https://llvm.discourse.group/t/rfc-allowing-dialects-to-relax-the-ssa-dominance-condition/833/53

Differential Revision: https://reviews.llvm.org/D80358
The file was modifiedmlir/test/CMakeLists.txt
The file was addedmlir/lib/IR/RegionKindInterface.cpp
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/lib/IR/Verifier.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was addedmlir/include/mlir/IR/RegionKindInterface.td
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h
The file was modifiedmlir/include/mlir/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/IR/Dominance.h
The file was modifiedmlir/lib/IR/Dominance.cpp
The file was modifiedmlir/docs/Interfaces.md
The file was modifiedmlir/lib/Transforms/CSE.cpp
The file was addedmlir/include/mlir/IR/RegionKindInterface.h
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/IR/CMakeLists.txt
The file was modifiedmlir/test/IR/traits.mlir
The file was modifiedmlir/test/IR/parser.mlir
Commit 2815429d08fec06027c4adf81c0b438fb2c72ef0 by lebedev.ri
[NFC][SimplifyCFG] HoistThenElseCodeToIf(): after hoisting terminator, do return Changed, not just true

Otherwise, if Changed was still false before that,
we would not account for that hoist in NumHoistCommonCode statistic.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit ed6b578040a85977026c93bf4188f996148f3218 by Akira
[CodeGen] Emit a call instruction instead of an invoke if the called
llvm function is marked nounwind

This fixes cases where an invoke is emitted, despite the called llvm
function being marked nounwind, because ConstructAttributeList failed to
add the attribute to the attribute list. llvm optimization passes turn
invokes into calls and optimize away the exception handling code, but
it's better to avoid emitting the code in the front-end if the called
function is known not to raise an exception.

Differential Revision: https://reviews.llvm.org/D83906
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/OpenMP/atomic_codegen.cpp
The file was modifiedclang/test/OpenMP/master_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-class.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/os_log.mm
The file was modifiedclang/test/OpenMP/parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_codegen.cpp
The file was modifiedclang/test/OpenMP/taskgroup_codegen.cpp
The file was modifiedclang/test/OpenMP/simd_codegen.cpp
The file was modifiedclang/test/OpenMP/critical_codegen.cpp
The file was modifiedclang/test/OpenMP/for_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-list-init-destruct.mm
Commit fa5e4482e01f7eceae52529edb75e754b601e8d0 by tkeith
[flang] Don't use-associate intrinsics

When an intrinsic is referenced in a module scope, a symbol for it is
added. When that module is USEd, the intrinsic should not be included.
Otherwise we can get ambiguous reference errors with the same intrinsic
coming from two difference modules.

Differential Revision: https://reviews.llvm.org/D83905
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/resolve14.f90
The file was modifiedflang/test/Semantics/modfile30.f90
Commit 3c2a56a857227b6bc39285747269f02cd7a9dbe5 by craig.topper
[X86] Teach assembler parser to accept lsl and lar with a 64 or 32 source register when the destination is a 64 register.

Previously we only accepted a 32-bit source with a 64-bit dest.

Accepting 64-bit as well is more consistent with gas behavior. I
think maybe we should accept 16 bit register as well, but I'm not
sure.
The file was modifiedllvm/lib/Target/X86/X86InstrSystem.td
The file was modifiedllvm/test/MC/X86/I286-64.s
Commit af19b1ceefce48534c138e223ba7cb1bfc9a02f8 by lebedev.ri
[NFCI] CFGSimplifyPass: change (the only) constructor to take SimplifyCFGOptions

Taking that long list of parameters is already simply unmaintainable.
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Commit b2018198c32a0535bb1f5bb5b40fbcf50d8d47b7 by lebedev.ri
[NFCI] createCFGSimplificationPass(): migrate to also take SimplifyCFGOptions

Taking so many parameters is simply unmaintainable.

We don't want to include the entire llvm/Transforms/Utils/Local.h into
llvm/Transforms/Scalar.h so i've split SimplifyCFGOptions into
it's own header.
The file was modifiedllvm/include/llvm/Transforms/Scalar/SimplifyCFG.h
The file was addedllvm/include/llvm/Transforms/Scalar/SimplifyCFGOptions.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was modifiedllvm/lib/Target/ARM/ARMTargetMachine.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
Commit 3c2299612945caf75d5c3678ced0693ebd291819 by omair.javaid
[LLDB] Disable lldb-vscode test_terminate_commands test on Arm

Summary:
test_terminate_commands is flaky on LLDB Arm buildbot as well. It was already
being skipped for aarch64. I am going to mark it skipped for Arm too.

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D81978
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
Commit b0ad73a2a0809188dd407ee2f92f71146759f279 by Adrian Prantl
Add missing include
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
Commit c14e11b0bb269e3744d5858b13a6df244308f25f by Jonas Devlieghere
[lldb/Test] Skip async process connect tests with reproducers

Reproducers only support synchronous mode.
The file was modifiedlldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py
Commit 90c1b0442a031d6cad686fdc4e5d3db03c3603a6 by lebedev.ri
[NFC] SimplifyCFGOptions: drop multi-parameter ctor, use default member-init

Likewise, just use the builder pattern.
Taking multiple params is unmaintainable.
The file was modifiedllvm/include/llvm/Transforms/Scalar/SimplifyCFGOptions.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
Commit 76a0c0ee6ffa9c38485776921948d8f930109674 by dfukalov
[AMDGPU][CostModel] Improve cost estimation for fused {fadd|fsub}(a,fmul(b,c))

Summary:
If result of fmul(b,c) has one use, in almost all cases (except denormals are
IEEE) the pair of operations will be fused in one fma/mad/mac/etc.

Reviewers: rampitec

Reviewed By: rampitec

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits, kerbowa

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83919
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was addedllvm/test/Analysis/CostModel/AMDGPU/fused_costs.ll
Commit 294be6b5d32e1fe44d0b36cd46b2931c5f0634c4 by qcolombet
[CalcSpillWeights] Propagate the fact that a live-interval is not spillable

When we calculate the weight of a live-interval, add some code to
check if the original live-interval was markied as not spillable and
if so, progagate that information down to the new interval.

Previously we would just recompute a weight for the new interval,
thus, we could in theory just spill live-intervals marked as not
spillable by just splitting them. That goes against the spirit of
a non-spillable live-interval.

E.g., previously we could do:
v1 =  // v1 must not be spilled
...
= v1

Split:
v1 = // v1 must not be spilled
...
v2 = v1 // v2 can be spilled
...
v3 = v2 // v3 can be spilled
= v3

There's no test case for that one as we would need to split a
non-spillable live-interval without using LiveRangeEdit to see this
happening.
RegAlloc inserts non-spillable intervals only as part of the spilling
mechanism, thus at this point the intervals are not splittable anymore.
On top of that, RegAlloc uses the LiveRangeEdit API, which already
properly propagate that information.

In other words, this could only happen if a target was to mark
a live-interval as not spillable before register allocation and
split it without using LRE, e.g., through
LiveIntervals::splitSeparateComponent.
The file was modifiedllvm/lib/CodeGen/CalcSpillWeights.cpp
Commit 140ab574a1c81e0878b3238520302509457242d0 by georgios.rokos
[OpenMP][Offload] Declare mapper runtime implementation

Libomptarget patch adding runtime support for "declare mapper".
Patch co-developed by Lingda Li and George Rokos.

Differential revision: https://reviews.llvm.org/D68100
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was addedopenmp/libomptarget/test/mapping/declare_mapper_target_update.cpp
The file was modifiedopenmp/libomptarget/test/mapping/declare_mapper_api.cpp
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was addedopenmp/libomptarget/test/mapping/declare_mapper_target_data.cpp
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/libomptarget/src/exports
The file was modifiedopenmp/libomptarget/src/private.h
The file was addedopenmp/libomptarget/test/mapping/declare_mapper_target.cpp
The file was addedopenmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
Commit 537b16e9b8da97054663daf638a6c55026af2fe4 by georgios.rokos
[OpenMP 5.0] Codegen support to pass user-defined mapper functions to runtime

This patch implements the code generation to use OpenMP 5.0 declare mapper (a.k.a. user-defined mapper) constructs.
Patch written by Lingda Li.

Differential Revision: https://reviews.llvm.org/D67833
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_update_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_pointer_capturing.cpp
The file was modifiedclang/test/OpenMP/target_teams_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_link_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_mapper_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_member_expr_array_section_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/OpenMP/target_exit_data_depend_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_device_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was modifiedclang/test/OpenMP/capturing_in_templates.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_addr_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
Commit 52d0a78b831584c46eda78b7cf349ab93ce13df0 by rprichard
[libunwind] Fix CIE v1 return address parsing

- For CIE version 1 (e.g. in DWARF 2.0.0), the return_address_register
   field is a ubyte [0..255].

- For CIE version 3 (e.g. in DWARF 3), the field is instead a ULEB128
   constant.

Previously, libunwind accepted a CIE version of 1 or 3, but always
parsed the field as ULEB128.

Clang always outputs CIE version 1 into .eh_frame. (It can output CIE
version 3 or 4, but only into .debug_frame.)

Differential Revision: https://reviews.llvm.org/D83741
The file was modifiedlibunwind/src/DwarfParser.hpp
Commit fd802cc4dea4ed1a233ff725f98c686dc2836bf3 by rprichard
[libunwind] Fix getSLEB128 on large values

Previously, for large-enough values, getSLEB128 would attempt to shift
a signed int in the range [0..0x7f] by 28, 35, 42... bits, which is
undefined behavior and likely to fail.

Avoid shifting (-1ULL) by 70 for large values. e.g. For INT64_MAX, the
last two bytes will be:
- 0x7f [bit==56]
- 0x00 [bit==63]

Differential Revision: https://reviews.llvm.org/D83742
The file was modifiedlibunwind/src/AddressSpace.hpp
Commit 5bf2a9dd40dbba6dacbbe61f843d4d3a6f54f294 by carl.ritson
[AMDGPU] Update VMEM scalar write hazard mitigation sequence

Using s_waitcnt_depctr 0xffe3 is potentially faster than v_nop.

Reviewed By: rampitec, foad

Differential Revision: https://reviews.llvm.org/D83872
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cc-update.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-descriptor-waterfall-loop-idom-update.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vmem-to-salu-hazard.mir
Commit 911fcf382f10500c0fb86be66ec9d28ad655fff3 by georgios.rokos
Fix lit test related to declare mapper patch D67833.
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes.ll