Changes

Summary

  1. [sanitizers] Remove unset variables (details)
  2. [zorg] Reduce # targets built on Linaro flang bots (details)
  3. [zorg] Hotfix for PPC64le MLIR build issue (details)
  4. Move QEMU LAM sanitizer images to env-defined folder. (details)
Commit 25f8c0b73518a6e4a0a98318f292f69a7a573684 by Vitaly Buka
[sanitizers] Remove unset variables

It looks nothing else uses them.

Differential Revision: https://reviews.llvm.org/D104875
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh (diff)
The file was modifiedzorg/buildbot/commands/AnnotatedCommand.py (diff)
Commit 0c8527b324c43b5fd89b12dca2d080bbe6731fea by diana.picus
[zorg] Reduce # targets built on Linaro flang bots

The flang bots are only running check-flang and are not really
exercising the backend in any way. At the moment most of them
are taking about 1h to run, and we should be able to reduce that
a bit by disabling targets other than the host (AArch64) on them.

Differential Revision: https://reviews.llvm.org/D105012
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 5a4757532b3e92a287cce159739e36717b7ab682 by unknown
[zorg] Hotfix for PPC64le MLIR build issue

The public builder for MLIR on Power currently has an
issue choosing the correct libc. This patch provides
a environment variable to guide CMake to the correct
one.

Differential Revision: https://reviews.llvm.org/D105144
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 1d858a5f4de4ce3d1db328b7b2ad40d96353a06b by 31459023+hctim
Move QEMU LAM sanitizer images to env-defined folder.

Also add some nice debug info as to how to build the images yourself.
This also makes the bot selector define the build dir and the QEMU image
dir, rather than these being hardcoded on the script side (which non-bot
users will want to execute to repro the bot).
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_selector.py (diff)
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)

Summary

  1. [X86] Zero some outputs of Kelocker intrinsics in error case (details)
  2. [llvm-objcopy][MachO] Minor code cleanup (details)
  3. Revert "[Clang] Add option to handle behaviour of vector bool/vector pixel." (details)
  4. [libc][Obvious] Fix typo in implementation of aarch64 clearExcept. (details)
  5. Revert "[mlir] Skip scalar operands when tiling to linalg.tiled_loop." (details)
  6. [mlir][linalg] All StructuredOp parameters are inputs or outputs. (details)
  7. [X86] Add -mgeneral-regs-only support. (details)
  8. [NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable (details)
  9. Revert "[llvm-objcopy][MachO] Minor code cleanup" (details)
  10. [DebugInfo] Bug 41152 - Improve dumping of empty location expressions (details)
  11. [BasicAA] Be more careful with modulo ops on VariableGEPIndex. (details)
  12. [flang] Add runtime interface for SYSTEM_CLOCK (details)
  13. PR50767: clear non-distinct debuginfo for function with nodebug definition after undecorated declaration (details)
  14. [X86] Add a test to reveal a bug in CMOV conversion. (details)
  15. [lldb/Interpreter] Add setting to set session transcript save directory (details)
  16. [lldb/Interpreter] Fix session-save-on-quit when using ^D (details)
  17. [OpenCL] Fix qualifiers check on binding references to temporaries (details)
  18. [analyzer] Implement getType for SVal (details)
  19. [gn build] Port 159024ce2315 (details)
  20. [gn build] Port 9b02a9b40150 (details)
  21. [analyzer] Fix SValTest for LocAsInt test (details)
  22. [ARM] Fold extract of ARM_BUILD_VECTOR (details)
  23. [mlir-reduce] Add doc for usage of mlir-reduce (details)
  24. [NFC][InstCombine] foldAggregateConstructionIntoAggregateReuse(): cast to Instruction eagerly (details)
  25. [mlir] Add MemoryEffects::Allocate to memref::CloneOp (details)
  26. [LoopVectorize] Add support for scalable vectorization of invariant stores (details)
  27. Revert "[hwasan] print exact mismatch offset for short granules." (details)
  28. [hwasan] Display causes in order of probability. (details)
  29. [InstCombine]Add a test for reductions after shuffles, NFC. (details)
  30. [LV] Fix crash when target instruction for sinking is dead. (details)
  31. [mlir] Remove SDBM (details)
  32. [mlir] Add support for LLVM's dso_local attr (details)
  33. Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable" (details)
  34. [SCCP] Add tests with urem/srem with 2 constant operands. (details)
  35. ARM: fix vacuously true assertion to actually check what it should. NFC. (details)
  36. [lld/mac] Make symbol table order deterministic (details)
  37. [mlir][Linalg] NFC - Drop AliasInfo::existsNonDominatingRead (details)
  38. [NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable (details)
  39. [X86] Add cmov i33 sgt test case (details)
  40. [AVR] Fix a bug in prologue of ISR (details)
  41. [DebugInstrRef][3/3] Follow DBG_PHI instructions through LiveDebugValues (details)
  42. [SVE] Added CodeGen support for inserting an element into a predicate vector (details)
  43. Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable" (details)
  44. [analyzer] Make CheckerManager::hasPathSensitiveCheckers() complete again (details)
  45. [InstCombine] Gracefully handle an alloca outside the alloca-AS (details)
  46. [Attributor][NFC] Clang format (details)
  47. [Attributor] Teach AAPotentialValues about constant select conditions (details)
  48. [Attributor][NFCI] Remove unneeded namespace (details)
  49. [Attributor][NFCI] Make the state of AAValueSimplify explicit (details)
  50. Revert "[omp] Fix build without ITT after D103121 changes" (details)
  51. Revert "[OpenMP] Add Two-level Distributed Barrier" (details)
  52. [mlir] silence -Wunused-variable in Linalg comprehensive bufferize (details)
  53. Catch an extremely obvious memory leak, thanks asan (details)
  54. [libc++] NFCI: Remove code duplication and obsolete declarations in wrap_iter (details)
  55. [libc++] Serialize Lit parameters to make them available to from-scratch configs (details)
  56. Print default template argument if manually specified in typedef declaration. (details)
  57. [LV] Fix bug when unrolling (only) a loop with non-latch exit (details)
  58. [SCCP] Extend tests added 1092357ccdc9 in with UREM/SREM by 0. (details)
  59. [perf] Fix a data race in the PerfJITEventListener (details)
  60. [libc++] NFCI: Remove __functional/search.h (details)
  61. [gn build] Port d03aa7d6b66f (details)
  62. [ARM] Extra test for gep immediate costs. NFC (details)
  63. [AMDGPU] Fix 224-bit spills (details)
  64. [llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers (details)
  65. [llvm-objdump] Add --no-print-imm-hex to the command guide (details)
  66. [mlir:Async] Remove async operations if it is statically known that the parallel operation has a single compute block (details)
  67. [mlir:Async] Convert AsyncParallelFor pass to ModuleOp pass (details)
  68. [mlir:Async] Fix a bug in automatic refence counting around function calls (details)
  69. [libc++] Update ABI docs. NFCI. (details)
  70. [RISCV] Protect the SHL/SRA/SRL handlers in LowerOperation against being called for an illegal i32 shift amount. (details)
  71. [lldb] Skip TestPairFromStdModule for now (details)
  72. [Flang][test] Fix Windows buildbot after D104930. (details)
  73. [INSTCOMBINE] Transform reduction(shuffle V, poison, unique_mask) to reduction(V). (details)
  74. [ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if (details)
  75. [clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options (details)
  76. [Inline] prevent inlining on noprofile mismatch (details)
  77. [libc++] NFC: Fix return-by-const-value and pass-by-const-value typos (details)
  78. [lldb] Check for the mangled symbol name for objc_copyRealizedClassList_nolock (details)
  79. [LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization. (details)
  80. [OpaquePtr] Support forward references in textual IR (details)
  81. [NFC] clang-format on InlineCost.cpp and InlineAdvisor.h. (details)
  82. [llvm-objcopy][MachO] Support ARM64_RELOC_ADDEND (details)
  83. [SanitizerCoverage] Fix global type check with opaque pointers (details)
  84. [test] Change -t to --syms and -s to -S for llvm-readobj RUN lines (details)
  85. [NFC][compiler-rt][hwasan] Move GetCurrentThread to hwasan.cpp (details)
  86. [llvm-readobj] Make -s and -t match llvm-readelf (details)
  87. [NFC][compiler-rt][hwasan] Re-use ring buffer size calculation (details)
  88. [Clang] Add option to handle behaviour of vector bool/vector pixel. (details)
  89. [mlir][Linalg] Add a ComprehensiveModuleBufferizePass and support for CallOp analysis(9/n) (details)
  90. [mlir:Async] Add an async reference counting pass based on the user defined policy (details)
  91. [mlir:Async] Change async-parallel-for block size/count calculation (details)
  92. Revert D104488 and friends since it broke the windows bot (details)
  93. [mlir] Generare .cpp.inc files for dialects. (details)
  94. [dfsan] Expose dfsan_get_track_origins to get origin tracking status (details)
  95. [lldb] Fix globals-bss.cpp which was broken in https://reviews.llvm.org/D105055 (details)
  96. [libc] Allow target architecture independent configs (details)
  97. [libomptarget] [amdgpu] Fix default setting of max flat workgroup size (details)
  98. [lldb] Fix debug_loc.s which was broken after https://reviews.llvm.org/D103502 (details)
  99. [llvm-objcopy][MachO] Code cleanup (details)
  100. OpaquePtr: Support i32** with --force-opaque-pointers (details)
  101. [CodeGen] Stop creating fake FunctionDecls when generating IR for (details)
  102. Revert "GlobalISel: Use MMO helper for getting the size in bits" (details)
  103. CodeGen: Store LLT instead of uint64_t in MachineMemOperand (details)
  104. [Test] Regenerate test checks (NFC) (details)
  105. [OpaquePtr][BitcodeWriter] Handle attributes with types (details)
  106. Thread safety analysis: Always warn when dropping locks on back edges (details)
  107. Thread safety analysis: Rename parameters of ThreadSafetyAnalyzer::intersectAndWarn (NFC) (details)
  108. Change PathMappingList::FindFile to return an optional result (NFC) (details)
  109. Express PathMappingList::FindFile() in terms of PathMappingList::RemapPath() (details)
  110. Modernize Module::RemapFile to return an Optional (NFC) (details)
  111. Improve path remapping in cross-debugging scenarios (details)
  112. [libomptarget] [amdgpu] Change default number of teams per computation unit (details)
  113. [Clang][NVPTX] Add NVPTX intrinsics and builtins for CUDA PTX 6.5 and 7.0 WMMA and MMA instructions (details)
  114. Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot" (details)
  115. [CodeGen] Add ParmVarDecls to FunctionDecls that are created to generate (details)
  116. Conditionalize function only used in an assert to address -Wunused-function (details)
  117. [Test] delete LPM RUNs in inline_nossp.ll (details)
  118. Create synthetic symbol names on demand to improve memory consumption and startup times. (details)
  119. Fix buildbot compile error for https://reviews.llvm.org/D105160. (details)
  120. [llvm-objcopy][MachO] Support LC_LINKER_OPTIMIZATION_HINT load command (details)
  121. [Coroutine] Add statistics for the number of elided coroutine (details)
  122. [FuncSpec] Add an option to specializing literal constant (details)
  123. [AMDGPU] Update gfx90a memory model support (details)
  124. Fix test pass registration to use the new API / not use the deprecated one (NFC) (details)
  125. [PowerPC][AIX] Pre-commit tracetable test for D100167. NFC. (details)
Commit 6d234a6908646cbdefcbbb4c0ea1ff2cf4a5482f by xiang1.zhang
[X86] Zero some outputs of Kelocker intrinsics in error case

Reviewed By: WangPengfei

Differential Revision: https://reviews.llvm.org/D104766
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Headers/keylockerintrin.h
The file was modifiedclang/test/CodeGen/X86/keylocker.c
Commit c94cf97b53566a26245c54ea0c41b0dc83daf8a0 by alexshap
[llvm-objcopy][MachO] Minor code cleanup

Remove unnecessary template in MachOReader.cpp. NFC.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
Commit e1b8fde1cbfc031d67d9b316f1b4ac3ab9c8801f by dblaikie
Revert "[Clang] Add option to handle behaviour of vector bool/vector pixel."

This reverts commit c3fe847f9d90de5a6a76fd1d5f5823ab4719accc.

Tests fail in non-asserts builds because they assume named IR, by the
looks of it (testing for the "entry" label, for instance). I don't know
enough about the update_cc_test_checks.py stuff to know how to manually
fix these tests, so reverting for now.
The file was removedclang/test/CodeGen/vector-compat-pixel-bool.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was removedclang/test/CodeGen/vector-compat-ternary.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was removedclang/test/CodeGen/vector-compat-pixel-bool-ternary.c
The file was removedclang/test/CodeGen/vector-compat.c
The file was modifiedclang/include/clang/Driver/Options.td
Commit 487f74a6c4151d13d3a7b54ee4ab7beaf3e87487 by sivachandra
[libc][Obvious] Fix typo in implementation of aarch64 clearExcept.

Instead of reading and updating the status word, control word was being
updated.
The file was modifiedlibc/utils/FPUtil/aarch64/FEnv.h
Commit d15663710c91204e5987279c517a10f653efa2d9 by pifon
Revert "[mlir] Skip scalar operands when tiling to linalg.tiled_loop."

This reverts commit 69046b4a79e2670053362112aa467f89faf9e53e. It did not
really break anything, but it was decided to allow scalars and other
non-shaped operands for tiled_loop.
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
Commit a2a4bc561ddf61bd5104674072c79fede3380ab1 by gysit
[mlir][linalg] All StructuredOp parameters are inputs or outputs.

Adapt the StructuredOp verifier to ensure all operands are either in the input or the output group. The change is possible after adding support for scalar input operands (https://reviews.llvm.org/D104220).

Differential Revision: https://reviews.llvm.org/D104783
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
Commit d8faf03807ac059f669ddea8742dd540e58e45be by tianqing.wang
[X86] Add -mgeneral-regs-only support.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D103943
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was addedclang/test/Driver/x86-mgeneral-regs-only.c
The file was addedclang/test/CodeGen/attr-target-general-regs-only-x86.c
Commit dcfc2c3fac980b137415c17f2f19c06c3e2bd7fb by david.sherwood
[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable

Avoid creating a IRBuilder stack variable with the same name as the
class member.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 6229369e5089b295203424a077c60a7449aab803 by alexshap
Revert "[llvm-objcopy][MachO] Minor code cleanup"

This reverts commit c94cf97b53566a26245c54ea0c41b0dc83daf8a0
since it appears to have broken linaro-clang-armv7-quick build bot
and needs further investigation.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
Commit 51d969dc27a80704038b653537fc12a31f4c31f0 by james.henderson
[DebugInfo] Bug 41152 - Improve dumping of empty location expressions

Fixes PR41152 (https://bugs.llvm.org/show_bug.cgi?id=41152).

Reviewed by: jhenderson, dblaikie, SouraVX

Differential Revision: https://reviews.llvm.org/D103502
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
The file was modifiedllvm/test/MC/X86/dwarf-size-field-overflow.test
The file was addedllvm/test/DebugInfo/X86/dwarf-empty-expression.s
Commit 91fa3565da16f77e07270e5323874abc22661cb0 by flo
[BasicAA] Be more careful with modulo ops on VariableGEPIndex.

(V * Scale) % X may not produce the same result for any possible value
of V, e.g. if the multiplication overflows. This means we currently
incorrectly determine NoAlias in some cases.

This patch updates LinearExpression to track whether the expression
has NSW and uses that to adjust the scale used for alias checks.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D99424
The file was modifiedllvm/include/llvm/Analysis/BasicAliasAnalysis.h
The file was modifiedllvm/test/Analysis/BasicAA/gep-modulo.ll
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit b8bac6b33c576dec88add0e6a68e96219e278c8a by diana.picus
[flang] Add runtime interface for SYSTEM_CLOCK

SYSTEM_CLOCK may take up to 3 optional parameters, all of which are
INTENT(OUT). The COUNT and COUNT_MAX parameters are integer scalars,
while COUNT_RATE may be a real or integer scalar.

This patch breaks up the interface into 3 different functions, one for
each parameter. All 3 return integers. It is up to lowering to convert
the results to the preferred type.

Differential Revision: https://reviews.llvm.org/D104851
The file was modifiedflang/runtime/time-intrinsic.h
Commit 4d8871a898b30f11c905b27954c18d826c0953c9 by jeroen.dobbelaere
PR50767: clear non-distinct debuginfo for function with nodebug definition after undecorated declaration

Fix suggested by Yuanfang Chen:

Non-distinct debuginfo is attached to the function due to the undecorated declaration. Later, when seeing the function definition and `nodebug` attribute, the non-distinct debuginfo should be cleared.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D104777
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was addedclang/test/CodeGen/attr-nodebug2.c
Commit 6178ddcd2b70e6a187e1960f00f5985c390a80a0 by tianqing.wang
[X86] Add a test to reveal a bug in CMOV conversion.

CMOV conversion first rewrites all CMOVs with memory load to branches.
Then runs a second pass to convert other CMOVs in loops if profitable.
But the first pass doesn't add new basic blocks to MachineLoopInfo,
CMOVs in these blocks are ignored in the subsequent pass.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D104692
The file was modifiedllvm/test/CodeGen/X86/x86-cmov-converter.ll
Commit fe1874dd2dd99c9811db515a2957e2a42f9f6868 by medismail.bennani
[lldb/Interpreter] Add setting to set session transcript save directory

This patch introduces a new interpreter setting
`interpreter.save-session-directory` so the user can specify a directory
where the session transcripts will be saved.

If not set, the session transcript are saved on a temporary file.

rdar://72902842

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/commands/session/save/TestSessionSave.py
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Interpreter/InterpreterProperties.td
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
Commit d6b64612bd92cda8b53ef348fb578983124c600f by medismail.bennani
[lldb/Interpreter] Fix session-save-on-quit when using ^D

Previously, when `interpreter.save-session-on-quit` was enabled, lldb
would save the session transcript only when running the `quit` command.

This patch changes that so the transcripts are saved when the debugger
object is destroyed if the setting is enabled.

rdar://72902650

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/API/commands/session/save/TestSessionSave.py
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Commands/CommandObjectQuit.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
Commit 78d309ce197c30593450e792b0c2dc7a575f0050 by olemarius.strohm
[OpenCL] Fix qualifiers check on binding references to temporaries

Fix the qualifiers check from PR49733.

Fixes: PR49733

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D103962
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit 159024ce231502d4d68825c35c3548a14577f0fd by vsavchenko
[analyzer] Implement getType for SVal

This commit adds a function to the top-class of SVal hierarchy to
provide type information about the value.  That can be extremely
useful when this is the only piece of information that the user is
actually caring about.

Additionally, this commit introduces a testing framework for writing
unit-tests for symbolic values.

Differential Revision: https://reviews.llvm.org/D104550
The file was addedclang/unittests/StaticAnalyzer/SValTest.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
The file was modifiedclang/lib/StaticAnalyzer/Core/SVals.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
The file was modifiedclang/unittests/StaticAnalyzer/CMakeLists.txt
Commit fc6a5d85ea2e18886f352f1ac5f9399ddeede336 by llvmgnsyncbot
[gn build] Port 159024ce2315
The file was modifiedllvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Commit c76fe67a7be02c7a44fb8cb64586cc4417321190 by llvmgnsyncbot
[gn build] Port 9b02a9b40150
The file was modifiedllvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Commit b2842298cebf420ecb3750bf309021a7f37870c1 by vsavchenko
[analyzer] Fix SValTest for LocAsInt test
The file was modifiedclang/unittests/StaticAnalyzer/SValTest.cpp
Commit 371ee32e01a788a6dfc62cb7b10a94b80fe28425 by david.green
[ARM] Fold extract of ARM_BUILD_VECTOR

This adds a small fold for extract (ARM_BUILD_VECTOR) to fold to the
original node. This can help simplify the resulting codegen in some
cases.

Differential Revision: https://reviews.llvm.org/D104860
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/test/CodeGen/ARM/big-endian-vector-callee.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld3.ll
The file was modifiedllvm/test/CodeGen/ARM/big-endian-vector-caller.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmull-splat.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst3.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-soft-float-abi.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shuffle.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
Commit 7dec20dbb6ae4a095e586c94eca59008506b5de5 by chiahungduan
[mlir-reduce] Add doc for usage of mlir-reduce

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D103683
The file was addedmlir/docs/Tools/mlir-reduce.md
Commit 6cf6f6f65fde9638a2ca64cd8013d0d0ab1d473c by lebedev.ri
[NFC][InstCombine] foldAggregateConstructionIntoAggregateReuse(): cast to Instruction eagerly

In all of these, the value must be an instruction for us to succeed anyway,
so change it to maybe hopefully make further changes more straight-forward.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit 293064222a013055cda9240647110f5bcf8e1f31 by ivan.butygin
[mlir] Add MemoryEffects::Allocate to memref::CloneOp

Without it BufferDeallocationPass process only CloneOps created during pass itself and ignore all CloneOps that were already present in IR.

For our specific usecase:

```
func @dealloc_existing_clones(%arg0: memref<?x?xf64>, %arg1: memref<?x?xf64>) -> memref<?x?xf64> {
  return %arg0 : memref<?x?xf64>
}
```

Input arguments will be freed immediately after return from function and we want to prolong lifetime for the returned argument.
To achieve this we explicitly add clones to all input memrefs and expect that BufferDeallocationPass will add correct deallocs to them (unnessesary clone+dealloc pairs will be canonicalized away later).

Differential Revision: https://reviews.llvm.org/D104973
The file was modifiedmlir/test/Transforms/buffer-deallocation.mlir
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
Commit 303b6d5e981947cff7e12626669c1fbeef046f18 by david.sherwood
[LoopVectorize] Add support for scalable vectorization of invariant stores

Previously in setCostBasedWideningDecision if we encountered an
invariant store we just assumed that we could scalarize the store
and called getUniformMemOpCost to get the associated cost.
However, for scalable vectors this is not an option because it is
not currently possibly to scalarize the store. At the moment we
crash in VPReplicateRecipe::execute when trying to scalarize the
store.

Therefore, I have changed setCostBasedWideningDecision so that if
we are storing a scalable vector out to a uniform address and the
target supports scatter instructions, then we should use those
instead.

Tests have been added here:

  Transforms/LoopVectorize/AArch64/sve-inv-store.ll

Differential Revision: https://reviews.llvm.org/D104624
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/AArch64/sve-inv-store.ll
Commit 400509238a0ff71f62fbf3a5d0cb576bc163b4b8 by fmayer
Revert "[hwasan] print exact mismatch offset for short granules."

Broke x86 LAM bot.

This reverts commit 2a60ab76a796637d49bf1c7191f5b5a0c92f81bc.
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow-into.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow.c
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/mem-intrinsics.c
Commit b458bb8c04cd5ed025884d424f386a00c9c6857e by fmayer
[hwasan] Display causes in order of probability.

A heap or global buffer that is far away from the faulting address is
unlikely to be the cause, especially if there is a potential
use-after-free as well, so we want to show it after the other
causes.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D104781
The file was addedcompiler-rt/test/hwasan/TestCases/use-after-free-and-overflow.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/global.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-free.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/thread-uaf.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/stack-oob.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/heap-buffer-overflow.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/stack-uar.c
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit 2098c5dfbd621f5d51eba90810da083c1eb407fc by a.bataev
[InstCombine]Add a test for reductions after shuffles, NFC.
The file was addedllvm/test/Transforms/InstCombine/reduction-shufflevector.ll
Commit 47215e1c6250298aa9db59b3b06f832fcd23be01 by flo
[LV] Fix crash when target instruction for sinking is dead.

This patch fixes a crash when the target instruction for sinking is
dead. In that case, no recipe is created and trying to get the recipe
for it results in a crash. To ensure all sink targets are alive, find &
use the first previous alive instruction.

Note that the case where the sink source is dead is already handled.

Found by
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35320

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D104603
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
Commit 355216380b9c11e5d7a16ac20619cf16b1c0151c by zinenko
[mlir] Remove SDBM

This data structure and algorithm collection is no longer in use.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D105102
The file was removedmlir/lib/Dialect/SDBM/CMakeLists.txt
The file was removedmlir/test/SDBM/CMakeLists.txt
The file was removedmlir/test/SDBM/lit.local.cfg
The file was modifiedmlir/unittests/CMakeLists.txt
The file was removedmlir/lib/Dialect/SDBM/SDBM.cpp
The file was removedmlir/lib/Dialect/SDBM/SDBMExprDetail.h
The file was modifiedmlir/test/CMakeLists.txt
The file was removedmlir/include/mlir/Dialect/SDBM/SDBMDialect.h
The file was removedmlir/include/mlir/Dialect/SDBM/SDBM.h
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was removedmlir/test/SDBM/sdbm-api-test.cpp
The file was removedmlir/unittests/SDBM/CMakeLists.txt
The file was removedmlir/lib/Dialect/SDBM/SDBMDialect.cpp
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was removedmlir/unittests/SDBM/SDBMTest.cpp
The file was removedmlir/lib/Dialect/SDBM/SDBMExpr.cpp
The file was removedmlir/include/mlir/Dialect/SDBM/SDBMExpr.h
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was modifiedmlir/test/lit.cfg.py
Commit 8ca04b05133b9fc1b891585e9dfd6e30790998ba by zinenko
[mlir] Add support for LLVM's dso_local attr

This patch brings support for setting runtime preemption specifiers of
LLVM's GlobalValues. In LLVM semantics, if the `dso_local` attribute
is not explicitly requested, then it is inferred based on linkage and
visibility. We model this same behavior with a UnitAttribute: if it is
present, then we explicitly request the GlobalValue to marked as
`dso_local`, otherwise we rely on the GlobalValue itself to make this
decision.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D104983
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/test/Target/LLVMIR/llvmir.mlir
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit 8a3365fba2e9f4489780c9c9a6c356748b72e8c1 by david.sherwood
Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable"

This reverts commit dcfc2c3fac980b137415c17f2f19c06c3e2bd7fb.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 1092357ccdc9b12e1b129bf34819d16dbe14532f by flo
[SCCP] Add tests with urem/srem with 2 constant operands.

Reduced test case for PR49731.
The file was modifiedllvm/test/Transforms/SCCP/binaryops-range-special-cases.ll
Commit c82957e79236f9f5ef2598ab86138d43fd987932 by Tim Northover
ARM: fix vacuously true assertion to actually check what it should. NFC.
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
Commit aed0a08c69cfb274a1e005e3bd9865ac15c2dfb7 by thakis
[lld/mac] Make symbol table order deterministic

SymtabSection::emitStabs() writes the symbol table in the order
of externalSymbols, which has the order of symtab->getSymbols(),
which is just the order symbols are added to the symbol table.

In practice, symbols in the symbol files of input .o files are
sorted, but since that's not guaranteed we sort them in
ObjFile::parseSymbols(). To make sure several symbols with the same
address keep the order they're in the input file, we have to use
stable_sort().

In practice, std::sort() on already-sorted inputs won't change the order
of just adjacent elements, and while in theory std::sort() could use a
random pivot, in practice the code should be deterministic as it was
previously too.

But now lld/test/MachO/stabs.s passes with LLVM_ENABLE_EXPENSIVE_CHECKS=ON
(the last test that was failing with that set).

Fixes a regression from D99972.

While here, remove an empty section in stabs.s and move
.subsections_via_symbols to the end where it usually is (this part no
behavior change).

Differential Revision: https://reviews.llvm.org/D105071
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/test/MachO/stabs.s
Commit b661d9f9c35e5d5689ec20b825de203c08404c9a by nicolas.vasilache
[mlir][Linalg] NFC - Drop AliasInfo::existsNonDominatingRead

The case where a non-dominating read can be found is captured by slightly generalizing `AliasInfo::wouldCreaateReadAfterWriteInterference`.

This simplification will make it easier to implement bufferization across function call.

APIs are also simplified were possible.

Differential revision: https://reviews.llvm.org/D104845
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit 9dde51416209a5552156384b9c2b08b676818d70 by david.sherwood
[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable

Avoid creating a IRBuilder stack variable with the same name as the
class member.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit f0d6c9156b129597f2215b4123ebaae8a3eb57a3 by llvm-dev
[X86] Add cmov i33 sgt test case

Suggested on D101074 - add a 'icmp sgt i64 %0, -2147483649' comparison that can fold to 'icmp sge i64 %0, -2147483648' on D101074 allowing i32 immediate folding
The file was modifiedllvm/test/CodeGen/X86/cmov.ll
Commit c85175c5f6a96e44b3b343fa7b26d66bbc0b4973 by powerman1st
[AVR] Fix a bug in prologue of ISR

The r1 register should be cleared in prologue of ISR as it is used
as constant zero.

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D99467
The file was modifiedllvm/test/CodeGen/AVR/interrupts.ll
The file was modifiedllvm/lib/Target/AVR/AVRFrameLowering.cpp
Commit 010108bb2c88511f7bb4f432b9c365e6aef81468 by jeremy.morse
[DebugInstrRef][3/3] Follow DBG_PHI instructions through LiveDebugValues

This patch reads machine value numbers from DBG_PHI instructions (marking
where SSA PHIs used to be), and matches them up with DBG_INSTR_REF
instructions that refer to them. Essentially they are two separate parts of
a DBG_VALUE: the place to read the value (register and program position),
and where the variable is assigned that value.

Sometimes these DBG_PHIs can be duplicated, usually by tail duplication.
This corresponds to the SSA structure of the program being destroyed, and
the original PHI being split. When this happens: run LLVMs standard
SSAUpdater utility, to work out what values should appear in which blocks.
The majority of this patch is boilerplate to make use of SSAUpdater.

If there are any additional PHIs on the path between multiple DBG_PHIs and
their using DBG_INSTR_REF, their existance is validated, just in case a
value gets clobbered along the way (see dbg-phis-with-loops.mir for
several examples).

Differential Revision: https://reviews.llvm.org/D86814
The file was addedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-merging-in-ldv.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
The file was addedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-with-loops.mir
The file was addedllvm/test/DebugInfo/MIR/InstrRef/dbg-phis-in-ldv.mir
Commit c3d3defd11a73d86f2ec0a5e1d8af36c5486be49 by Dylan.Fleming
[SVE] Added CodeGen support for inserting an element into a predicate vector

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D104722
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-element.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 9de63367d8a7ab9e2588de4eae5a5df6a1abd90f by david.sherwood
Revert "[NFC] Remove shadowed variable in InnerLoopVectorizer::createInductionVariable"

This reverts commit 9dde51416209a5552156384b9c2b08b676818d70.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 3dae01911b6902f00e80eb7ebdc2f55bb28f173e by balazs.benics
[analyzer] Make CheckerManager::hasPathSensitiveCheckers() complete again

It turns out that the CheckerManager::hasPathSensitiveCheckers() missed
checking for the BeginFunctionCheckers.
It seems like other callbacks are also missing:
- ObjCMessageNilCheckers
- BeginFunctionCheckers
- NewAllocatorCheckers
- PointerEscapeCheckers
- EndOfTranslationUnitCheckers

In this patch, I wanted to use a fold-expression, but until C++17
arrives we are left with the old-school method.

When I tried to write a unittest I observed an interesting behavior. I
subscribed only to the BeginFunction event, it was not fired.
However, when I also defined the PreCall with an empty handler, suddenly
both fired.
I could add this test demonstrating the issue, but I don't think it
would serve much value in a long run. I don't expect regressions for
this.

However, I think it would be great to enforce the completeness of this
list in a runtime check.
I could not come up with a solution for this though.

PS: Thank you @Szelethus for helping me debugging this.

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

Reviewed by: vsavchenko
The file was modifiedclang/lib/StaticAnalyzer/Core/CheckerManager.cpp
Commit a33e12801279a947c74fdee2655b24480941fb39 by johannes
[InstCombine] Gracefully handle an alloca outside the alloca-AS

While we might eventually want to disallow allocas that do not have the
alloca-AS set, it seems undesirable to crash on them. Add a cast when
required so that we can support such allocas (at least here).

Differential Revision: https://reviews.llvm.org/D104866
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was addedllvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll
Commit 8dc9bb6d85ac04a07bab1a3309702c7bf7944e1e by johannes
[Attributor][NFC] Clang format
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 457bd5c8d52a110fac43d538a03e30ef49099974 by johannes
[Attributor] Teach AAPotentialValues about constant select conditions

There was a TODO but now we actually check if the select condition is
assumed constant and only look at the relevant operand.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
Commit dcbe58d94c843e443113bff5f60fbcccc4168714 by johannes
[Attributor][NFCI] Remove unneeded namespace
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 7af91a2b8f06cfa603eff1514c8ee38bdf1811f1 by johannes
[Attributor][NFCI] Make the state of AAValueSimplify explicit

As we have done with other states we want the AAValueSimplify state to
be explicit to use it more easily in our helpers.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit bc8bb3df35223afeea62170b32f8ce9bd04255d4 by johannes
Revert "[omp] Fix build without ITT after D103121 changes"

This reverts commit eab1fd389b61d236bf8df4d09f62dd18253a10bc.

This commit fixed a problem with 25073a4ecfc9 (D103121) which is the one
we actually need to revert to unblock non-X86 builds of OpenMP. Can be
reapplied, or merged into, D103121 as it goes in again.
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
Commit 4eb90e893f82314def571f7129dfd88bd098208b by johannes
Revert "[OpenMP] Add Two-level Distributed Barrier"

This reverts commit 25073a4ecfc9b2e3cb76776185e63bfdb094cd98.

This breaks non-x86 OpenMP builds for a while now. Until a solution is
ready to be upstreamed we revert the feature and unblock those builds.
See:
  https://reviews.llvm.org/rG25073a4ecfc9b2e3cb76776185e63bfdb094cd98#1005821
and
  https://reviews.llvm.org/rG25073a4ecfc9b2e3cb76776185e63bfdb094cd98#1005821

The currently proposed fix (D104788) seems not to be ready yet:
  https://reviews.llvm.org/D104788#2841928
The file was modifiedopenmp/runtime/src/kmp_str.cpp
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.cpp
The file was modifiedopenmp/runtime/src/z_Windows_NT_util.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
The file was modifiedopenmp/runtime/src/kmp_atomic.cpp
The file was modifiedopenmp/runtime/src/kmp_global.cpp
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was modifiedopenmp/runtime/test/barrier/omp_barrier.c
The file was modifiedopenmp/runtime/src/kmp_os.h
The file was modifiedopenmp/runtime/src/kmp_str.h
The file was removedopenmp/runtime/src/kmp_barrier.h
The file was modifiedopenmp/runtime/src/kmp_stats.h
Commit bf9dcb4cd21513a2b90db8af4f7f0e6769afe205 by zinenko
[mlir] silence -Wunused-variable in Linalg comprehensive bufferize
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit e63b18bc84a27718266f5c838a572ba423f70a2c by jeremy.morse
Catch an extremely obvious memory leak, thanks asan

https://lab.llvm.org/buildbot/#/builders/5/builds/9208

(dbg-phis-merging-in-ldv.mir and dbg-phis-with-loops.mir in the asan
check stage)
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit 7756216547e5cb5eca429e9d7d467058a1472a48 by Louis Dionne
[libc++] NFCI: Remove code duplication and obsolete declarations in wrap_iter

Differential Revision: https://reviews.llvm.org/D105040
The file was modifiedlibcxx/include/__iterator/wrap_iter.h
The file was modifiedlibcxx/include/__algorithm/inplace_merge.h
Commit 58a230455bbc680fc12641d9231dce5dfb907e91 by Louis Dionne
[libc++] Serialize Lit parameters to make them available to from-scratch configs

Before this patch, Lit parameters that were set as a result of CMake
options were not made available to from-scratch configs. This patch
serializes those parameters into the generated lit config file so that
they are available to all configs.

Differential Revision: https://reviews.llvm.org/D105047
The file was modifiedlibcxx/test/CMakeLists.txt
The file was modifiedlibcxxabi/test/lit.site.cfg.in
The file was modifiedlibunwind/test/libunwind/test/config.py
The file was modifiedlibcxx/test/configs/libcxx-trunk-static.cfg.in
The file was modifiedlibcxx/test/configs/legacy.cfg.in
The file was modifiedlibcxx/test/configs/libcxx-trunk-shared.cfg.in
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was modifiedlibcxxabi/test/CMakeLists.txt
The file was modifiedlibunwind/test/CMakeLists.txt
Commit c33ebad73516ffcf7b00821a430aa6a0199941f0 by v.g.vassilev
Print default template argument if manually specified in typedef declaration.

If a default template type argument is manually specified to be of the default
type, then it is committed when printing the template.

Differential revision: https://reviews.llvm.org/D103040
The file was modifiedclang/test/SemaTemplate/default-arguments-ast-print.cpp
The file was modifiedclang/test/SemaTemplate/class-template-id.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
Commit e49d65f36d66e247c148601f59edeb2e0b44d8dd by listmail
[LV] Fix bug when unrolling (only) a loop with non-latch exit

If we unroll a loop in the vectorizer (without vectorizing), and the cost model requires a epilogue be generated for correctness, the code generation must actually do so.

The included test case on an unmodified opt will access memory one past the expected bound.  As a result, this patch is fixing a latent miscompile.

Differential Revision: https://reviews.llvm.org/D103700
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/unroll_nonlatch.ll
Commit bd4bfe0e0c3342c613a23a6b2911a97c267a3f99 by flo
[SCCP] Extend tests added 1092357ccdc9 in with UREM/SREM by 0.

Add additional coverage for computing UREM/SREM C, 0.
The file was modifiedllvm/test/Transforms/SCCP/binaryops-range-special-cases.ll
Commit e88ac7295fa298c336cb57d65bdcc72b45dbc0b0 by ezhulenev
[perf] Fix a data race in the PerfJITEventListener

Concurrent JIT compilation + PerfJITEventListener triggers tsan error

Reviewed By: cota

Differential Revision: https://reviews.llvm.org/D104977
The file was modifiedllvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
Commit d03aa7d6b66fd741db2d937c18a6c6675037b888 by Louis Dionne
[libc++] NFCI: Remove __functional/search.h

The __search helper function was once split into __functional for circular
dependency reasons, however this is not an issue anymore now that we have
finer grained headers.
The file was removedlibcxx/include/__functional/search.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/__algorithm/search.h
The file was modifiedlibcxx/include/functional
The file was modifiedlibcxx/include/experimental/functional
The file was modifiedlibcxx/include/regex
The file was modifiedlibcxx/include/module.modulemap
Commit 2a063173c159cf80ebb0b8ee6f1b3db519c0f111 by llvmgnsyncbot
[gn build] Port d03aa7d6b66f
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit aaf6a7ac344c62e26903161ea3daa4b52c423369 by david.green
[ARM] Extra test for gep immediate costs. NFC
The file was addedllvm/test/CodeGen/ARM/gep-imm.ll
Commit f38a8b54ea31d6c915e2d6e259ebc083883e6f6d by Piotr Sobczak
[AMDGPU] Fix 224-bit spills

Related to D104622.

Differential Revision: https://reviews.llvm.org/D105109
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/spill224.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit 56fa49878b71a1d92b9a93b586cff26829abe157 by gbreynoo
[llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers

llvm-objdump had some missing coverage that is fixed by this change:
- A test specifically for --print-imm-hex, and coverage of --no-print-imm-hex
- section-headers.test checks the aliases --headers or --section-headers
- A test for the use of --private-headers for ELF that checks the output
- A test for ELF program headers

Differential Revision: https://reviews.llvm.org/D103974
The file was addedllvm/test/tools/llvm-objdump/X86/print-imm-hex.s
The file was addedllvm/test/tools/llvm-objdump/ELF/program-headers.test
The file was addedllvm/test/tools/llvm-objdump/ELF/private-headers.test
The file was modifiedllvm/test/tools/llvm-objdump/section-headers.test
Commit a37f558682e479686cf1644a6aa70b8f46fa1b6a by gbreynoo
[llvm-objdump] Add --no-print-imm-hex to the command guide

The option --no-print-imm-hex was not included in the command guide for
llvm-objdump but appears in the help text. This commit adds it to the
command guide.

Differential Revision: https://reviews.llvm.org/D104717
The file was modifiedllvm/docs/CommandGuide/llvm-objdump.rst
Commit a8f819c6d85e1990954d8846dac769bb789d2ba9 by ezhulenev
[mlir:Async] Remove async operations if it is statically known that the parallel operation has a single compute block

Depends On D104850

Add a test that verifies that canonicalization removes all async overheads if it is statically known that the scf.parallel operation will be computed using a single block.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D104891
The file was modifiedmlir/include/mlir/Dialect/Async/IR/Async.h
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
The file was addedmlir/test/Dialect/Async/async-parallel-for-canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
The file was modifiedmlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir
Commit 6088f86a2e1ce3ab6fe9573e26fc63a5cf338fa9 by ezhulenev
[mlir:Async] Convert AsyncParallelFor pass to ModuleOp pass

Depends On D104891

Outlining scf.parallel body as a function requires async-parallel-for pass to be a ModuleOp pass

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D104998
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
Commit 9ccdaac8f9d5b06c35a18180c517342c435d75a1 by ezhulenev
[mlir:Async] Fix a bug in automatic refence counting around function calls

Depends On D104998

Function calls "transfer ownership" to the callee and it puts additional constraints on the reference counting optimization pass

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D104999
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/CMakeLists.txt
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
The file was modifiedmlir/test/Dialect/Async/async-runtime-ref-counting-opt.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncRuntimeRefCountingOpt.cpp
Commit 287847dace4408a0e4e4bfbed7db4a4d1f3eba29 by arthur.j.odwyer
[libc++] Update ABI docs. NFCI.

Differential Revision: https://reviews.llvm.org/D103160
The file was modifiedlibcxx/docs/DesignDocs/ABIVersioning.rst
Commit 3b6dfa381edfc66864cfd6dbc2769ba645858120 by craig.topper
[RISCV] Protect the SHL/SRA/SRL handlers in LowerOperation against being called for an illegal i32 shift amount.

It seems it is possible for DAG combine to create a shl with an
i64 result type and an i32 shift amount. This is ok before type
legalization since the type don't need to match in SelectionDAG.
This results in type legalization calling LowerOperation to
legalize just the amount. We weren't expecting this so we
asserted for not finding a fixed vector shift.

To fix this, I've added a check for the fixed vector case and
returned SDValue() to get the default type legalizer. I've
factored all shifts together and added a fixed vector specific
handler to avoid repeating similar code for each in
LowerOperation.

The particular case I found was exposed by D104581, but the bad
shift is created after that patch triggers.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/test/CodeGen/RISCV/aext-to-sext.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit c00032321a6ae26f9c8056d024e262abf342631e by Raphael Isemann
[lldb] Skip TestPairFromStdModule for now

I didn't get around to fix this change and the original commit itself seems
fine, so this looks like an existing LLDB/Clang bug that was just uncovered
by this change. Skipping while I'm investigating.
The file was modifiedlldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py
Commit 5d933c0b0c741767f2af8218d55581557903a254 by llvm-project
[Flang][test] Fix Windows buildbot after D104930.

Add

    REQUIRES: shell

to the unpack.f90 test that executes a UNIX shell script.
The file was modifiedflang/test/Semantics/unpack.f90
Commit 129ae515fba022353050e0f313b32595de9e4b39 by a.bataev
[INSTCOMBINE] Transform reduction(shuffle V, poison, unique_mask) to reduction(V).

After SLP + LTO we may have have reduction(shuffle V, poison,
mask). This can be simplified to just reduction(V) if the mask is only
for single vector and just all elements from this vector are permuted,
  without reusing, replacing with undefs and/or other values, etc.

Differential Revision: https://reviews.llvm.org/D105053
The file was modifiedllvm/test/Transforms/InstCombine/reduction-shufflevector.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit 952944c12c0aa917e97805e929b5cd4e40866f91 by Akira
[ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if
the call already has the operand bundle

This bug was causing the call to `replaceAllUsesWith` to crash because
the old call instruction and the new call instruction were the same.

rdar://74957948

Differential Revision: https://reviews.llvm.org/D97824
The file was addedclang/test/CodeGenObjCXX/arc-rv-attr.mm
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
Commit aaba37187fda7f5a7fdc4c1e6129cbaaa1bbf709 by melanie.blower
[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D104729
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/Basic/Targets/SPIR.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/tools/clang-import-test/clang-import-test.cpp
Commit 3999dcae5e763adceb2c3bc1dbc8f2c005c808ef by ndesaulniers
[Inline] prevent inlining on noprofile mismatch

Similar to
commit bc044a88ee3c ("[Inline] prevent inlining on stack protector mismatch")

The noprofile function attribute is meant to prevent compiler
instrumentation from being inserted into a function. Inlining may defeat
the developer's intent. If the caller and callee don't either BOTH have
the attribute or BOTH lack the attribute, suppress inline substitution.

This matches behavior being proposed in GCC:
https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573511.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223

Add LangRef entry for noprofile fn attr, similar to text added in D93422
and D104944.

Reviewed By: MaskRay, melver, phosek

Differential Revision: https://reviews.llvm.org/D104810
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was addedllvm/test/Transforms/Inline/inline_noprofile.ll
The file was modifiedllvm/docs/LangRef.rst
Commit a562853a511b078912f3a9fccb4a27220ce75e9e by Louis Dionne
[libc++] NFC: Fix return-by-const-value and pass-by-const-value typos

While we can debate on the value of passing by const value, there is no
arguing that it's confusing to do so in some circumstances, such as when
marking a pointer parameter as being const (did you mean a pointer-to-const?).
This commit fixes a few issues along those lines.
The file was modifiedlibcxx/src/string.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
The file was modifiedlibcxx/include/vector
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
Commit 71be4db05bbdcc8a9bbe01f54cf273b530327ec7 by Jonas Devlieghere
[lldb] Check for the mangled symbol name for objc_copyRealizedClassList_nolock

When we check whether the Objective-C SPI is available, we need to check
for the mangled symbol name. Unlike `objc_copyRealizedClassList`, which
is C exported, the `nolock` variant is not.

Differential revision: https://reviews.llvm.org/D105136
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Commit 913229983633cd4c19b9e5534018f9a42e274b30 by craig.topper
[LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization.

We were trying to expand these if they were going to be expanded
in op legalization so that we generated the minimum number of
operations. We failed to take into account that NVT could be
promoted to another legal type in op legalization.

Hoping this fixes the issue on the VE target reported as a follow
up to D96681. The check line changes were taken from before
1e46b6f4012399a2fef5fbbb4ed06fc919835414 so this patch does
appear to improve some cases that had previously regressed.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/VE/Scalar/bitreverse.ll
Commit f8aaec19e674c44bfffd2b31611ad1eecc4698bd by nikita.ppv
[OpaquePtr] Support forward references in textual IR

Currently, LLParser will create a Function/GlobalVariable forward
reference based on the desired pointer type and then modify it when
it is declared. With opaque pointers, we generally do not know the
correct type to use until we see the declaration.

Solve this by creating the forward reference with a dummy type, and
then performing a RAUW with the correct Function/GlobalVariable when
it is declared. The approach is adopted from
https://github.com/TNorthover/llvm-project/commit/b5b55963f62038319fa7a8b1b232226ba1d8ef3c.

This results in a change to the use list order, which is why we see
test changes on some module passes that are not stable under use list
reordering.

Differential Revision: https://reviews.llvm.org/D104950
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/function-weak.ll
The file was modifiedllvm/test/Transforms/LowerTypeTests/icall-branch-funnel.ll
The file was modifiedllvm/test/Transforms/FunctionSpecialization/function-specialization4.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/add-prototypes-conflict.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/test/Transforms/FunctionSpecialization/function-specialization3.ll
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
The file was modifiedllvm/test/Transforms/OpenMP/parallel_deletion_remarks.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
Commit 7b639f50959d046dbfe6b8d4aa9e1071594ca361 by jacobhegna
[NFC] clang-format on InlineCost.cpp and InlineAdvisor.h.
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineAdvisor.h
Commit 69937a8080bc4828f0b317cd54a03ed2704b661a by i
[llvm-objcopy][MachO] Support ARM64_RELOC_ADDEND

An ARM64_RELOC_ADDEND relocation reuses the symbol field for the addend value.
We should pass through such relocations.

Reviewed By: alexander-shaposhnikov

Differential Revision: https://reviews.llvm.org/D104967
The file was addedllvm/test/tools/llvm-objcopy/MachO/arm64-relocs.s
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
Commit c4de78e91c9341b5b1abf927da15e0956a484b79 by nikita.ppv
[SanitizerCoverage] Fix global type check with opaque pointers

The code was previously relying on the fact that an incorrectly
typed global would result in the insertion of a BitCast constant
expression. With opaque pointers, this is no longer the case, so
we should check the type explicitly.
The file was modifiedllvm/test/Instrumentation/SanitizerCoverage/stack-depth-variable-declared-by-user.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Commit a9854045f6b657ea1658d3518ac88b5eb45e2eeb by i
[test] Change -t to --syms and -s to -S for llvm-readobj RUN lines

-s and -t will be changed to improve consistency with llvm-readelf.
The inconsistency issue regularly contributes to confusion using the two tools.
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-relocs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdpal-elf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-reloc-symb.mir
The file was modifiedllvm/test/MC/ELF/section-relro.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-lower-comm.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
The file was modifiedllvm/test/MC/AMDGPU/hsa-gfx10.s
The file was modifiedllvm/test/MC/AMDGPU/elf-lds.s
Commit c4a00ed85192b31b1fe9c5c3e94f96f826937825 by leonardchan
[NFC][compiler-rt][hwasan] Move GetCurrentThread to hwasan.cpp

We can reuse the same implementation for getting the current thread on fuchsia.

Differential Revision: https://reviews.llvm.org/D104824
The file was modifiedcompiler-rt/lib/hwasan/hwasan_linux.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan.cpp
Commit d4dcb55c7050fd908af2378fa551078d859d994f by i
[llvm-readobj] Make -s and -t match llvm-readelf

llvm-readobj is an internal testing tool for binary formats. Its output and
command line options do not need to be stable. It isn't supposed to be part of a
build process.

llvm-readelf was created as a user-facing utility and its interface intends to
be compatible with GNU readelf (unless there are good reasons not to).

The two tools have mostly compatible options. -s and -t are noticeable
exceptions due to history. I think the cost of keeping the inconsistency
overweighs the little history-compatible benefit and hinders transition from
cl::opt to OptTable, so let's change it.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D105055
The file was modifiedllvm/docs/CommandGuide/llvm-readobj.rst
The file was modifiedllvm/test/tools/llvm-readobj/ELF/merged.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/symbols.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/sections.test
The file was modifiedllvm/test/tools/llvm-readobj/basic.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/duplicate-symbol-names.yaml
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit 8e74668e96da5c38c7fabb1881a6510d6a09112d by leonardchan
[NFC][compiler-rt][hwasan] Re-use ring buffer size calculation

Users can call HwasanThreadList::GetRingBufferSize rather than RingBufferSize
to prevent having to do the calculation in RingBufferSize. This will be useful
for Fuchsia where we plan to initialize the stack ring buffer separately from
the rest of thread initialization.

Differential Revision: https://reviews.llvm.org/D104823
The file was modifiedcompiler-rt/lib/hwasan/hwasan_thread_list.h
Commit 90dfd059198ed94334f9b1ccfd29b566feb75e8b by stefanp
[Clang] Add option to handle behaviour of vector bool/vector pixel.

Added the option `-altivec-src-compat=[mixed,gcc,xl]`. The default at this time is `mixed`.

The default behavior for clang is for all vector compares to return a scalar unless the vectors being
compared are vector bool or vector pixel. In that case the compare returns a
vector. With the gcc case all vector compares return vectors and in the xl case
all vector compares return scalars.

This patch does not change the default behavior of clang.

This option will be used in future patches to implement behaviour compatibility for the vector bool/pixel types.

Reviewed By: bmahjour

Differential Revision: https://reviews.llvm.org/D103615
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/CodeGen/vector-compat-pixel-bool-ternary.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/CodeGen/vector-compat-pixel-bool.c
The file was addedclang/test/CodeGen/vector-compat-ternary.c
The file was addedclang/test/CodeGen/vector-compat.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
Commit a77524cd2c20f4d0aa4ddd164f12f7af64b5bfc8 by nicolas.vasilache
[mlir][Linalg] Add a ComprehensiveModuleBufferizePass and support for CallOp analysis(9/n)

This revision adds the minimal plumbing to create a simple ComprehensiveModuleBufferizePass that can behave conservatively in the presence of CallOps.

A topological sort of caller/callee is performed and, if the call-graph is cycle-free, analysis can proceed.

Differential revision: https://reviews.llvm.org/D104859
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was addedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-invalid.mlir
The file was addedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
Commit f57b2420b2235eca00d5c085a7ef084433140452 by ezhulenev
[mlir:Async] Add an async reference counting pass based on the user defined policy

Depends On D104999

Automatic reference counting based on the liveness analysis can add a lot of reference counting overhead at runtime. If the IR is known to be constrained to few particular "shapes", it's much more efficient to provide a custom reference counting policy that will specify where it is required to update the async value reference count.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D105037
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.td
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncRuntimeRefCounting.cpp
The file was modifiedmlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was addedmlir/test/Dialect/Async/async-runtime-policy-based-ref-counting.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/Passes.h
Commit c1194c2ec35029f96ce75ab54555dccf2b7e8681 by ezhulenev
[mlir:Async] Change async-parallel-for block size/count calculation

Depends On D105037

Avoid creating too many tasks when the number of workers is large.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D105126
The file was modifiedmlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
Commit bb2cfca2f3237d7f722e95d4cab9f3d71f728c9c by stilis
Revert D104488 and friends since it broke the windows bot

Reverts commits:
"Fix failing tests after https://reviews.llvm.org/D104488."
"Fix buildbot failure after https://reviews.llvm.org/D104488."
"Create synthetic symbol names on demand to improve memory consumption and startup times."

This series of commits broke the windows lldb bot and then failed to fix all of the failing tests.
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/test/Shell/ObjectFile/ELF/eh_frame-symbols.yaml
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/symtab.test
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
The file was modifiedlldb/source/Symbol/Symbol.cpp
Commit 485cc55edfb875628e19bb6d9de4706af2865d3e by stellaraccident
[mlir] Generare .cpp.inc files for dialects.

* Previously, we were only generating .h.inc files. We foresee the need to also generate implementations and this is a step towards that.
* Discussed in https://llvm.discourse.group/t/generating-cpp-inc-files-for-dialects/3732/2
* Deviates from the discussion above by generating a default constructor in the .cpp.inc file (and adding a tablegen bit that disables this in case if this is user provided).
* Generating the destructor started as a way to flush out the missing includes (produces a link error), but it is a strict improvement on its own that is worth doing (i.e. by emitting key methods in the .cpp file, we root vtables in one translation unit, which is a non-controversial improvement).

Differential Revision: https://reviews.llvm.org/D105070
The file was modifiedmlir/examples/standalone/lib/Standalone/StandaloneDialect.cpp
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
The file was modifiedmlir/lib/Dialect/X86Vector/IR/X86VectorDialect.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
The file was modifiedmlir/examples/toy/Ch4/include/toy/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was modifiedmlir/include/mlir/IR/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch2/mlir/Dialect.cpp
The file was modifiedutils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
The file was modifiedmlir/examples/toy/Ch5/include/toy/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch4/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/Dialect.cpp
The file was modifiedmlir/lib/IR/BuiltinDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Dialect/ArmNeon/IR/ArmNeonDialect.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/lib/Dialect/Complex/IR/ComplexDialect.cpp
The file was modifiedmlir/lib/Dialect/Math/IR/MathDialect.cpp
The file was modifiedmlir/lib/TableGen/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch3/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
The file was modifiedmlir/examples/toy/Ch7/include/toy/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
The file was modifiedmlir/examples/toy/Ch3/include/toy/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/AMX/IR/AMXDialect.cpp
The file was modifiedmlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/examples/toy/Ch2/include/toy/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantOps.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch6/mlir/Dialect.cpp
The file was modifiedmlir/include/mlir/Dialect/OpenMP/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/TableGen/Dialect.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
The file was modifiedmlir/lib/Dialect/EmitC/IR/EmitC.cpp
Commit ae6648cee01bc5c390b74dacd1851cf5df74599b by jianzhouzh
[dfsan] Expose dfsan_get_track_origins to get origin tracking status

This allows application code checks if origin tracking is on before
printing out traces.

-dfsan-track-origins can be 0,1,2.
The current code only distinguishes 1 and 2 in compile time, but not at runtime.
Made runtime distinguish 1 and 2 too.

Reviewed By: browneee

Differential Revision: https://reviews.llvm.org/D105128
The file was modifiedcompiler-rt/lib/dfsan/done_abilist.txt
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
The file was modifiedcompiler-rt/include/sanitizer/dfsan_interface.h
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/basic.ll
The file was addedcompiler-rt/test/dfsan/dfsan_get_track_origins.c
Commit 9952d591ccc49cbcbf9c89d5191e6111c44703a6 by stilis
[lldb] Fix globals-bss.cpp which was broken in https://reviews.llvm.org/D105055

-S replaced -s, so the test needs to be updated to use the new option
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/globals-bss.cpp
Commit 58af0d567d88eb5a7eec436886da066308d7a39e by sivachandra
[libc] Allow target architecture independent configs

Previously, we required entrypoints.txt for every target architecture
supported by a target OS. With this change, we allow architecture
independent config for a target OS. That is, if an architecture specific
entrypoints.txt is missing, then a generic entrypoints.txt for that
target OS will be used.

Reviewed By: caitlyncano

Differential Revision: https://reviews.llvm.org/D105147
The file was modifiedlibc/CMakeLists.txt
Commit 2240b41ee4f30fe938975677a0a5a2c5c26d271b by Dhruva.Chakrabarti
[libomptarget] [amdgpu] Fix default setting of max flat workgroup size

When max flat workgroup size is not specified, it is set to the default
workgroup size. This prevents kernel launch with a workgroup size larger
than the default. The fix is to ignore a size of 0 and treat it as
unspecified.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D105073
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit c8a9c78e170e3b972041b301a50d0456afe83d10 by stilis
[lldb] Fix debug_loc.s which was broken after https://reviews.llvm.org/D103502

An empty location is now printed as <empty>
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s
Commit 6d72845a8517eea6a69a493351fb4f03f3c10c21 by alexshap
[llvm-objcopy][MachO] Code cleanup

1. Remove unnecessary templates.
2. Fix potentially unaligned reads inside constructSection.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D105089
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
Commit ac2bec5addd2f96e976242bc8e0d93725fe3d2fd by Duncan P. N. Exon Smith
OpaquePtr: Support i32** with --force-opaque-pointers

4506f614cb6983a16d117cf77a968608e66d7a5c fixed parsing of textual IR to
reject `ptr*`, but broke the auto-conversion of `i32**` to `ptr` with
`--force-opaque-pointers`.

Get that working again by refactoring LLParser::parseType to only send
`ptr`-spelled pointers into the type suffix logic when it's the return
of a function type. This also rejects `ptr addrspace(3) addrspace(2)`,
which 1e6303e60ca5af4fbe7ca728572fd65666a98271 invadvertently started
accepting. Just the default top-level error message for the
double-addrspace since I had trouble thinking of something nice;
probably it's fine as is (it doesn't look valid the way that `ptr*`
does).

Differential Revision: https://reviews.llvm.org/D105146
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Assembler/opaque-ptr.ll
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
The file was addedllvm/test/Assembler/invalid-opaque-ptr-double-addrspace.ll
Commit 8d21d5472501460933e78aead04cf59579025ba4 by Akira
[CodeGen] Stop creating fake FunctionDecls when generating IR for
functions implicitly generated by the compiler

These fake functions would cause clang to crash if the changes proposed
in https://reviews.llvm.org/D98799 were made.
The file was modifiedclang/test/CodeGen/debug-info-oslog.c
The file was modifiedclang/test/CodeGen/constructor-attribute.c
The file was modifiedclang/lib/CodeGen/CGNonTrivialStruct.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/test/CodeGenObjC/nontrivial-c-struct-exception.m
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 49fa6abf7472022d7bf1fb05df3033a7bd1ff0de by Matthew.Arsenault
Revert "GlobalISel: Use MMO helper for getting the size in bits"

This reverts commit dc98adfb448bdb845605185bb173e99614a17790.

This should still be done, but this is currently causing some commit
ordering issues.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
Commit 990278d026d680942c859be70836ad34a9a716f7 by Matthew.Arsenault
CodeGen: Store LLT instead of uint64_t in MachineMemOperand

GlobalISel is relying on regular MachineMemOperands to track all of
the memory properties of accesses. Just the raw byte size is
insufficent to disambiguate all situations. For example, if we need to
split an unaligned extending load, we need to know the number of bits
in the original source value and can't infer it from the result
type. This is also a problem for extending vector loads.

This does decrease the maximum representable size from the full
uint64_t bytes to a maximum of 16-bits. No in tree testcases hit this,
other than places using UINT64_MAX for unknown sizes. This may be an
issue for G_MEMCPY and co., although they can just use unknown size
for large static sizes. This also has potential for backend abuse by
relying on the type when it really shouldn't be relevant after
selection.

This does not include the necessary MIR printer/parser changes to
represent this.
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/udivrem.ll
The file was modifiedllvm/include/llvm/Support/LowLevelTypeImpl.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/sdivrem.ll
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/CodeGen/LowLevelType.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
Commit b810600a93a1f426389ffe93c609af9b659a8430 by nikita.ppv
[Test] Regenerate test checks (NFC)

Make these follow the update_test_checks.py format.
The file was modifiedllvm/test/Other/force-opaque-ptrs.ll
Commit cb3580e7ad247dfdcf2ad279895f52bb73c4cee4 by aeubanks
[OpaquePtr][BitcodeWriter] Handle attributes with types

For example, byval.

Skip the type attribute auto-upgrade if we already have the type.

I've actually seen this error of the ValueEnumerator missing a type
attribute's type in a non-opaque pointer context.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D105138
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Assembler/opaque-ptr.ll
The file was modifiedllvm/lib/Bitcode/Writer/ValueEnumerator.cpp
Commit f664e2ec371f61b69e11147d7f9e045083335917 by aaron.puchert
Thread safety analysis: Always warn when dropping locks on back edges

We allow branches to join where one holds a managed lock but the other
doesn't, but we can't do so for back edges: because there we can't drop
them from the lockset, as we have already analyzed the loop with the
larger lockset. So we can't allow dropping managed locks on back edges.

We move the managed() check from handleRemovalFromIntersection up to
intersectAndWarn, where we additionally check if we're on a back edge if
we're removing from the first lock set (the entry set of the next block)
but not if we're removing from the second lock set (the exit set of the
previous block). Now that the order of arguments matters, I had to swap
them in one invocation, which also causes some minor differences in the
tests.

Reviewed By: delesley

Differential Revision: https://reviews.llvm.org/D104261
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp
The file was modifiedclang/test/SemaCXX/warn-thread-safety-analysis.cpp
Commit e0b90771c318625e51c34c67db3f3dfbbb686df8 by aaron.puchert
Thread safety analysis: Rename parameters of ThreadSafetyAnalyzer::intersectAndWarn (NFC)

In D104261 we made the parameters' meaning slightly more specific, this
changes their names accordingly. In all uses we're building a new lock
set by intersecting existing locksets. The first (modifiable) argument
is the new lock set being built, the second (non-modifiable) argument is
the exit set of a preceding block.

Reviewed By: aaron.ballman, delesley

Differential Revision: https://reviews.llvm.org/D104649
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp
Commit a346372200e7b2b99631bd90691678d5ca03fdd1 by Adrian Prantl
Change PathMappingList::FindFile to return an optional result (NFC)

This is an NFC modernization refactoring that replaces the combination
of a bool return + reference argument, with an Optional return value.

Differential Revision: https://reviews.llvm.org/D104405
The file was modifiedlldb/source/Symbol/LineEntry.cpp
The file was modifiedlldb/source/Target/PathMappingList.cpp
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/source/Core/SourceManager.cpp
The file was modifiedlldb/include/lldb/Target/PathMappingList.h
Commit 302b1b97180907011aae610b9f51d4b9186c9821 by Adrian Prantl
Express PathMappingList::FindFile() in terms of PathMappingList::RemapPath()

NFC.

This patch replaces the function body FindFile() with a call to
RemapPath(), since the two functions implement the same functionality.

Differential Revision: https://reviews.llvm.org/D104406
The file was modifiedlldb/source/Target/PathMappingList.cpp
Commit a0e1b11fac7a1599faec21d13fae45c8571de02c by Adrian Prantl
Modernize Module::RemapFile to return an Optional (NFC)

This addresses feedback raised in https://reviews.llvm.org/D104404.

Differential Revision: https://reviews.llvm.org/D104724
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
Commit 21e013303bb7d0dbb9106283af0fb966fe45af42 by Adrian Prantl
Improve path remapping in cross-debugging scenarios

This patch implements a slight improvement when debugging across
platforms and remapping source paths that are in a non-native
format. See the unit test for examples.

rdar://79205675

Differential Revision: https://reviews.llvm.org/D104407
The file was modifiedlldb/unittests/Target/PathMappingListTest.cpp
The file was modifiedlldb/source/Target/PathMappingList.cpp
Commit e0b713a0357aa31ef906111115d4e881503e56ba by Dhruva.Chakrabarti
[libomptarget] [amdgpu] Change default number of teams per computation unit

This patch is related to https://reviews.llvm.org/D98832. Based on discussions there, I decided to separate out the teams default as this patch. This change is to increase the number of teams per computation unit so as to provide more wavefronts for hiding latency. This change improves performance for some programs, including 20-50% for some Stream benchmarks.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D99003
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit 3644726a78e37823b1687a7aa8d186e91570ffe2 by tra
[Clang][NVPTX] Add NVPTX intrinsics and builtins for CUDA PTX 6.5 and 7.0 WMMA and MMA instructions

Adds NVPTX builtins and intrinsics for the CUDA PTX `wmma.load`, `wmma.store`, `wmma.mma`, and `mma` instructions added in PTX 6.5 and 7.0.

PTX ISA description of

  - `wmma.load`: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#warp-level-matrix-instructions-wmma-ld
  - `wmma.store`: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#warp-level-matrix-instructions-wmma-st
  - `wmma.mma`: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#warp-level-matrix-instructions-wmma-mma
  - `mma`: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#warp-level-matrix-instructions-mma

Overview of `wmma.mma` and `mma` matrix shape/type combinations added with specific PTX versions: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#warp-level-matrix-shape

Authored-by: Steffen Larsen <steffen.larsen@codeplay.com>
Co-Authored-by: Stuart Adams <stuart.adams@codeplay.com>

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D104847
The file was modifiedllvm/test/CodeGen/NVPTX/lit.local.cfg
The file was modifiedclang/test/CodeGen/builtins-nvptx-mma.cu
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXInstrInfo.td
The file was modifiedclang/test/CodeGen/builtins-nvptx-mma.py
The file was modifiedllvm/lib/Target/NVPTX/NVPTXIntrinsics.td
The file was modifiedllvm/test/CodeGen/NVPTX/wmma.py
The file was modifiedllvm/include/llvm/IR/IntrinsicsNVVM.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/BuiltinsNVPTX.def
Commit 1df981f43ae9041ed326a3d806fcbb8278211ca4 by lei
Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot"

This reverts commit 652f4b5140e231b679564a86019307291f7bf7cc.

Re-enable MLLIR JIT tests.
The MLIR Bot was updated to export LD_LIBRARY_PATH=/usr/lib64, which
seem to fix this issue.
The file was modifiedmlir/test/Unit/lit.cfg.py
The file was modifiedmlir/test/Unit/lit.site.cfg.py.in
The file was modifiedmlir/test/mlir-cpu-runner/lit.local.cfg
Commit 6cda73e3c44968eb6fff4b73cb6f1d0ef7d861f4 by Akira
[CodeGen] Add ParmVarDecls to FunctionDecls that are created to generate
ObjC property getter/setter functions

This is needed to prevent clang from crashing when we make the changes
proposed in https://reviews.llvm.org/D98799.

Differential Revision: https://reviews.llvm.org/D104883
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
Commit 632e15e766ee625ae367b2e872f3df903e507bfb by dblaikie
Conditionalize function only used in an assert to address -Wunused-function
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
Commit 98b9fc9b93d7116cec9b661f809441488c3894cb by ndesaulniers
[Test] delete LPM RUNs in inline_nossp.ll

This test was modified in D104958. Invoking opt with -{passname} (vs
-passes={passname}) without -enable-new-pm={0|1} is now ambiguous and
dependent on how LLVM was configured.  Drop the LPM runs rather than
fix since there unlikely to be any users still on LPM that rely on the
behavior in this test.

See also:
https://lists.llvm.org/pipermail/llvm-dev/2021-June/151553.html

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D105154
The file was modifiedllvm/test/Transforms/Inline/inline_nossp.ll
Commit c8164d0276b97679e80db01adc860271ab4a5d11 by gclayton
Create synthetic symbol names on demand to improve memory consumption and startup times.

This fix was created after profiling the target creation of a large C/C++/ObjC application that contained almost 4,000,000 redacted symbol names. The symbol table parsing code was creating names for each of these synthetic symbols and adding them to the name indexes. The code was also adding the object file basename to the end of the symbol name which doesn't allow symbols from different shared libraries to share the names in the constant string pool.

Prior to this fix this was creating 180MB of "___lldb_unnamed_symbol" symbol names and was taking a long time to generate each name, add them to the string pool and then add each of these names to the name index.

This patch fixes the issue by:
- not adding a name to synthetic symbols at creation time, and allows name to be dynamically generated when accessed
- doesn't add synthetic symbol names to the name indexes, but catches this special case as name lookup time. Users won't typically set breakpoints or lookup these synthetic names, but support was added to do the lookup in case it does happen
- removes the object file baseanme from the generated names to allow the names to be shared in the constant string pool

Prior to this fix the startup times for a large application was:
12.5 seconds (cold file caches)
8.5 seconds (warm file caches)

After this fix:
9.7 seconds (cold file caches)
5.7 seconds (warm file caches)

The names of the symbols are auto generated by appending the symbol's UserID to the end of the "___lldb_unnamed_symbol" string and is only done when the name is requested from a synthetic symbol if it has no name.

Differential Revision: https://reviews.llvm.org/D105160
The file was modifiedlldb/test/Shell/ObjectFile/ELF/eh_frame-symbols.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/include/lldb/Symbol/Symbol.h
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/source/Symbol/Symbol.cpp
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/symtab.test
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
Commit 43f6dad2344247976d5777f56a1fc29e39c6c717 by gclayton
Fix buildbot compile error for https://reviews.llvm.org/D105160.
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit 814dffa4b7edb36d3b05c6b96591330e33a82204 by i
[llvm-objcopy][MachO] Support LC_LINKER_OPTIMIZATION_HINT load command

The load command is currently specific to arm64 and holds information
for instruction rewriting, e.g.  converting a GOT load to an ADR to
compute a local address.
(On ELF the information is usually conveyed by relocations, e.g.
R_X86_64_REX_GOTPCRELX, R_PPC64_TOC16_HA)

Reviewed By: alexander-shaposhnikov

Differential Revision: https://reviews.llvm.org/D104968
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/lc-linker-optimization-hint.s
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
Commit 1d9539cf49a585e7c3cd8faa1b8e7291e0ce285c by yedeng.yd
[Coroutine] Add statistics for the number of elided coroutine

Now we lack a benchmark to measure the performance change for each
commit.
Since coro elide is the main optimization in coroutine module, I wonder
it may be an estimation to count the number of elided coroutine in
private code bases.
e.g., for a certain commit, if we found that the number of elided goes
down, we could find it before the commit check-in.

Reviewed By: lxfind

Differential Revision: https://reviews.llvm.org/D105095
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-elide.ll
Commit 801c2b9bbaad778fd4f9fb25b4ab2bd8742a5a3b by yedeng.yd
[FuncSpec] Add an option to specializing literal constant

Now the option is off by default. Since we are not sure if this option
would make the compile time increase aggressively. Although we tested it
on SPEC2017, we may need to test more to make it on by default.

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D104365
The file was addedllvm/test/Transforms/FunctionSpecialization/function-specialization-constant-integers.ll
The file was modifiedllvm/lib/Transforms/IPO/FunctionSpecialization.cpp
Commit 7f19aa73c265b966a5ecac4abe78b862426e28b5 by Tony.Tye
[AMDGPU] Update gfx90a memory model support

Update AMDGPU gfx90a memory model to make coarse grain memory allocations
consistent when fine grained system scope atomic acquire and release is
performed.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D105137
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-global-system.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-flat-system.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
Commit 8b8f5c54d56daa9491c97a105bc996916c39927e by joker.eph
Fix test pass registration to use the new API / not use the deprecated one (NFC)
The file was modifiedmlir/test/lib/IR/TestDiagnostics.cpp
Commit 338a3f495ea4765b05612598e732c0d45dff3edc by lkail
[PowerPC][AIX] Pre-commit tracetable test for D100167. NFC.
The file was addedllvm/test/CodeGen/PowerPC/aix-tracetable-csr.ll

Summary

  1. [sanitizers] Remove unset variables (details)
  2. [zorg] Reduce # targets built on Linaro flang bots (details)
  3. [zorg] Hotfix for PPC64le MLIR build issue (details)
  4. Move QEMU LAM sanitizer images to env-defined folder. (details)
Commit 25f8c0b73518a6e4a0a98318f292f69a7a573684 by Vitaly Buka
[sanitizers] Remove unset variables

It looks nothing else uses them.

Differential Revision: https://reviews.llvm.org/D104875
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
The file was modifiedzorg/buildbot/commands/AnnotatedCommand.py
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh
Commit 0c8527b324c43b5fd89b12dca2d080bbe6731fea by diana.picus
[zorg] Reduce # targets built on Linaro flang bots

The flang bots are only running check-flang and are not really
exercising the backend in any way. At the moment most of them
are taking about 1h to run, and we should be able to reduce that
a bit by disabling targets other than the host (AArch64) on them.

Differential Revision: https://reviews.llvm.org/D105012
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 5a4757532b3e92a287cce159739e36717b7ab682 by unknown
[zorg] Hotfix for PPC64le MLIR build issue

The public builder for MLIR on Power currently has an
issue choosing the correct libc. This patch provides
a environment variable to guide CMake to the correct
one.

Differential Revision: https://reviews.llvm.org/D105144
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 1d858a5f4de4ce3d1db328b7b2ad40d96353a06b by 31459023+hctim
Move QEMU LAM sanitizer images to env-defined folder.

Also add some nice debug info as to how to build the images yourself.
This also makes the bot selector define the build dir and the QEMU image
dir, rather than these being hardcoded on the script side (which non-bot
users will want to execute to repro the bot).
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_selector.py
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh