Changes

Summary

  1. Revert "Support compatibility with buildbot 2.10." (details)
  2. Added "auto" for LLVMBuildFactory enable_runtimes arg; changed default to not use enable_runtimes. (details)
Commit 93900f5122cc7087aa934424b1aa6339952a20c0 by gkistanova
Revert "Support compatibility with buildbot 2.10."

Temporarily revert commit 3f44862c69dd1766b51ea408d2cba6ec5c76c30a, as we are still with 2.8.4 in the production.

Will be re-applied after migration to 2.10 or later.
The file was modifiedzorg/buildbot/commands/LitTestCommand.py (diff)
Commit f7b888457641941a8e6024f36ee2e5ddc53695d5 by gkistanova
Added "auto" for LLVMBuildFactory enable_runtimes arg; changed default to not use enable_runtimes.
The file was modifiedzorg/buildbot/process/factory.py (diff)

Summary

  1. [TTI] Replace ceil lambdas with divideCeil. NFCI (details)
  2. [RISCV] Lower splats of non-constant i1s as SETCCs (details)
  3. Introduce -Wreserved-identifier (details)
  4. [clangd] Fix hover crash on broken code (details)
  5. Recommit "[VP,Integer,#2] ExpandVectorPredication pass" (details)
  6. Make dependency between certain analysis passes transitive (details)
  7. [gn build] Port 1db4dbba24dd (details)
  8. [llvm] Unbreak no-assertion testing (details)
  9. [RISCV] Pre-commit tests for D101342 (details)
  10. [clang-format] Prevent extraneous space insertion in bitshift operators (details)
  11. Introduce clangd-server-monitor tool (details)
  12. [clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list (details)
  13. [InstCombine] ctpop(X) ^ ctpop(Y) & 1 --> ctpop(X^Y) & 1 (PR50094) (details)
  14. Revert "[SLP]Allow masked gathers only if allowed by target." (details)
  15. [IndVarSimplify] Add additional tests using isImpliedViaMerge. (details)
  16. [AMDGPU][AsmParser] Correct the order of optional operands to mimg (details)
  17. [mlir] Add lowering from math.expm1 to LLVM. (details)
  18. [clang][cli] NFC: Remove confusing `EmptyKPM` variable (details)
  19. [X86] Update PR20841 test description to make it clear we SHOULDN'T be folding EFLAGS with XADD (details)
  20. [CodeGenPrepare][X86] Add bitreverse detection tests (details)
  21. [Utils] recognizeBSwapOrBitReverseIdiom - support matching from funnel shift roots (PR40058) (details)
  22. [clang][cli][docs] Clarify marshalling infrastructure documentation (details)
  23. [OpenCL] Allow pipe as a valid identifier prior to OpenCL 2.0. (details)
  24. Local.cpp - Avoid DebugLoc copies - use const reference from getDebugLoc. NFCI. (details)
  25. [AArch64][SVE] Fold insert(zero, extract(X, 0), 0) -> X, when X is known to zero lanes 1-N (details)
  26. [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= (details)
  27. [Matrix] Implement C-style explicit type conversions in CXX for matrix types (details)
  28. [mlir][linalg] Always lower index operations during loop lowering. (details)
  29. Fix some typos in d7ec48d71bd671 (details)
  30. Reland "[LV] Calculate max feasible scalable VF." (details)
  31. [LangRef] Fix a typo in the vector-type memory layout section (details)
  32. [analyzer] Fix a crash for dereferencing an empty llvm::Optional variable in SMTConstraintManager.h. (details)
  33. [CodeView] Truncate Long Type Names With An MD5 Hash (details)
  34. [libc++] Implement ranges::view (details)
  35. [gn build] Port 2021d272ad6c (details)
  36. [libc++] Move the Debug iterators check to CI stage 3 (details)
  37. Rename a template parameter that conflicted with a common macro; NFC (details)
  38. [MLIR] Replace a not of a comparison with appropriate comparison (details)
  39. [VPlan] Representing backedge def-use feeding reduction phis. (details)
  40. [MLIR][SCF] Assume uses of condition in the body of scf.while is true (details)
  41. [llvm-objdump] Remove --cfg option from command guide (details)
  42. [MLIR] Add not icmp canonicalization documentation (details)
  43. [PowerPC][NFC] Update atomic patterns to use the refactored load/store implementation (details)
  44. [llvm-objdump] Remove Generic Options group from help text output (details)
  45. [InstCombine] avoid infinite loops with select/icmp transforms (details)
  46. [libFuzzer] Preserve position hint in auto dictionary (details)
  47. Fix assert on the variable which is used in omp clause is not marked (details)
  48. Reland "[MC][ELF] Work around R_MIPS_LO16 relocation handling problem" (details)
  49. DAG: Cleanup assertion in EmitFuncArgumentDbgValue (details)
  50. Revert "[llvm-objdump] Remove Generic Options group from help text output" (details)
  51. [lldb/Utility] Update path in FileSpec documentation (NFC) (details)
  52. [lldb] Move and clean-up the Declaration class (NFC) (details)
  53. [lldb/Core] Add SourceLocationSpec class (NFC) (details)
  54. [llvm-objdump] Remove Generic Options group from help text output (details)
  55. [llvm-objdump] Improve newline consistency between different pieces of information (details)
  56. [SampleFDO] Fix a bug when appending function symbol into the Callees set of (details)
  57. [libc++] NFC: Fix typo in Ranges Status (details)
  58. Revert "Make dependency between certain analysis passes transitive" (details)
  59. [PowerPC] Prevent argument promotion of types with size greater than 128 bits (details)
  60. [ValueTypes] Add MVTs for v256i16 and v256f16 (details)
  61. [llvm-objdump] Fix -a after D100433 (details)
  62. [clang-tidy][NFC] Update tests and Default options to use boolean value (details)
  63. [docs] Fix some wording (details)
  64. [Clang][AArch64] Disable rounding of return values for AArch64 (details)
  65. [InstSimplify] Added tests for PR50173, NFC (details)
  66. [RISCV][test] Migrate llvm-objdump --riscv-no-aliases to -M no-aliases (details)
  67. [llvm-objdump] Delete temporary workaround option --riscv-no-aliases (details)
  68. [libFuzzer] Further deflake exec-time test. (details)
  69. [SimplifyCFG] Extract helper for creating logical op (NFC) (details)
  70. [SimplifyCFG] Regenerate test checks (NFC) (details)
  71. [SimplifyCFG] Create logical or in SimplifyCondBranchToCondBranch() (details)
  72. [libFuzzer] Disable non-exec-time test again. (details)
  73. [clang] Add -fc++-abi= flag for specifying which C++ ABI to use (details)
  74. [Hexagon][test] Migrate llvm-objdump --mv6[0567]t?/--mhvx to --mcpu=hexagonv*/--mattr=+hvx (details)
  75. [Format] Don't sort includes if DisableFormat is true (details)
  76. [llvm-objdump] Delete temporary Hexagon workaround options (details)
  77. Add monthly MemorySSA sync. (details)
  78. [Driver] Fix `ToolChain::getCompilerRTPath()` to return the correct path on Apple platforms. (details)
  79. Fix for test failure caused by 84c475437267e7fffedc40029ce274b099d8f8f3. (details)
  80. [OpenMP] Fix non-determinism in clang task codegen (lastprivates) (details)
  81. [Utils] Run non-filecheck runlines in-order in update_cc_test_checks (details)
  82. [libcxx] Update docs regarding the need for bash/posix tools for tests on Windows. NFC. (details)
  83. [LLD] [COFF] Actually include the exported comdat symbols (details)
  84. [llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones (details)
  85. Mark Basic/TargetCXXABI.def as textual in the module map. (details)
  86. [Coroutines] Do not add alloca to the frame if the size is 0 (details)
  87. Add cal entry for MemorySSA syncs. (details)
  88. [WebAssembly] Mark abs of v2i64 as legal (details)
  89. [MC] Remove unneeded "in '.xxx' directive" from diagnostics (details)
  90. X86/GlobalISel: Rely on default assignValueToReg (details)
  91. GlobalISel: Fix missing newline in debug printing (details)
  92. [MC] Don't capitalize a floating point diagnostic (details)
  93. [libc++] Fix QoI bug with construction of std::tuple involving std::any (details)
  94. [AMDGPU] Disable the scalar IR, SDWA and load store vectorizer passes at -O1 (details)
  95. [libc++] Make sure std::to_address doesn't depend on P::element_type. (details)
  96. Revert "[InstSimplify] Added tests for PR50173, NFC" (details)
  97. [MC] Add MCAsmParser::parseComma to improve diagnostics (details)
  98. [AMDGPU] Fix lit failure introduced by 6a17609157196878b9cd9aa9ce71bde247ca14db (details)
  99. [mlir][tosa] Fix tosa.concat by inserting linalg.fill after linalg.init (details)
  100. [VPlan] Properly handle sinking of replicate regions. (details)
  101. [mlir] Fix region successor bug in forward dataflow analysis (details)
  102. [AMDGPU] Add rm line to lit test to cleanup bots (details)
  103. [libc++] Revert the std::to_address change to avoid relying on element_type. (details)
  104. [clang][test] Update -fc++-abi tests (details)
  105. [dfsan] move dfsan_flags.h to cc files (details)
  106. [lldb] Refactor argument group by SourceLocationSpec (NFCI) (details)
  107. [WebAssembly] Add codegen test for wasm_simd128.h (details)
  108. [OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks (details)
  109. [loop-idiom] Hoist loop memcpys to loop preheader (details)
  110. [mlir][sparse] Introduce proper sparsification passes (details)
  111. Revert "[OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks" (details)
  112. [llvm-objcopy] --dump-section: error if '=' is missing or filename is empty (details)
  113. [lldb/Symbol] Update SymbolFilePDB unitest with SourceLocationSpec (details)
  114. [lldb/Symbol] Fix typo in SymbolFilePDBTests (NFC) (details)
  115. [sanitizer_common] Recycle StackDepot memory (details)
  116. [dfsan] Add a DFSan allocator (details)
  117. Revert "[sanitizer_common] Recycle StackDepot memory" (details)
  118. [trace] Dedup different source lines when dumping instructions + refactor (details)
  119. [ORC] Reintroduce the ORC C API test. (details)
  120. [gn build] Port f2018d6c16d1 (details)
  121. [GreedyRA] Add support for invoke statepoint with tied-defs. (details)
  122. [MLIR][SCF] Combine adjacent scf.if with same condition (details)
  123. [libcxx][ranges] Add `random_access_{iterator,range}`. (details)
  124. [InstCombine] Precommit tests for D101807 (NFC) (details)
  125. [InstCombine] Fold more select of selects using isImpliedCondition (details)
  126. [libcxx][ranges] Add ranges::size CPO. (details)
  127. [libcxx][ranges] Add ranges::ssize CPO. (details)
  128. Fix typo, arvm7 -> armv7 (details)
  129. [gn build] Port 600686d75f55 (details)
  130. [lldb/Symbol] Fix column breakpoint `move_to_nearest_code` match (details)
  131. [dfsan] Turn off all dfsan test cases on non x86_64 OSs (details)
  132. [lldb/Test] Disable testBreakpointByLineAndColumnNearestCode on Windows (details)
Commit 18883a3fec5a153ab64fb756f6c7f92bce9f9283 by david.green
[TTI] Replace ceil lambdas with divideCeil. NFCI

As pointed out in D101726, this function already exists in MathExtras.
It uses different types, but with the values used here I believe that
should not make a functional difference.
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit 46fa214a6f24549d83a69793b7e14585c2eefa2b by fraser
[RISCV] Lower splats of non-constant i1s as SETCCs

This patch adds support for splatting i1 types to fixed-length or
scalable vector types. It does so by lowering the operation to a SETCC
of the equivalent i8 type.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D101465
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsplats-i1.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
Commit b83b23275b745287bf9d3d72a93b593119f53f75 by sguelton
Introduce -Wreserved-identifier

Warn when a declaration uses an identifier that doesn't obey the reserved
identifier rule from C and/or C++.

Differential Revision: https://reviews.llvm.org/D93095
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/test/Preprocessor/macro-reserved.cpp
The file was modifiedclang/lib/Basic/IdentifierTable.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was addedclang/test/Sema/reserved-identifier.c
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/Preprocessor/macro-reserved.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/Sema/reserved-identifier.cpp
The file was modifiedclang/include/clang/Basic/IdentifierTable.h
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
Commit f800ac8309417b78c084f2eabfd54d43a66b64a2 by kadircet
[clangd] Fix hover crash on broken code

Differential Revision: https://reviews.llvm.org/D101743
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
Commit 1db4dbba24dd36bd5a91ed58bd9d92dce2060c9f by simon.moll
Recommit "[VP,Integer,#2] ExpandVectorPredication pass"

This reverts the revert 02c5ba8679873e878ae7a76fb26808a47940275b

Fix:

Pass was registered as DUMMY_FUNCTION_PASS causing the newpm-pass
functions to be doubly defined. Triggered in -DLLVM_ENABLE_MODULE=1
builds.

Original commit:

This patch implements expansion of llvm.vp.* intrinsics
(https://llvm.org/docs/LangRef.html#vector-predication-intrinsics).

VP expansion is required for targets that do not implement VP code
generation. Since expansion is controllable with TTI, targets can switch
on the VP intrinsics they do support in their backend offering a smooth
transition strategy for VP code generation (VE, RISC-V V, ARM SVE,
AVX512, ..).

Reviewed By: rogfer01

Differential Revision: https://reviews.llvm.org/D78203
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachinePassRegistry.def
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was modifiedllvm/test/CodeGen/AArch64/O0-pipeline.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/tools/llc/llc.cpp
The file was modifiedllvm/test/CodeGen/X86/opt-pipeline.ll
The file was addedllvm/include/llvm/CodeGen/ExpandVectorPredication.h
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was addedllvm/lib/CodeGen/ExpandVectorPredication.cpp
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was addedllvm/test/CodeGen/Generic/expand-vp.ll
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll
Commit 3655f0757f2b4b61419446b326410118658826ba by bjorn.a.pettersson
Make dependency between certain analysis passes transitive

LazyBlockFrequenceInfoPass, LazyBranchProbabilityInfoPass and
LoopAccessLegacyAnalysis all cache pointers to their nestled required
analysis passes. One need to use addRequiredTransitive to describe
that the nestled passes can't be freed until those analysis passes
no longer are used themselves.

There is still a bit of a mess considering the getLazyBPIAnalysisUsage
and getLazyBFIAnalysisUsage functions. Those functions are used from
both Transform, CodeGen and Analysis passes. I figure it is OK to
use addRequiredTransitive also when being used from Transform and
CodeGen passes. On the other hand, I figure we must do it when
used from other Analysis passes. So using addRequiredTransitive should
be more correct here. An alternative solution would be to add a
bool option in those functions to let the user tell if it is a
analysis pass or not. Since those lazy passes will be obsolete when
new PM has conquered the world I figure we can leave it like this
right now.

Intention with the patch is to fix PR49950. It at least solves the
problem for the reproducer in PR49950. However, that reproducer
need five passes in a specific order, so there are lots of various
"solutions" that could avoid the crash without actually fixing the
root cause.

Differential Revision: https://reviews.llvm.org/D100958
The file was addedllvm/test/Other/pr49950.ll
The file was modifiedllvm/lib/Analysis/LazyBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/Analysis/LazyBranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit caa84314049f27bfd4609d988f13ee95c16eb5ba by llvmgnsyncbot
[gn build] Port 1db4dbba24dd
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit 05146fe5171076eaec3ef6a9eeeab4c8a33acf15 by dave
[llvm] Unbreak no-assertion testing
The file was modifiedllvm/test/Transforms/OpenMP/single_threaded_execution.ll
Commit fb92cf92080d34f0bb0b2b0120086ee520f624b8 by jrtc27
[RISCV] Pre-commit tests for D101342

These tests show inefficient sign extension for AMOs on RISC-V. The
normal CodeGen tests use anyext return values, but if marked signext
then we end up generating unnecessary sign extension instructions. This
can be seen when compiling C that returns an i32 (signed or unsigned),
where the calling convention results in a signext return value.
The file was addedllvm/test/CodeGen/RISCV/atomic-signext.ll
Commit 8fa56f7ededcbe28cbbb810b5d261b72ab0d8035 by krasimir
[clang-format] Prevent extraneous space insertion in bitshift operators

This serves to augment the improvements made in https://reviews.llvm.org/D86581. It prevents clang-format from interpreting bitshift operators as template arguments in certain circumstances. This is an attempt at fixing https://bugs.llvm.org/show_bug.cgi?id=49868

Reviewed By: MyDeveloperDay, krasimir

Differential Revision: https://reviews.llvm.org/D100778
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 34593ae9982ad267639893ed4ce41242f9493056 by kbobyrev
Introduce clangd-server-monitor tool

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D101516
The file was modifiedclang-tools-extra/clangd/index/remote/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/test/remote-index/pipeline.test
The file was addedclang-tools-extra/clangd/index/remote/monitor/CMakeLists.txt
The file was addedclang-tools-extra/clangd/index/remote/monitor/Monitor.cpp
The file was modifiedclang-tools-extra/clangd/test/remote-index/pipeline_helper.py
The file was modifiedclang-tools-extra/clangd/test/CMakeLists.txt
Commit c2e9baf2e8dafe92f57fe4171d4b6a5f50d5999e by jubnzv
[clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list

This commit fixes cppcoreguidelines-pro-type-vararg false positives on
'char *' variables.

The incorrect warnings generated by clang-tidy can be illustrated with
the following minimal example:

```
goid foo(char* in) {
  char *tmp = in;
}
```

The problem is that __builtin_ms_va_list desugared as 'char *', which
leads to false positives.

Fixes bugzilla issue 48042.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101259
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-vararg-ms.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-vararg.cpp
Commit 80b897e21bf0ac56b04d415cf9bf671f81a84416 by Dávid Bolvanský
[InstCombine] ctpop(X) ^ ctpop(Y) & 1 --> ctpop(X^Y) & 1 (PR50094)

Original pattern: (__builtin_parity(x) ^ __builtin_parity(y))

LLVM rewrites it as: (__builtin_popcount(x) ^ __builtin_popcount(y)) & 1

Optimized form:  __builtin_popcount(X^Y) & 1

Alive proof: https://alive2.llvm.org/ce/z/-GdWFr

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D101802
The file was modifiedllvm/test/Transforms/InstCombine/ctpop.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Commit 369cd2ae5205e880e2db209070abadf459289322 by a.bataev
Revert "[SLP]Allow masked gathers only if allowed by target."

This reverts commit fd18547e0721983dcb273670d16341921f831e50. Need to
add a check for the size of the vectorization tree to avoid some extra
vectorization.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll
Commit d65e5f60f110046898ad146c508a7d225d398549 by flo
[IndVarSimplify] Add additional tests using isImpliedViaMerge.
The file was modifiedllvm/test/Transforms/IndVarSimplify/eliminate-exit.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
Commit 8f2948731ed35a291c94965c2a0ba808609383c2 by david.stuttard
[AMDGPU][AsmParser] Correct the order of optional operands to mimg

Ordering of operands was incorrect meaning that a16 operand was treated as tfe

Differential Revision: https://reviews.llvm.org/D101618

Change-Id: I3b15e71ef5ff625f19f52823414ab684d76aca33
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_mimg.s
Commit 93537fabcee8fcfa3316d7abd5e935f7fe9b468f by akuegel
[mlir] Add lowering from math.expm1 to LLVM.

Differential Revision: https://reviews.llvm.org/D96776
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
Commit d0e3a15e36830d0fe6049eb0543f0af5a2e1ad12 by Jan Svoboda
[clang][cli] NFC: Remove confusing `EmptyKPM` variable
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/include/clang/Driver/Options.td
Commit bd82cec016ad1cb4ef75d710ff6628837c4d5151 by llvm-dev
[X86] Update PR20841 test description to make it clear we SHOULDN'T be folding EFLAGS with XADD
The file was modifiedllvm/test/CodeGen/X86/atomic-flags.ll
Commit e0dd708f4050798fa3bac603ada5f4499f6a38a0 by llvm-dev
[CodeGenPrepare][X86] Add bitreverse detection tests

Initially only test for XOP which is the only thing that supports scalar bitreverse - we can add vector tests later.
The file was addedllvm/test/Transforms/CodeGenPrepare/X86/bitreverse-recognize.ll
Commit 2bb41851a10c1473bda9a87b4bfabf99527b3929 by llvm-dev
[Utils] recognizeBSwapOrBitReverseIdiom - support matching from funnel shift roots (PR40058)

We were missing bitreverse matches in cases where InstCombine had seen a byte-level rotation at the end of a bitreverse sequence (replacing or() with fshl()), hindering the exhaustive bitreverse matching in CodeGenPrepare later on.
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/bitreverse-recognize.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit 00895831ab23f4de2713a6ad529ba48773d067c1 by Jan Svoboda
[clang][cli][docs] Clarify marshalling infrastructure documentation
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/docs/InternalsManual.rst
Commit 64911eec75bb0c54e40665a2c3f744f046c66a59 by anastasia.stulova
[OpenCL] Allow pipe as a valid identifier prior to OpenCL 2.0.

Pipe has not been a reserved keyword in the earlier OpenCL
standards. However we failed to allow its use as an identifier
in the original commit. This issues is fixed now and testing
is improved accordingly.

Differential Revision: https://reviews.llvm.org/D101052
The file was modifiedclang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
The file was modifiedclang/lib/Parse/ParseDecl.cpp
Commit b04148f77713c92ee57b33b7b858ad18ce8d78e3 by llvm-dev
Local.cpp - Avoid DebugLoc copies - use const reference from getDebugLoc. NFCI.
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit 9f37980d45c7ea05c16851b1d672ab41907a38b7 by bradley.smith
[AArch64][SVE] Fold insert(zero, extract(X, 0), 0) -> X, when X is known to zero lanes 1-N

Specifically, this allow us to rely on the lane zero'ing behaviour of
SVE reduce instructions.

Co-authored-by: Paul Walker <paul.walker@arm.com>

Differential Revision: https://reviews.llvm.org/D101369
The file was addedllvm/test/CodeGen/AArch64/sve-implicit-zero-filling.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit d7ec48d71bd67118e7996c45e9c7fb1b09d4f59a by thakis
[clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=

Use that for internal names (including the default ignorelists of the
sanitizers).

Differential Revision: https://reviews.llvm.org/D101832
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.cpp
The file was addedcompiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist.txt
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.ignore
The file was removedclang/test/CodeGen/ubsan-blacklist-vfs.c
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn
The file was modifiedclang/docs/SanitizerSpecialCaseList.rst
The file was removedclang/test/Frontend/Inputs/resource_dir_with_sanitizer_blacklist/share/ubsan_blacklist.txt
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h
The file was addedcompiler-rt/lib/asan/asan_ignorelist.txt
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-blacklist.c
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
The file was addedcompiler-rt/test/tsan/ignorelist.cpp
The file was modifiedclang/include/clang/Frontend/DependencyOutputOptions.h
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp
The file was modifiedcompiler-rt/test/dfsan/flags.c
The file was addedclang/test/CodeGen/ubsan-ignorelist-vfs.c
The file was modifiedcompiler-rt/lib/msan/tests/CMakeLists.txt
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedcompiler-rt/lib/cfi/cfi_ignorelist.txt
The file was removedcompiler-rt/test/asan/TestCases/blacklist.cpp
The file was addedclang/test/Driver/fsanitize-ignorelist.c
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-ignorelist.c
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
The file was modifiedcompiler-rt/lib/asan/tests/asan_test_config.h
The file was addedcompiler-rt/test/asan/TestCases/Helpers/ignorelist-extra.cpp
The file was modifiedclang/docs/ThreadSanitizer.rst
The file was modifiedclang/test/Driver/print-file-name.c
The file was addedcompiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/include/clang/Basic/SanitizerSpecialCaseList.h
The file was removedcompiler-rt/test/tsan/blacklist.cpp
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-ignorelist.c
The file was removedclang/test/Driver/fsanitize-blacklist.c
The file was modifiedclang/test/CodeGen/shadowcallstack-attr.c
The file was addedcompiler-rt/test/asan/TestCases/initialization-ignorelist.cpp
The file was modifiedclang/docs/ControlFlowIntegrity.rst
The file was addedclang/test/Driver/Inputs/resource_dir/share/hwasan_ignorelist.txt
The file was removedcompiler-rt/test/asan/TestCases/Helpers/initialization-blacklist-extra.cpp
The file was addedcompiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist-extra2.cpp
The file was removedcompiler-rt/test/asan/TestCases/initialization-blacklist.cpp
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-blacklist.c
The file was removedcompiler-rt/test/asan/TestCases/Helpers/initialization-blacklist.txt
The file was modifiedcompiler-rt/lib/asan/tests/CMakeLists.txt
The file was addedcompiler-rt/test/asan/TestCases/ignorelist.cpp
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-blacklist.c
The file was removedclang/test/CodeGen/ubsan-type-blacklist.cpp
The file was removedcompiler-rt/test/tsan/blacklist2.cpp
The file was addedcompiler-rt/test/msan/default_ignorelist.cpp
The file was addedclang/test/CodeGen/ubsan-type-ignorelist.cpp
The file was addedcompiler-rt/lib/msan/msan_ignorelist.txt
The file was addedclang/test/Driver/Inputs/resource_dir/share/ubsan_ignorelist.txt
The file was removedclang/test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was removedcompiler-rt/test/asan/TestCases/default_blacklist.cpp
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
The file was removedclang/test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-ignorelist.c
The file was removedclang/test/Driver/Inputs/resource_dir/share/asan_blacklist.txt
The file was removedclang/test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/test/Frontend/print-header-includes.c
The file was removedcompiler-rt/test/asan/TestCases/Helpers/blacklist-extra.cpp
The file was addedcompiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist-extra.cpp
The file was modifiedclang/test/CodeGen/sanitize-init-order.cpp
The file was modifiedcompiler-rt/lib/asan/CMakeLists.txt
The file was removedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-blacklist.c
The file was modifiedclang/docs/MemorySanitizer.rst
The file was addedclang/test/Frontend/Inputs/resource_dir_with_sanitizer_ignorelist/share/ubsan_ignorelist.txt
The file was addedclang/test/Driver/Inputs/resource_dir/share/asan_ignorelist.txt
The file was removedcompiler-rt/lib/cfi/cfi_blacklist.txt
The file was modifiedcompiler-rt/lib/hwasan/CMakeLists.txt
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/unittests/Driver/SanitizerArgsTest.cpp
The file was addedcompiler-rt/lib/hwasan/hwasan_ignorelist.txt
The file was removedcompiler-rt/lib/asan/asan_blacklist.txt
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/iostream_sbo.cpp
The file was removedcompiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_blocklist.cpp
The file was modifiedclang/test/Frontend/dependency-gen.c
The file was addedcompiler-rt/test/asan/TestCases/default_ignorelist.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedcompiler-rt/lib/cfi/CMakeLists.txt
The file was removedcompiler-rt/lib/msan/msan_blacklist.txt
The file was modifiedclang/test/CodeGen/sanitizer-special-case-list.c
The file was removedcompiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-blacklist.cpp
The file was addedclang/test/Driver/Inputs/resource_dir/share/vtables_ignorelist.txt
The file was addedcompiler-rt/test/tsan/ignorelist2.cpp
The file was modifiedclang/docs/AddressSanitizer.rst
The file was removedcompiler-rt/lib/hwasan/hwasan_blacklist.txt
The file was removedcompiler-rt/test/asan/TestCases/Helpers/initialization-blacklist-extra2.cpp
The file was addedcompiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-ignorelist.cppp
The file was addedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-ignorelist.c
The file was modifiedcompiler-rt/lib/msan/CMakeLists.txt
The file was removedcompiler-rt/test/msan/default_blacklist.cpp
The file was modifiedclang/docs/UndefinedBehaviorSanitizer.rst
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
Commit db210bc69bb50979fb843b68fcb71a9c905e971b by flo
[Matrix] Implement C-style explicit type conversions in CXX for matrix types

This patch implements C-style explicit type conversions in CXX for matrix types. It is part of fixing https://bugs.llvm.org/show_bug.cgi?id=47141

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D101696
The file was addedclang/test/CodeGenCXX/matrix-casts.cpp
The file was modifiedclang/test/SemaCXX/matrix-casts.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
Commit 05d2297b869444465134a17ce625b35f859958d0 by gysit
[mlir][linalg] Always lower index operations during loop lowering.

Ensure the index operations are lowered on all linalg loop lowering paths.

Differential Revision: https://reviews.llvm.org/D101827
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit bfb9c749c02402ba082e81bfdadb15fb331c59ae by thakis
Fix some typos in d7ec48d71bd671
The file was modifiedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-ignorelist.c
The file was modifiedcompiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-ignorelist.c
Commit 9931ae645eb41f5e96ef12c871ee2eeb1b7252f6 by sander.desmalen
Reland "[LV] Calculate max feasible scalable VF."

Relands https://reviews.llvm.org/D98509

This reverts commit 51d648c119d7773ce6fb809353bd6bd14bca8818.
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-reductions.ll
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-analysis.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-hint.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/scalable-vf-hint.ll
Commit 2d480abd9a908fe1c5a86ec1a67cd2e7aeeb66c9 by fraser
[LangRef] Fix a typo in the vector-type memory layout section
The file was modifiedllvm/docs/LangRef.rst
Commit d882750f1105b20d892545e7ebd96f82166dcb53 by balazs.benics
[analyzer] Fix a crash for dereferencing an empty llvm::Optional variable in SMTConstraintManager.h.

The first crash reported in the bug report 44338.

Condition `!isSat.hasValue() || isNotSat.getValue()` here should be
`!isNotSat.hasValue() || isNotSat.getValue()`.
`getValue()` here crashed when we used the static analyzer to analyze
postgresql-12.0.

Patch By: OikawaKirie

Reviewed By: steakhal, martong

Differential Revision: https://reviews.llvm.org/D83660
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
The file was addedclang/test/Analysis/z3/Inputs/MockZ3_solver_check.c
The file was addedclang/test/Analysis/z3/D83660.c
Commit 4f8d585fbf146f1b9ea4b895e6abe1b24ab65090 by brock.wyma
[CodeView] Truncate Long Type Names With An MD5 Hash

Replace long CodeView type names with an MD5 hash of the name.

Differential Revision: https://reviews.llvm.org/D97881
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp
The file was modifiedllvm/test/DebugInfo/COFF/long-type-name.ll
Commit 2021d272ad6c49e63deeb2314c8553da335284f6 by Louis Dionne
[libc++] Implement ranges::view

Differential Revision: https://reviews.llvm.org/D101547
The file was modifiedlibcxx/test/std/containers/unord/unord.set/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/range_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.view/view.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.view/view_base.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.view/enable_view.compile.pass.cpp
The file was addedlibcxx/include/__ranges/view.h
The file was addedlibcxx/test/std/ranges/range.view/view.subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multiset/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.multimap/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/docs/OneRangesProposalStatus.csv
The file was modifiedlibcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/ranges
The file was modifiedlibcxx/test/std/containers/unord/unord.map/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/range_concept_conformance.compile.pass.cpp
Commit 6ede28c9e129f816571efbb1c22b0f0fd350a77b by llvmgnsyncbot
[gn build] Port 2021d272ad6c
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 75952d6df6357d32db1f43e30186c1f9be6a677e by Louis Dionne
[libc++] Move the Debug iterators check to CI stage 3

It's not a default configuration, so it belongs to stage 3.
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml
Commit 54bff1522fc863329894d875d54c2fe4cd1b4f3f by aaron
Rename a template parameter that conflicted with a common macro; NFC

The CALLBACK macro is used extensively in the Windows SDK.
The file was modifiedclang/include/clang/Analysis/CFG.h
Commit 93297e4bacd99f8c6711c136a4000c8526a7ea31 by gh
[MLIR] Replace a not of a comparison with appropriate comparison

Differential Revision: https://reviews.llvm.org/D101710
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/Dialect/Standard/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit 4ba8720f8844ae740e9424f90487ec308a22f40c by flo
[VPlan] Representing backedge def-use feeding reduction phis.

This patch updates the code handling reduction recipes to also keep
track of the incoming value from the latch in the recipe. This is needed
to model the def-use chains completely in VPlan, so that it is possible
to replace the incoming value with an arbitrary VPValue.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D99294
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-printing.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
Commit 8e211bf1c895a31b3e9f49014b5494d8e1dabcf6 by gh
[MLIR][SCF] Assume uses of condition in the body of scf.while is true

Differential Revision: https://reviews.llvm.org/D101801
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
Commit 3273f276923725bc84ba214df6e1fe4569c1007e by gbreynoo
[llvm-objdump] Remove --cfg option from command guide

The llvm-objdump command guide has the option --cfg which was removed
from the tool by 888320e9fa5eb33194c066f68d50f1e73c5fff5e in 2014. This
change updates the command guide to reflect this.

Differential Revision: https://reviews.llvm.org/D101648
The file was modifiedllvm/docs/CommandGuide/llvm-objdump.rst
Commit cb395b84b09d1d411f65ae97f25c3a7a05b9bb7f by gh
[MLIR] Add not icmp canonicalization documentation

See: https://reviews.llvm.org/D101710
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
Commit 1998a086551ce48ca62dfe75d41c250284ac0982 by amy.kwan1
[PowerPC][NFC] Update atomic patterns to use the refactored load/store implementation

This patch updates the scalar atomic patterns to use the refactored load/store
implementation introduced in D93370.
All existing test cases pass with when the refactored patterns are utilized.

Differential Revision: https://reviews.llvm.org/D94498
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
Commit 73686247ac3e60c91fa5943c98956093df5e49ff by gbreynoo
[llvm-objdump] Remove Generic Options group from help text output

Looking at other tools using tablegen for help output, general options
like --help are not separated from other options. This change removes
the "Generic Options" option group so the options are listed together.
the macho specific option group is left unaffected.

The test help.test was modified to reflect this change.

Differential Revision: https://reviews.llvm.org/D101652
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td
The file was modifiedllvm/test/tools/llvm-objdump/help.test
Commit a6f79b56711e009440d00685e36c1fb919659202 by spatel
[InstCombine] avoid infinite loops with select/icmp transforms

This fixes https://llvm.org/PR48900 , but as seen in the
regression tests prevents some optimizations.

There are a few options to restore those (switch to min/max
intrinsics, add larger pattern matching for select with
dominating condition, improve CVP), but we need to prevent
the bug 1st.
The file was modifiedllvm/test/Transforms/InstCombine/icmp-dom.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit b1048ff68298c1c4e303bbb77ca1832b2f873cd6 by mascasa
[libFuzzer] Preserve position hint in auto dictionary

Currently, the position hint of an entry in the persistent auto
dictionary is fixed to 1. As a consequence, with a 50% chance, the entry
is applied right after the first byte of the input. As the position 1
does not appear to have any particular significance, this is likely a
bug that may have been caused by confusing the constructor parameter
with a success count.

This commit resolves the issue by preserving any existing position hint
or disabling the hint if the original entry didn't have one.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101686
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMutate.cpp
Commit 5285748c2c764c1d7fb3f882ba9f11ed79f676a1 by jennifer.yu
Fix assert on the variable which is used in omp clause is not marked
as used.

The problem only happens with constexpr variable, for constexpr variable,
variable is not marked during parser variable.   This is because compiler
might find some var's associate expressions may not actully an odr-used
later,  the variables get kept in MaybeODRUseExprs, in normal case, at
end of process fullExpr, the variable will be marked during the call to
CleanupVarDeclMarking(). Since we are processing expression of OpenMP
clauses, and the ActOnFinishFullExpr is not getting called that casue
variable is not get marked.

One way to fix this is to call CleanupVarDeclMarking() in EndOpenMPClause
for each omp directive.

This to fix https://bugs.llvm.org/show_bug.cgi?id=50206

Differential Revision: https://reviews.llvm.org/D101781
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/constexpr_capture.cpp
Commit 7e83a7f1fdfcc2edde61f0a535f9d7a56f531db9 by dimitry
Reland "[MC][ELF] Work around R_MIPS_LO16 relocation handling problem"

This fixes PR49821, and avoids "ld.lld: error: test.o:(.rodata.str1.1):
offset is outside the section" errors when linking MIPS objects with
negative R_MIPS_LO16 implicit addends.

ld.lld handles R_MIPS_HI16/R_MIPS_LO16 separately, not as a whole, so it
doesn't know that an R_MIPS_HI16 with implicit addend 1 and an
R_MIPS_LO16 with implicit addend -32768 represents 32768, which is in
range of a MergeInputSection. We could introduce a new RelExpr member
(like R_RISCV_PC_INDIRECT for R_RISCV_PCREL_HI20 / R_RISCV_PCREL_LO12)
but the complexity is unnecessary given that GNU as keeps the original
symbol for this case as well.

Adds a new test case for PR49821, and also updates two other test cases
that are affected by this change.

Reviewed By: atanasyan, MaskRay

Differential Revision: https://reviews.llvm.org/D101773
The file was modifiedllvm/test/MC/Mips/xgot.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was addedllvm/test/MC/Mips/mips_lo16.s
The file was modifiedllvm/test/MC/Mips/elf-relsym.s
Commit 80c79035ef06b4429c4bb6aa5504fff08ace4b05 by Christudasan.Devadasan
DAG: Cleanup assertion in EmitFuncArgumentDbgValue

Removing an assertion introduced with D68945. The
patch was later reverted with 6531a78ac4b5, but failed
to remove this assertion. It causes a problem while
trying to split a 64-bit argument into sub registers.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D101594
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was addedllvm/test/CodeGen/AMDGPU/ptr-arg-dbg-value.ll
Commit dffddde73ab73cc5d89818330b11eb2dc3610ed7 by dimitry
Revert "[llvm-objdump] Remove Generic Options group from help text output"

This reverts commit 73686247ac3e60c91fa5943c98956093df5e49ff, as there
were git stash conflict markers left unresolved.
The file was modifiedllvm/test/tools/llvm-objdump/help.test
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td
Commit 0c3f762c8fd142464f9f3146091045a9b63db2c1 by medismail.bennani
[lldb/Utility] Update path in FileSpec documentation (NFC)

Update FileSpec doxygen path to reflect its actual location in the
source-tree.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/include/lldb/Utility/FileSpec.h
Commit 1435f6b00be79f1042818da8714ad4de2aef7848 by medismail.bennani
[lldb] Move and clean-up the Declaration class (NFC)

This patch moves the Declaration class from the Symbol library to the
Core library. This will allow to use it in a more generic fashion and
aims to lower the dependency cycles when it comes to the linking.

The patch also does some cleaning up by making column information
permanent and removing the LLDB_ENABLE_DECLARATION_COLUMNS directives.

Differential revision: https://reviews.llvm.org/D101556

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Core/CMakeLists.txt
The file was modifiedlldb/include/lldb/Symbol/Type.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/unittests/Symbol/TestClangASTImporter.cpp
The file was modifiedlldb/include/lldb/Symbol/Variable.h
The file was modifiedlldb/source/Symbol/CMakeLists.txt
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was removedlldb/include/lldb/Symbol/Declaration.h
The file was modifiedlldb/source/API/SBValue.cpp
The file was removedlldb/source/Symbol/Declaration.cpp
The file was modifiedlldb/source/Core/ValueObjectVariable.cpp
The file was modifiedlldb/source/Core/Address.cpp
The file was modifiedlldb/unittests/Symbol/TestTypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
The file was modifiedlldb/source/API/SBDeclaration.cpp
The file was addedlldb/include/lldb/Core/Declaration.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
The file was addedlldb/source/Core/Declaration.cpp
Commit adfffebec6d6910304e4b1ccdbef78e226a8fd32 by medismail.bennani
[lldb/Core] Add SourceLocationSpec class (NFC)

A source location specifier class that holds a Declaration object containing
a FileSpec with line and column information. The column line is optional.
It also holds search flags that can be fetched by resolvers to look inlined
declarations and/or exact matches.

It describes a specific location in a source file and allows the user
to perform checks and comparaisons between multiple instances of that class.

Differential Revision: https://reviews.llvm.org/D100962

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was addedlldb/include/lldb/Core/SourceLocationSpec.h
The file was modifiedlldb/source/Core/CMakeLists.txt
The file was addedlldb/source/Core/SourceLocationSpec.cpp
The file was addedlldb/unittests/Core/SourceLocationSpecTest.cpp
The file was modifiedlldb/unittests/Core/CMakeLists.txt
Commit a617e2064d694ce5ea608b24c52ee255a14c2ef7 by gbreynoo
[llvm-objdump] Remove Generic Options group from help text output

Reapply 7368624 after revert and fix

Looking at other tools using tablegen for help output, general options
like --help are not separated from other options. This change removes
the "Generic Options" option group so the options are listed together.
the macho specific option group is left unaffected.

The test help.test was modified to reflect this change.

Differential Revision: https://reviews.llvm.org/D101652
The file was modifiedllvm/test/tools/llvm-objdump/help.test
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td
Commit 0c2e2f88fbd3f3ffa2e441e08cdd17141e7bea97 by i
[llvm-objdump] Improve newline consistency between different pieces of information

When dumping multiple pieces of information (e.g. --all-headers),
there is sometimes no separator between two pieces.
This patch uses the "\nheader:\n" style, which generally improves
compatibility with GNU objdump.

Note: objdump -t/-T does not add a newline before "SYMBOL TABLE:" and "DYNAMIC SYMBOL TABLE:".
We add a newline to be consistent with other information.

`objdump -d` prints two empty lines before the first 'Disassembly of section'.
We print just one with this patch.

Differential Revision: https://reviews.llvm.org/D101796
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-section-name.s
The file was modifiedlld/test/MachO/arm64-32-reloc-got-load.s
The file was modifiedllvm/test/tools/llvm-objdump/MachO/section-headers.test
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-dynamic-symbols.test
The file was modifiedllvm/tools/llvm-objdump/ELFDump.cpp
The file was modifiedlld/test/MachO/arm64-reloc-tlv-load.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx9.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/verdef.test
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-failure.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/symbol-table.test
The file was modifiedllvm/test/tools/llvm-objdump/ELF/verneed.test
The file was modifiedlld/test/MachO/arm64-reloc-got-load.s
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-raw.s
The file was modifiedllvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s
The file was modifiedllvm/test/tools/llvm-objdump/all-headers.test
Commit 82956de05f9d63e5fbc170702649e5d978b51b80 by wmi
[SampleFDO] Fix a bug when appending function symbol into the Callees set of
Root node in ProfiledCallGraph.

In ProfiledCallGraph::addProfiledFunction, to add a function symbol into the
ProfiledCallGraph, currently an uninitialized ProfiledCallGraphNode node is
created by ProfiledFunctions[Name] and inserted into Callees set of Root node
before the node is initialized. The Callees set use
ProfiledCallGraphNodeComparer as its comparator so the uninitialized
ProfiledCallGraphNode may fail to be inserted into Callees set if it happens
to contain a name in memory which has been inserted into the Callees set
before. The problem will prevent some function symbols from being annotated
with profiles and cause performance regression. The patch fixes the problem.

Differential Revision: https://reviews.llvm.org/D101815
The file was modifiedllvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h
Commit 6da1c46227e0176269e41fc9620a534a6b14fe43 by Louis Dionne
[libc++] NFC: Fix typo in Ranges Status
The file was modifiedlibcxx/docs/OneRangesProposalStatus.csv
Commit 33ff3c20498ef5c2057730d91a9dbee21a027a31 by bjorn.a.pettersson
Revert "Make dependency between certain analysis passes transitive"

This reverts commit 3655f0757f2b4b61419446b326410118658826ba.

It caused assertion failures related to setLastUser in polly builds.
The file was modifiedllvm/lib/Analysis/LazyBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/Analysis/LazyBranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was removedllvm/test/Other/pr49950.ll
Commit 670736a904746e92dde141266b6d4881b56d51a2 by saghir
[PowerPC] Prevent argument promotion of types with size greater than 128 bits

This patch prevents argument promotion of types having
type size greater than 128 bits.

Fixes Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=49952

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D101188
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
The file was addedllvm/test/CodeGen/PowerPC/arg_promotion.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
Commit 6523ff6d4759b2bca7a0c056e31e4bb76caf7324 by fraser
[ValueTypes] Add MVTs for v256i16 and v256f16

This patch adds the two MVTs to fix a legalizer crash when using vector
shuffles of <256 x i16> and <128 x i16> on RISC-V. The legalizer can't
promote the operand of `v256i32 = any_extend_vector_inreg v128i16`.

Reviewed By: craig.topper, RKSimon

Differential Revision: https://reviews.llvm.org/D101769
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/interleave-crash.ll
Commit dcf6d0d389dfb6b83aa1a6c20db32dc31c19f531 by i
[llvm-objdump] Fix -a after D100433

-a is alias for --archive-headers, not --all-headers
The file was modifiedllvm/test/tools/llvm-objdump/archive-headers.test
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td
Commit e1c729c56829d3b9502b9ac2439003f87231db50 by n.james93
[clang-tidy][NFC] Update tests and Default options to use boolean value

Change instances where options which are boolean are assigned the value 1|0 to use true|false instead.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101721
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-bool-literals-ignore-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-chained-conditional-return.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-member-init-use-assignment.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-not-null-terminated-result-memcpy-before-safe.c
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/.clang-tidy
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-avoid-bind-permissive-parameter-list.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-inconsistent-declaration-parameter-name-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-caps-only.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-int.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-smartptr-get-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/hicpp-signed-bitwise-integer-literals.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-array-subscript-expression.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-emplace-ignore-implicit-constructors.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-delete-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-widening-cast-implicit-enabled.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-ignore-single-argument.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-misplaced-widening-cast-explicit-only.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-string-compare.c
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-access-specifiers-check-first-declaration.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-sizeof-expression.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init-assignment.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-enum-usage-strict.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-chained-conditional-assignment.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/44/.clang-tidy
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-relaxed.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-make-unique-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-for-range-copy-warn-on-all-auto-copies.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-non-private-member-variables-in-classes.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-assert-side-effect.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/duplicate-conflicted-fixes-of-alias-checkers.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-narrowing-conversions-pedanticmode-option.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-cast-remove-stars.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-strict.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-uppercase-literal-suffix-integer-macro.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-string-compare.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/hicpp-multiway-paths-covered-else.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-raw-string-literal.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-member-init.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-no-warn.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-special-member-functions-allow-missing-move-when-copy-is-deleted.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-implicit-bool-conversion-allow-in-conditions.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-min-type-name-length.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-auto-new-remove-stars.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-override-allow-override-and-final.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-noexcept-opt.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming.cpp
The file was modifiedclang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-raw-string-literal-delimiter.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-move-constructor-init.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init-assignment.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-suspicious-enum-usage.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/portability-simd-intrinsics-ppc.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-override-no-destructors.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-inconsistent-declaration-parameter-name-strict.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-reserved-identifier-invert.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-using-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-bool-literals.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-default-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-self-assignment-warn-only-if-this-has-suspicious-field.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration-ignore-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-equals-default-copy.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-magic-numbers.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-argument-comment-literals.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-command-line-macros.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/portability-simd-intrinsics-x86.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-implicit-widening-of-multiplication-result-pointer-offset.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-inefficient-vector-operation.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-move-const-arg-trivially-copyable.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-main-like.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-unused-parameters-strict.cpp
Commit 0172b1389ecfef2140d459db68f564125d5d41b6 by aeubanks
[docs] Fix some wording
The file was modifiedllvm/docs/NewPassManager.rst
Commit b451ecd86e13ec6ef47caf37f62977645c4f748e by andrew.savonichev
[Clang][AArch64] Disable rounding of return values for AArch64

If a return value is explicitly rounded to 64 bits, an additional zext
instruction is emitted, and in some cases it prevents tail call
optimization.

As discussed in D100225, this rounding is not necessary and can be
disabled.

Differential Revision: https://reviews.llvm.org/D100591
The file was modifiedclang/test/CodeGen/aarch64-varargs.c
The file was modifiedclang/test/CodeGenCXX/trivial_abi.cpp
The file was modifiedclang/test/CodeGen/arm64-arguments.c
The file was modifiedclang/test/CodeGen/arm64-microsoft-arguments.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/test/CodeGen/attr-noundef.cpp
Commit 4e7a4c73dab6605f4fcc7bf09c2ee85e7925f6d7 by Dávid Bolvanský
[InstSimplify] Added tests for PR50173, NFC
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
Commit 1a79381bfaefa6320a3fd7267b7fb2dc2a3ef113 by i
[RISCV][test] Migrate llvm-objdump --riscv-no-aliases to -M no-aliases

--riscv-no-aliases is an internal cl::opt option not intended to be exported.
Use the user-facing -M no-aliases instead.
The file was modifiedllvm/test/MC/RISCV/rvv/fothers.s
The file was modifiedllvm/test/MC/RISCV/rvv/store.s
The file was modifiedllvm/test/MC/RISCV/rvv/load.s
The file was modifiedllvm/test/MC/RISCV/rvv/others.s
The file was modifiedllvm/test/MC/RISCV/rvv/zvlsseg.s
The file was modifiedllvm/test/MC/RISCV/rv32b-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64b-aliases-valid.s
Commit 05a5073788ee6c32c9696994dcbbd25840c1e804 by i
[llvm-objdump] Delete temporary workaround option --riscv-no-aliases

Use the user-facing `-M no-aliases` instead.
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td
Commit 632ee385134905a882c1d1d009afabb2d352b073 by mascasa
[libFuzzer] Further deflake exec-time test.

Increase runs to 200,000 since we currently get a random failure about
once per day on the buildbot.
The file was modifiedcompiler-rt/test/fuzzer/entropic-scale-per-exec-time.test
Commit 44fd4575b39a14f98f6c3ace91795bd75e14732c by nikita.ppv
[SimplifyCFG] Extract helper for creating logical op (NFC)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 54db12ff5a5ed33662c75bc465c5a44ac234c6f2 by nikita.ppv
[SimplifyCFG] Regenerate test checks (NFC)

Regenerate the branch weight test using --check-globals.
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
Commit e20897726f080d6378668f8b4b656bbb34313578 by nikita.ppv
[SimplifyCFG] Create logical or in SimplifyCondBranchToCondBranch()

We need to use a logical or instead of a bitwise or to preserve
poison behavior. Poison from the second condition should not
propagate if the first condition is true.

We were already handling this correctly in FoldBranchToCommonDest(),
but not in this fold. (There are still other folds with this issue.)
The file was modifiedllvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/SimplifyEqualityComparisonWithOnlyPredecessor-domtree-preservation-edgecase.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/extract-cost.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/wc-widen-block.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-fold.ll
Commit 84bf107d50af1b8af122024773088f2e53b0802a by mascasa
[libFuzzer] Disable non-exec-time test again.

It was previously disabled for the past 6+ months.  I tried to re-enable
it after some deflaking, but it still fails occasionally.
The file was modifiedcompiler-rt/test/fuzzer/entropic-scale-per-exec-time.test
Commit 84c475437267e7fffedc40029ce274b099d8f8f3 by leonardchan
[clang] Add -fc++-abi= flag for specifying which C++ ABI to use

This implements the flag proposed in RFC
http://lists.llvm.org/pipermail/cfe-dev/2020-August/066437.html.

The goal is to add a way to override the default target C++ ABI through a
compiler flag. This makes it easier to test and transition between different
C++ ABIs through compile flags rather than build flags.

In this patch:

- Store -fc++-abi= in a LangOpt. This isn't stored in a CodeGenOpt because
  there are instances outside of codegen where Clang needs to know what the
  ABI is (particularly through ASTContext::createCXXABI), and we should be
  able to override the target default if the flag is provided at that point.
- Expose the existing ABIs in TargetCXXABI as values that can be passed
  through this flag.
  - Create a .def file for these ABIs to make it easier to check flag values.
  - Add an error for diagnosing bad ABI flag values.

Differential Revision: https://reviews.llvm.org/D85802
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/include/clang/Basic/TargetCXXABI.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was addedclang/test/CodeGenCXX/cxx-abi-switch.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was addedclang/test/Frontend/invalid-cxx-abi.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was addedclang/include/clang/Basic/TargetCXXABI.def
The file was modifiedclang/include/clang/Driver/Options.td
Commit e9edd11cda55834cc148798b1692911a5a646ace by i
[Hexagon][test] Migrate llvm-objdump --mv6[0567]t?/--mhvx to --mcpu=hexagonv*/--mattr=+hvx
The file was modifiedllvm/test/MC/Hexagon/hvx-double-implies-hvx.s
The file was modifiedllvm/test/MC/Hexagon/v67.s
The file was modifiedllvm/test/MC/Hexagon/hvx-swapped-regpairs.s
The file was modifiedllvm/test/MC/Hexagon/v60-misc.s
The file was modifiedllvm/test/MC/Hexagon/extensions/v67_hvx.s
The file was modifiedllvm/test/MC/Hexagon/v67_all.s
The file was modifiedllvm/test/CodeGen/Hexagon/vect-regpairs.ll
The file was modifiedllvm/test/CodeGen/Hexagon/bug18008.ll
The file was modifiedllvm/test/MC/Hexagon/v60-shift.s
The file was modifiedllvm/test/MC/Hexagon/v65_all.s
The file was modifiedllvm/test/MC/Hexagon/cmpyrw.s
The file was modifiedllvm/test/MC/Hexagon/quad_regs.s
The file was modifiedllvm/test/MC/Hexagon/v60-permute.s
The file was modifiedllvm/test/MC/Hexagon/v60-vmem.s
The file was modifiedllvm/test/MC/Hexagon/v66.s
The file was modifiedllvm/test/MC/Hexagon/v60-vmpy-acc.s
The file was modifiedllvm/test/MC/Hexagon/v60-vcmp.s
The file was modifiedllvm/test/MC/Hexagon/v60lookup.s
The file was modifiedllvm/test/MC/Hexagon/v60-vmpy1.s
The file was modifiedllvm/test/MC/Hexagon/align.s
The file was modifiedllvm/test/MC/Hexagon/smallcore_dis.s
The file was modifiedllvm/test/MC/Hexagon/v62_all.s
The file was modifiedllvm/test/MC/Hexagon/v60-alu.s
The file was modifiedllvm/test/MC/Hexagon/z-instructions.s
Commit 61dc0f2b593da149a4c0cea67819cd7bdbdd50b8 by n.james93
[Format] Don't sort includes if DisableFormat is true

Fixes https://llvm.org/PR35099.

I'm not sure if this decision was intentional but its definitely confusing for users.

Reviewed By: MyDeveloperDay, HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D101628
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp
Commit 23e2c1b1b385c7677cd60867797abaa6e4e8f0f5 by i
[llvm-objdump] Delete temporary Hexagon workaround options
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-objdump/ObjdumpOpts.td
Commit 974ff623aa898465b7f62802d83830805c4a516c by asbirlea
Add monthly MemorySSA sync.
The file was modifiedllvm/docs/GettingInvolved.rst
Commit 1971823ecb9eaa077554a5d268a44c7cb75eccce by Dan Liew
[Driver] Fix `ToolChain::getCompilerRTPath()` to return the correct path on Apple platforms.

When the target triple was an Apple platform `ToolChain::getOSLibName()`
(called by `getCompilerRTPath()`) would return the full OS name
including the version number (e.g. `darwin20.3.0`). This is not correct
because the library directory for all Apple platforms is `darwin`.

This in turn caused

* `-print-runtime-dir` to return a non-existant path.
* `-print-file-name=<any compiler-rt library>` to return the filename
  instead of the full path to the library.

Two regression tests are included.

rdar://77417317

Differential Revision: https://reviews.llvm.org/D101682
The file was addedclang/test/Driver/darwin-print-runtime-dir.c
The file was addedclang/test/Driver/darwin-print-file-name.c
The file was modifiedclang/lib/Driver/ToolChain.cpp
Commit 9c72a210b58f19632af0e91679da7aa63f51ad7a by leonardchan
Fix for test failure caused by 84c475437267e7fffedc40029ce274b099d8f8f3.

Reduces the number of targets/triples for this test since not all cmake
invocations will build for those targets.
The file was modifiedclang/test/Frontend/invalid-cxx-abi.cpp
Commit 313ee609e16b93a7d81cd595f8cffdb408390495 by georgakoudis1
[OpenMP] Fix non-determinism in clang task codegen (lastprivates)

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101800
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit 92f2c39f915adc8f71be02d2604df4916069c9d4 by georgakoudis1
[Utils] Run non-filecheck runlines in-order in update_cc_test_checks

The script update_cc_test_checks runs all non-filechecked runlines before the filechecked ones. This creates problems since outputs of those non-filechecked runlines may conflict and that will fail the execution of update_cc_test_checks. This patch executes non-filechecked in the order specified in the test file to avoid this issue.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101683
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/exec-all-runlines.c.expected
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/exec-all-runlines.c
Commit e87fb6d3875569bbc2e729732433e4865cdd1eff by martin
[libcxx] Update docs regarding the need for bash/posix tools for tests on Windows. NFC.

After 39bbfb77264a4a7a216921c2b70a30ba0f27eb56, bash is no longer
a hard requirement.

Differential Revision: https://reviews.llvm.org/D101779
The file was modifiedlibcxx/docs/BuildingLibcxx.rst
Commit 82de4e075339f5ad8d68cfe31eb45b771d4750ae by martin
[LLD] [COFF] Actually include the exported comdat symbols

This is a followup to 2b01a417d7ccb001ccc1185ef5fdc967c9fac8d7;
previously the RVAs of the exported symbols from comdats were left
zero.

Thanks to Kleis Auke Wolthuizen for the fix suggestion and pointing
out the omission.

Differential Revision: https://reviews.llvm.org/D101615
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/export-all.s
Commit 70c4930637fa9a43eabcbde66e5a74262da1e46c by martin
[llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones

Unwind info generated by MSVC tends to have relocations pointing at
static "label" symbols like "$LN4" instead of regular ones based on
the actual function's name. Try to resolve such symbols to a non-label
symbol if possible (ideally to an external symbol), to improve
the readability.

Differential Revision: https://reviews.llvm.org/D101567
The file was addedllvm/test/tools/llvm-readobj/COFF/arm64-unwind-preferred-symbol.yaml
The file was modifiedllvm/tools/llvm-readobj/ARMWinEHPrinter.h
The file was modifiedllvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
Commit 6c3a10760da3707186d5204bd9283e99344fa90f by Adrian Prantl
Mark Basic/TargetCXXABI.def as textual in the module map.
The file was modifiedclang/include/clang/module.modulemap
Commit def86413d4c7bd088c3dbf445480a3eb2074da66 by lxfind
[Coroutines] Do not add alloca to the frame if the size is 0

This patch is to address https://bugs.llvm.org/show_bug.cgi?id=49916.
When the size of an alloca is 0, it will trigger an assertion in OptimizedStructLayout when being added to the frame.
Fix it by not adding it at all. We return index 0 (beginning of the frame) for all 0-sized allocas.

Differential Revision: https://reviews.llvm.org/D101841
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was addedllvm/test/Transforms/Coroutines/coro-zero-alloca.ll
Commit b14c8f5f6eb96e70adb553cc8a4257524881e029 by asbirlea
Add cal entry for MemorySSA syncs.
The file was modifiedllvm/docs/GettingInvolved.rst
Commit 14ca2e5e22e7806c77ca3e5b126e888c9b1c4041 by tlively
[WebAssembly] Mark abs of v2i64 as legal

We previously had an ISel pattern for i64x2.abs, but because the ISDNode was not
marked legal for v2i64, the instruction was not being selected.

Differential Revision: https://reviews.llvm.org/D101803
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
Commit 3d473ae72ea3f1bff6db6a3ebc226f3032cf530d by i
[MC] Remove unneeded "in '.xxx' directive" from diagnostics

The directive name is not useful because the next line replicates the error line
which includes the directive.
The file was modifiedllvm/test/MC/ELF/cfi.s
The file was modifiedllvm/test/MC/AsmParser/AArch64/directive-parse-err.s
The file was modifiedllvm/test/MC/ELF/lto-discard.s
The file was modifiedllvm/test/MC/COFF/cv-fpo-errors.s
The file was modifiedllvm/test/MC/AsmParser/exprs-invalid.s
The file was modifiedllvm/test/MC/RISCV/data-directives-invalid.s
The file was modifiedllvm/test/MC/Hexagon/data-directives-invalid.s
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/test/MC/AsmParser/floating-literals.s
The file was modifiedllvm/test/MC/Mips/asciiz-directive-bad.s
The file was modifiedllvm/test/MC/AsmParser/equ.s
Commit 6dd883477249dae1c57e07f6c4375eb90c2df297 by Matthew.Arsenault
X86/GlobalISel: Rely on default assignValueToReg

The resulting output is semantically closer to what the DAG emits and
is more compatible with the existing CCAssignFns.

The returns of f32 in f80 are clearly broken, but they were broken
before when using G_ANYEXT to go from f32 to f80.
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator.ll
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp
Commit ccfe0175109af904942672dcbb0dd32963f71338 by Matthew.Arsenault
GlobalISel: Fix missing newline in debug printing
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
Commit 7b1e1fccb02af234cca44d84bfb045faef9e21c8 by i
[MC] Don't capitalize a floating point diagnostic
The file was modifiedllvm/test/MC/AsmParser/floating-literals.s
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp
Commit 17f2d1cb9b93d336d4187cd14307bef1ab535808 by Louis Dionne
[libc++] Fix QoI bug with construction of std::tuple involving std::any

In std::tuple, we should try to avoid calling std::is_copy_constructible
whenever we can to avoid surprising interactions with (I believe) compiler
builtins. This bug was reported in https://reviews.llvm.org/D96523#2730953.

The issue was that when tuple<_Up...> was the same as tuple<_Tp...>, we
would short-circuit the _Or (because sizeof...(_Tp) != 1) and go evaluate
the following `is_constructible<_Tp, const _Up&>...`. That shouldn't
actually be a problem, but see the analysis in https://reviews.llvm.org/D101770#2736470
for why it is with Clang and GCC.

Instead, after this patch, we check whether the constructed-from tuple
is the same as the current tuple regardless of the number of elements,
since we should always prefer the normal copy constructor in that case
anyway.

Differential Revision: https://reviews.llvm.org/D101770
The file was addedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/cnstr_with_any.compile.pass.cpp
The file was modifiedlibcxx/include/tuple
Commit 6a17609157196878b9cd9aa9ce71bde247ca14db by baptiste.saleil
[AMDGPU] Disable the scalar IR, SDWA and load store vectorizer passes at -O1

This patch disables some of the passes at -O1. These passes have a significant
impact on compilation time, so we only want them to be enabled starting from -O2.

Differential Revision: https://reviews.llvm.org/D101414
The file was addedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Commit da456167f56a604810aaeb89d21d3c7047945566 by Louis Dionne
[libc++] Make sure std::to_address doesn't depend on P::element_type.

Differential Revision: https://reviews.llvm.org/D101638
The file was addedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was addedlibcxx/test/std/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was addedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was modifiedlibcxx/include/iterator
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was modifiedlibcxx/include/__memory/pointer_traits.h
Commit 62fcda93788a93726f7bc7cb5c0699595e009ceb by Dávid Bolvanský
Revert "[InstSimplify] Added tests for PR50173, NFC"

This reverts commit 4e7a4c73dab6605f4fcc7bf09c2ee85e7925f6d7. Not needed, pattern is handled by instcombine already.
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
Commit 7cac6a9d7a1d637bf6a0701ec56c69d2b58fda69 by i
[MC] Add MCAsmParser::parseComma to improve diagnostics

llvm-mc will error "expected comma" instead of "unexpected token".
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/test/MC/ELF/cfi.s
The file was modifiedllvm/include/llvm/MC/MCParser/MCAsmParser.h
The file was modifiedllvm/test/MC/AsmParser/directive_dcb.s
Commit a018bd51998df808b0e4eceb5edea9ba84488864 by baptiste.saleil
[AMDGPU] Fix lit failure introduced by 6a17609157196878b9cd9aa9ce71bde247ca14db
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll
Commit 1f7adf8cb1d77ba35b8fa322c93d0d88a4cdc1f0 by rob.suderman
[mlir][tosa] Fix tosa.concat by inserting linalg.fill after linalg.init

All linalg.init operations must be fed into a linalg operation before
subtensor. The inserted linalg.fill guarantees it executes correctly.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D101848
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
Commit ccebf7a1096a887e29d1f765cf6b27878466d0f4 by flo
[VPlan] Properly handle sinking of replicate regions.

This patch updates the code that sinks recipes required for first-order
recurrences to properly handle replicate-regions. At the moment, the
code would just move the replicate recipe out of its replicate-region,
producing an invalid VPlan.

When sinking a recipe in a replicate-region, we have to sink the whole
region. To do that, we first need to split the block at the target
recipe and move the region in between.

This patch also adds a splitAt helper to VPBasicBlock to split a
VPBasicBlock at a given iterator.

Fixes PR50009.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D100751
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
Commit c1c1df6347bff3167e9aa795b508f56b8fe5fbc1 by riddleriver
[mlir] Fix region successor bug in forward dataflow analysis

We weren't properly visiting region successors when the terminator wasn't return like, which could create incorrect results in the analysis. This revision ensures that we properly visit region successors, to avoid optimistically assuming a value is constant when it isn't.

Differential Revision: https://reviews.llvm.org/D101783
The file was modifiedmlir/test/Transforms/sccp-structured.mlir
The file was modifiedmlir/lib/Analysis/DataFlowAnalysis.cpp
Commit 845c8a60e9f3f6ce9bd8e7d312438f8824fbfdac by baptiste.saleil
[AMDGPU] Add rm line to lit test to cleanup bots
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll
Commit 347f69c55f45acd80070f522bed7417d402f84b0 by Louis Dionne
[libc++] Revert the std::to_address change to avoid relying on element_type.

This reverts commit da456167, which broke the Clang build. I'm able to
reproduce it but I want to give myself a bit more time to investigate.

Differential Revision: https://reviews.llvm.org/D101638
The file was removedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address.pass.cpp
The file was modifiedlibcxx/include/iterator
The file was modifiedlibcxx/include/__memory/pointer_traits.h
The file was removedlibcxx/test/std/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was removedlibcxx/test/libcxx/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address.pass.cpp
Commit 0277a24f4bbac284ba7a2ace7eeefdf6305e7f69 by leonardchan
[clang][test] Update -fc++-abi tests

This attempts to move driver tests out of Frontend and to Driver, separates
RUNs that should fail from RUNs that should succeed, and prevent creating
output files or dumping output.

Differential Revision: https://reviews.llvm.org/D101867
The file was modifiedclang/test/Frontend/invalid-cxx-abi.cpp
The file was addedclang/test/Frontend/valid-cxx-abi.cpp
The file was addedclang/test/Driver/cxx-abi-flag.cpp
Commit 36cec26b38573bccbf6a7ff9f661441276b8f545 by jianzhouzh
[dfsan] move dfsan_flags.h to cc files

D101666 needs this change.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101857
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
Commit 3e2ed7440569d59e073d4799b310255547bd2dd2 by medismail.bennani
[lldb] Refactor argument group by SourceLocationSpec (NFCI)

This patch refactors a good part of the code base turning the usual
FileSpec, Line, Column, CheckInlines, ExactMatch arguments into a
SourceLocationSpec object.

This change is required for a following patch that will add handling of the
column line information when doing symbol resolution.

Differential Revision: https://reviews.llvm.org/D100965

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileLine.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/unittests/Symbol/TestLineEntry.cpp
The file was modifiedlldb/source/Breakpoint/Breakpoint.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileRegex.cpp
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/API/SBThread.cpp
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolver.cpp
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolver.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Symbol/LineTable.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/source/Core/AddressResolverFileLine.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Commit f3b769e82ff3340e96c2e50ac2bd6361fbc3d797 by tlively
[WebAssembly] Add codegen test for wasm_simd128.h

We previously did not have tests demonstrating that the intrinsics in
wasm_simd128.h lower to reasonable LLVM IR. This commit adds such a test.

Differential Revision: https://reviews.llvm.org/D101805
The file was modifiedclang/test/Headers/wasm.c
Commit 956cae2f09b21429dbcb02066c99e35a239aa4bf by georgakoudis1
[OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks

This patch refactors a subset of Clang OpenMP tests, generating checklines using the update_cc_test_checks script. This refactoring facilitates updating the Clang OpenMP code generation codebase by automating test generation.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D101849
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_lastprivate_conditional.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-openmp-array.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/vla_crash.c
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_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_private_codegen.cpp
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_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_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_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/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_firstprivate_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_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-complex-byval.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/ordered_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_map_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
Commit da1cdffbb1b729d221360a76e1c0793992b05dfc by zhuhan7737
[loop-idiom] Hoist loop memcpys to loop preheader

For a simple loop like:
```
struct S {
  int x;
  int y;
  char b;
};

unsigned foo(S* __restrict__ a, S* b, int n) {
  for (int i = 0; i < n; i++)
    a[i] = b[i];

  return sizeof(a[0]);
}
```
We could eliminate the loop and convert it to a large memcpy of 12*n bytes. Currently this is not handled. Output of `opt -loop-idiom -S < memcpy_before.ll`
```
%struct.S = type { i32, i32, i8 }

define dso_local i32 @_Z3fooP1SS0_i(%struct.S* noalias nocapture %a, %struct.S* nocapture readonly %b, i32 %n) local_unnamed_addr {
entry:
  %cmp7 = icmp sgt i32 %n, 0
  br i1 %cmp7, label %for.body.preheader, label %for.cond.cleanup

for.body.preheader:                               ; preds = %entry
  br label %for.body

for.cond.cleanup.loopexit:                        ; preds = %for.body
  br label %for.cond.cleanup

for.cond.cleanup:                                 ; preds = %for.cond.cleanup.loopexit, %entry
  ret i32 12

for.body:                                         ; preds = %for.body, %for.body.preheader
  %i.08 = phi i32 [ %inc, %for.body ], [ 0, %for.body.preheader ]
  %idxprom = zext i32 %i.08 to i64
  %arrayidx = getelementptr inbounds %struct.S, %struct.S* %b, i64 %idxprom
  %arrayidx2 = getelementptr inbounds %struct.S, %struct.S* %a, i64 %idxprom
  %0 = bitcast %struct.S* %arrayidx2 to i8*
  %1 = bitcast %struct.S* %arrayidx to i8*
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 4 dereferenceable(12) %0, i8* nonnull align 4 dereferenceable(12) %1, i64 12, i1 false)
  %inc = add nuw nsw i32 %i.08, 1
  %cmp = icmp slt i32 %inc, %n
  br i1 %cmp, label %for.body, label %for.cond.cleanup.loopexit
}

; Function Attrs: argmemonly nofree nosync nounwind willreturn
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) #0

attributes #0 = { argmemonly nofree nosync nounwind willreturn }

```
The loop idiom pass currently only handles load and store instructions. Since struct S is too big to fit in a register, the loop body contains a memcpy intrinsic.

With this change, re-run `opt -loop-idiom -S < memcpy_before.ll`. The loop memcpy is promoted to loop preheader. For this trivial case, the loop is dead and will be removed by another pass.
```
%struct.S = type { i32, i32, i8 }

define dso_local i32 @_Z3fooP1SS0_i(%struct.S* noalias nocapture %a, %struct.S* nocapture readonly %b, i32 %n) local_unnamed_addr {
entry:
  %a1 = bitcast %struct.S* %a to i8*
  %b2 = bitcast %struct.S* %b to i8*
  %cmp7 = icmp sgt i32 %n, 0
  br i1 %cmp7, label %for.body.preheader, label %for.cond.cleanup

for.body.preheader:                               ; preds = %entry
  %0 = zext i32 %n to i64
  %1 = mul nuw nsw i64 %0, 12
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 4 %a1, i8* align 4 %b2, i64 %1, i1 false)
  br label %for.body

for.cond.cleanup.loopexit:                        ; preds = %for.body
  br label %for.cond.cleanup

for.cond.cleanup:                                 ; preds = %for.cond.cleanup.loopexit, %entry
  ret i32 12

for.body:                                         ; preds = %for.body, %for.body.preheader
  %i.08 = phi i32 [ %inc, %for.body ], [ 0, %for.body.preheader ]
  %idxprom = zext i32 %i.08 to i64
  %arrayidx = getelementptr inbounds %struct.S, %struct.S* %b, i64 %idxprom
  %arrayidx2 = getelementptr inbounds %struct.S, %struct.S* %a, i64 %idxprom
  %2 = bitcast %struct.S* %arrayidx2 to i8*
  %3 = bitcast %struct.S* %arrayidx to i8*
  %inc = add nuw nsw i32 %i.08, 1
  %cmp = icmp slt i32 %inc, %n
  br i1 %cmp, label %for.body, label %for.cond.cleanup.loopexit
}

; Function Attrs: argmemonly nofree nosync nounwind willreturn
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) #0

attributes #0 = { argmemonly nofree nosync nounwind willreturn }
```

Reviewed By: zino

Differential Revision: https://reviews.llvm.org/D97667
The file was modifiedllvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll
The file was addedllvm/test/Transforms/LoopIdiom/memcpy-intrinsic.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was addedllvm/test/Transforms/LoopIdiom/memcpy-intrinsic-different-types.ll
The file was modifiedllvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll
Commit a2c9d4bb04a91c947d17672acbda56fae09173be by ajcbik
[mlir][sparse] Introduce proper sparsification passes

This revision migrates more code from Linalg into the new permanent home of
SparseTensor. It replaces the test passes with proper compiler passes.

NOTE: the actual removal of the last glue and clutter in Linalg will follow

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D101811
The file was addedmlir/test/Dialect/SparseTensor/sparse_lower.mlir
The file was removedmlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
The file was addedmlir/test/Dialect/SparseTensor/sparse_2d.mlir
The file was removedmlir/test/Dialect/Linalg/sparse_vector.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was addedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
The file was addedmlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
The file was addedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was addedmlir/test/Dialect/SparseTensor/conversion.mlir
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was removedmlir/test/Dialect/Linalg/sparse_2d.mlir
The file was addedmlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
The file was addedmlir/test/Dialect/SparseTensor/sparse_invalid.mlir
The file was removedmlir/test/Dialect/Linalg/sparse_parallel.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
The file was addedmlir/test/Dialect/SparseTensor/sparse_1d.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
The file was addedmlir/test/Dialect/SparseTensor/sparse_storage.mlir
The file was removedmlir/test/Dialect/SparseTensor/lowering.mlir
The file was addedmlir/include/mlir/Dialect/SparseTensor/Transforms/CMakeLists.txt
The file was addedmlir/test/Dialect/SparseTensor/sparse_parallel.mlir
The file was addedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
The file was removedmlir/include/mlir/Dialect/SparseTensor/Transforms/Transforms.h
The file was addedmlir/test/Dialect/SparseTensor/sparse_vector.mlir
The file was addedmlir/test/Dialect/SparseTensor/sparse_3d.mlir
The file was addedmlir/test/Dialect/SparseTensor/sparse_nd.mlir
The file was removedmlir/test/lib/Transforms/TestSparsification.cpp
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/CMakeLists.txt
The file was removedmlir/test/Dialect/Linalg/sparse_invalid.mlir
The file was removedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorLowering.cpp
The file was removedmlir/test/Dialect/Linalg/sparse_3d.mlir
The file was removedmlir/test/Dialect/Linalg/sparse_lower.mlir
The file was removedmlir/test/Dialect/Linalg/sparse_storage.mlir
The file was removedmlir/test/Dialect/Linalg/sparse_nd.mlir
The file was removedmlir/test/Dialect/Linalg/sparse_1d.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit f016c06abb1d20a8a9b4a8b33f123852b69371c8 by georgakoudis1
Revert "[OpenMP][NFC] Refactor Clang OpenMP tests using update_cc_test_checks"

This reverts commit 956cae2f09b21429dbcb02066c99e35a239aa4bf.
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_map_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/vla_crash.c
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_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_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-openmp-array.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_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_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_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_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-complex-byval.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_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_private_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_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_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_lastprivate_conditional.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/ordered_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
Commit 96f3a6307670bc6c79c44bf01be507dd8a1af30e by i
[llvm-objcopy] --dump-section: error if '=' is missing or filename is empty

Fix PR45416: the diagnostic when '=' is missing is misleading.
`FileOutputBuffer::create` returns successfully when the filename is empty
(the temporary file is `.tmp%%%%%%%`), but `FileOutputBuffer::commit` will error when
renaming `.tmp%%%%%%%` to the empty name).

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D101697
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/dump-section.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
Commit 30fcdf0b196600001ca77767bd41ceba03f5dd33 by medismail.bennani
[lldb/Symbol] Update SymbolFilePDB unitest with SourceLocationSpec

This patch should fix the windows test failure following `3e2ed7440569`.

It makes use of a `SourceLocationSpec` object  when resolving a symbol
context from `SymbolFilePDB` file.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Commit d5069dace7c254a6c2c878bde465344eb6c0cf56 by medismail.bennani
[lldb/Symbol] Fix typo in SymbolFilePDBTests (NFC)

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Commit 78804e6b20943f218f4b4a1867f600cf4744ffbd by jianzhouzh
[sanitizer_common] Recycle StackDepot memory

This relates to https://reviews.llvm.org/D95835.

In DFSan origin tracking we use StackDepot to record
stack traces and origin traces (like MSan origin tracking).

For at least two reasons, we wanted to control StackDepot's memory cost
1) We may use DFSan origin tracking to monitor programs that run for
   many days. This may eventually use too much memory for StackDepot.
2) DFSan supports flush shadow memory to reduce overhead. After flush,
   all existing IDs in StackDepot are not valid because no one will
   refer to them.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepotbase.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
Commit 1fb612d060e7dc72610b4e83238e5561752fe737 by jianzhouzh
[dfsan] Add a DFSan allocator

This is a part of https://reviews.llvm.org/D101204

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D101666
The file was modifiedcompiler-rt/lib/dfsan/dfsan_thread.cpp
The file was addedcompiler-rt/lib/dfsan/dfsan_allocator.h
The file was modifiedcompiler-rt/lib/dfsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/dfsan/dfsan_flags.inc
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan_thread.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
The file was addedcompiler-rt/lib/dfsan/dfsan_allocator.cpp
Commit bf4e1cf80a15fdf6f08dbb93de385a032fce69fd by jianzhouzh
Revert "[sanitizer_common] Recycle StackDepot memory"

This reverts commit 78804e6b20943f218f4b4a1867f600cf4744ffbd.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepotbase.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stackdepot.h
Commit ade59d530964e28498051ab20e44cbf6594be595 by walter erquinigo
[trace] Dedup different source lines when dumping instructions + refactor

When dumping the traced instructions in a for loop, like this one

  4:  for (int a = 0; a < n; a++)
  5:    do something;

there might be multiple LineEntry objects for line 4, but with different address ranges. This was causing the dump command to dump something like this:

```
  a.out`main + 11 at main.cpp:4
    [1] 0x0000000000400518    movl   $0x0, -0x8(%rbp)
    [2] 0x000000000040051f    jmp    0x400529                  ; <+28> at main.cpp:4
  a.out`main + 28 at main.cpp:4
    [3] 0x0000000000400529    cmpl   $0x3, -0x8(%rbp)
    [4] 0x000000000040052d    jle    0x400521                  ; <+20> at main.cpp:5
```

which is confusing, as main.cpp:4 appears twice consecutively.

This diff fixes that issue by making the line entry comparison strictly about the line, column and file name. Before it was also comparing the address ranges, which we don't need because our output is strictly about what the user sees in the source.

Besides, I've noticed that the logic that traverses instructions and calculates symbols and disassemblies had too much coupling, and made my changes harder to implement, so I decided to decouple it. Now there are two methods for iterating over the instruction of a trace. The existing one does it on raw load addresses, but the one provides a SymbolContext and an InstructionSP, and does the calculations efficiently (not as efficient as possible for now though), so the caller doesn't need to care about these details. I think I'll be using that iterator to reconstruct the call stacks.

I was able to fix a test with this change.

Differential Revision: https://reviews.llvm.org/D100740
The file was modifiedlldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
The file was modifiedlldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h
The file was modifiedlldb/include/lldb/Target/Trace.h
The file was modifiedlldb/test/API/commands/trace/TestTraceStartStop.py
The file was modifiedlldb/include/lldb/Core/AddressRange.h
The file was modifiedlldb/source/Target/Trace.cpp
The file was modifiedlldb/source/Core/AddressRange.cpp
Commit f2018d6c16d118779d35f3705c74a31c1855ca56 by Lang Hames
[ORC] Reintroduce the ORC C API test.

This test was removed in 51495fd285 due to broken bots. Its reintroduction is
expected to trigger failures on some builders. The test has been modified to
print error messages in full, which should aid in tracking these down.
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
The file was addedllvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
Commit 88ec05b654758fecfe7147064dce84a09e2e20a8 by llvmgnsyncbot
[gn build] Port f2018d6c16d1
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn
Commit 9f631d14c638cc473101cd127697d037a33206a1 by serguei.katkov
[GreedyRA] Add support for invoke statepoint with tied-defs.

statepoint instruction uses tied-def registers to represent live gc value which
is use and def at the same time on a call.
At the same time invoke statepoint instruction is a last split point which can throw and
jump to landing pad.
As a result we have instructon which is last split point with tied-defs registers and
we need to teach Greedy RA to work with it.

The option -use-registers-for-gc-values-in-landing-pad controls whether statepoint lowering
will generate tied-defs for invoke statepoint and is off by default now.

To resolve all issues the following changes has been done.
1) Last Split point for invoke statepoint should be statepoint itself

If statepoint has a def it is a relocated gc pointer and it should be available in landing pad.
So we cannot split interval after statepoint at end of basic block.

2) Do not split interval on tied-def

If end of interval for overlap utility is a use which has tied-def we
should not split interval on this instruction due to in this case use
and def may have different registers and it breaks tied-def property.

3) Take into account Last Split Point for enterIntvAtEnd

If the use after Last Split Point is a def so it should be tied-def and
we can take the def of the tied-use as ParentVNI and thus
tied-use and tied-def will be live in resulting interval.

4) Handle the case when def is after LIP in InlineSpiller

If def of LI is after last insertion point of basic block we cannot hoist in this BB.

The example of such instruction is invoke statepoint where def represents the
relocated live gc pointer. Invoke is a last insertion point and its def is located after it.
In this case there is no place to insert spill and we bail out.

5) Fix removeBackCopies to account empty copies

RegAssignMap cannot hold empty interval, so do not set stop
to kill value if it produces empty interval.

This can happen if we remove back-copy and right before that we have another
back-copy.

For example, for parent %0 we can get
%1 = COPY %0
%2 = COPY %0
while we removing %2 we cannot set kill for %1 due to its empty.

6) Do not hoist copy to BB if its def is after LSP

If the parent def is a LastSplitPoint or later we cannot hoist copy to this basic block
because inserted copy (or re-materialization) will be located before the def.

All parts have been reviewed separately as follows:
https://reviews.llvm.org/D100747
https://reviews.llvm.org/D100748
https://reviews.llvm.org/D100750
https://reviews.llvm.org/D100927
https://reviews.llvm.org/D100945
https://reviews.llvm.org/D101028

Reviewers: reames, rnk, void, MatzeB, wmi, qcolombet
Reviewed By: reames, qcolombet
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D101150
The file was addedllvm/test/CodeGen/X86/statepoint-invoke-ra-hoist-copies.mir
The file was modifiedllvm/lib/CodeGen/SplitKit.cpp
The file was addedllvm/test/CodeGen/X86/statepoint-invoke-ra-inline-spiller.mir
The file was addedllvm/test/CodeGen/X86/statepoint-invoke-ra-remove-back-copies.mir
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/test/CodeGen/X86/statepoint-invoke-ra.mir
The file was modifiedllvm/lib/CodeGen/SplitKit.h
The file was addedllvm/test/CodeGen/X86/statepoint-invoke-ra-enter-at-end.mir
Commit f4a2dbfe29031f02c02d6045159f22785dd611cf by gh
[MLIR][SCF] Combine adjacent scf.if with same condition

Differential Revision: https://reviews.llvm.org/D101798
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
Commit 6ffc41b014f304a76f9a7eab39c122e0a9d7fcb8 by zoecarver
[libcxx][ranges] Add `random_access_{iterator,range}`.

Differential Revision: https://reviews.llvm.org/D101316
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/range_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/libcxx/iterators/iterator.concepts/iterator.concept.random.access/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/__ranges/concepts.h
The file was modifiedlibcxx/test/std/containers/associative/multiset/range_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.random.access/random_access_iterator.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/deque/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/__iterator/concepts.h
The file was modifiedlibcxx/test/std/containers/sequences/array/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.iterators/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/re/re.results/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/reverse.iterators/iterator_concept_conformance.compile.pass.cpp
The file was addedlibcxx/test/std/ranges/range.refinements/random_access_range.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/string.iterators/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/include/iterator
The file was modifiedlibcxx/test/std/containers/associative/multiset/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/ranges/range.refinements/subsumption.compile.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.iterators/iterator_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/range_concept_conformance.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/range_concept_conformance.compile.pass.cpp
Commit a71d666d189ed3b176b20c361604c7ec30d25621 by aqjune
[InstCombine] Precommit tests for D101807 (NFC)
The file was modifiedllvm/test/Transforms/InstCombine/select-safe-transforms.ll
Commit 1fef5c88a69e0ede57e3867af72ac769dd11add1 by aqjune
[InstCombine] Fold more select of selects using isImpliedCondition

This is a simple folding that does these:

```
select x_inv, true, (select y, x, false)
=>
select x_inv, true, y
```
https://alive2.llvm.org/ce/z/-STJ2d

```
select (select y, x, false), true, x_inv
=>
select y, true, x_inv
```
https://alive2.llvm.org/ce/z/6ruYt6

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D101807
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select-safe-transforms.ll
Commit 600686d75f552dcecd9ef83aa8d3163c620f4429 by zoecarver
[libcxx][ranges] Add ranges::size CPO.

The begining of [range.prim].

Differential Revision: https://reviews.llvm.org/D101079
The file was modifiedlibcxx/include/ranges
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/ranges/range.access/range.prim/size.pass.cpp
The file was modifiedlibcxx/include/type_traits
The file was addedlibcxx/include/__ranges/size.h
Commit 6f1b10df916f2d538dd56da2d9976169708d2ac3 by zoecarver
[libcxx][ranges] Add ranges::ssize CPO.

Based on D101079.

Differential Revision: https://reviews.llvm.org/D101189
The file was modifiedlibcxx/include/ranges
The file was addedlibcxx/test/std/ranges/range.access/range.prim/ssize.pass.cpp
The file was modifiedlibcxx/include/__ranges/size.h
The file was modifiedlibcxx/test/std/ranges/range.access/range.prim/size.pass.cpp
Commit 3a62d4fde88544125ce9ceff990db108ee91148a by brad
Fix typo, arvm7 -> armv7
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/docs/man/lldb.rst
Commit 72cefd50e552ce4e44f98d44779b326191204143 by llvmgnsyncbot
[gn build] Port 600686d75f55
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 35ecfda01ccd19e1222c065056f68bbd2575e4ac by medismail.bennani
[lldb/Symbol] Fix column breakpoint `move_to_nearest_code` match

This patch fixes the column symbol resolution when creating a breakpoint
with the `move_to_nearest_code` flag set.

In order to achieve this, the patch adds column information handling in
the `LineTable`'s `LineEntry` finder. After experimenting a little, it
turns out the most natural approach in case of an inaccurate column match,
is to move backward and match the previous `LineEntry` rather than going
forward like we do with simple line breakpoints.

The patch also reflows the function to reduce code duplication.

Finally, it updates the `BreakpointResolver` heuristic to align it with
the `LineTable` method.

rdar://73218201

Differential Revision: https://reviews.llvm.org/D101221

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/Makefile
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
The file was modifiedlldb/source/Symbol/LineTable.cpp
The file was removedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.c
The file was addedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/main.cpp
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolver.cpp
Commit 79debe8d7b5897d6c8efaa8cd9846a3b4533d57f by jianzhouzh
[dfsan] Turn off all dfsan test cases on non x86_64 OSs

https://reviews.llvm.org/D101666 enables sanitizer allocator.
This broke all test cases on non x86-64.
The file was modifiedcompiler-rt/test/dfsan/propagate.c
The file was modifiedcompiler-rt/test/dfsan/trace-cmp.c
The file was modifiedcompiler-rt/test/dfsan/fncall.c
The file was modifiedcompiler-rt/test/dfsan/dump_labels.c
The file was modifiedcompiler-rt/test/dfsan/event_callbacks.c
The file was modifiedcompiler-rt/test/dfsan/vararg.c
The file was modifiedcompiler-rt/test/dfsan/interceptors.c
The file was modifiedcompiler-rt/test/dfsan/flush.c
The file was modifiedcompiler-rt/test/dfsan/release_shadow_space.c
The file was modifiedcompiler-rt/test/dfsan/sigaction.c
The file was modifiedcompiler-rt/test/dfsan/fast16labels.c
The file was modifiedcompiler-rt/test/dfsan/basic.c
The file was modifiedcompiler-rt/test/dfsan/flags.c
The file was modifiedcompiler-rt/test/dfsan/struct.c
The file was modifiedcompiler-rt/test/dfsan/label_count.c
The file was modifiedcompiler-rt/test/dfsan/pair.cpp
The file was modifiedcompiler-rt/test/dfsan/threaded_flush.c
The file was modifiedcompiler-rt/test/dfsan/write_callback.c
Commit 9775582e347c08f79f84748d143eb8c2e4258afb by medismail.bennani
[lldb/Test] Disable testBreakpointByLineAndColumnNearestCode on Windows

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py

Summary

  1. Revert "Support compatibility with buildbot 2.10." (details)
  2. Added "auto" for LLVMBuildFactory enable_runtimes arg; changed default to not use enable_runtimes. (details)
Commit 93900f5122cc7087aa934424b1aa6339952a20c0 by gkistanova
Revert "Support compatibility with buildbot 2.10."

Temporarily revert commit 3f44862c69dd1766b51ea408d2cba6ec5c76c30a, as we are still with 2.8.4 in the production.

Will be re-applied after migration to 2.10 or later.
The file was modifiedzorg/buildbot/commands/LitTestCommand.py
Commit f7b888457641941a8e6024f36ee2e5ddc53695d5 by gkistanova
Added "auto" for LLVMBuildFactory enable_runtimes arg; changed default to not use enable_runtimes.
The file was modifiedzorg/buildbot/process/factory.py