Changes

Summary

  1. [sanitizer] Test HWASan + LAM via QEMU. (details)
Commit fccedba38905acda3d156ca84758de85e36538c3 by mascasa
[sanitizer] Test HWASan + LAM via QEMU.

Uses LAM-enabled full system QEMU emulation to test HWASan's LAM
support.

Depends on:
https://github.com/google/sanitizers/pull/1408
https://github.com/google/sanitizers/pull/1410

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D103296
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh (diff)

Summary

  1. [mlir][linalg] Cleanup LinalgOp usage in sparse compiler (NFC). (details)
  2. Revert "[NFC][msan] Fix warning on sanitizer-ppc64le-linux bot" (details)
  3. [NFC][msan] Fix assigned-unused warning (details)
  4. [NFC] Fix 'Load' name masking. (details)
  5. [flang] Add tests for REPEAT. NFC (details)
  6. [RISCV] Expand unaligned fixed-length vector memory accesses (details)
  7. [Demangle][Rust] Parse binders (details)
  8. [mlir] Add DivOp lowering from Complex dialect to Standard/Math dialect. (details)
  9. [SimplifyLibCalls] Take size of int into consideration when emitting ldexp/ldexpf (details)
  10. [LegalizeTypes] Avoid promotion of exponent in FPOWI (details)
  11. [CodeGen] Refactor libcall lookups for RTLIB::POWI_* (details)
  12. [InstCombine][msp430] Pre-commit test case for @llvm.powi and 16-bit ints (details)
  13. [SimpleLoopUnswitch] Port partially invariant unswitch from LoopUnswitch to SimpleLoopUnswitch (details)
  14. Add a toplevel .mailmap file (details)
  15. [mailmap] Use my chromium address as my canonical email address (details)
  16. [AMDGPU][Libomptarget][NFC] Remove atmi_place_t (details)
  17. [lld/mac] Implement -reexport_framework, -reexport_library, -reexport-l (details)
  18. [AMDGPU][Libomptarget][NFC] Remove bunch of dead structs (details)
  19. [AArch64] Optimise bitreverse lowering in ISel (details)
  20. [RISCV][NFC] Add '+mattr=+experimental-v' to RVV test (details)
  21. [mlir][linalg] Cleanup LinalgOp usage in fusion on tensors (NFC). (details)
  22. [mlir][linalg] Update result position calculation in the Structured Op Interface (NFC). (details)
  23. [compiler-rt][asan] Enable unwind-tables for Arm Linux (details)
  24. [TTI] NFC: Change getIntImmCodeSizeCost to return InstructionCost. (details)
  25. [LV] NFC: Replace custom getMemInstValueType by llvm::getLoadStoreType. (details)
  26. [LV] NFC: Remove redundant isLegalMasked(Gather|Scatter) functions. (details)
  27. [PowerPC][AIX} FIx AIX bootstrap build. (details)
  28. [compiler-rt][lsan] Increase libdl_deadlock test timeout (details)
  29. [LV] Build and cost VPlans for scalable VFs. (details)
  30. [AArch64][NFC] Fix failing cost-model test (details)
  31. Add getDemandedBits for uses. (details)
  32. Fix comments in test cuda-kernel-call.cu (details)
  33. [clangd] Add support for the `defaultLibrary` semantic token modifier (details)
  34. [clang] Implement the using_if_exists attribute (details)
  35. [coro async] Add the swiftasync attribute to the resume partial function (details)
  36. [lld/mac] Address review feedback and improve a comment (details)
  37. [LoopStrengthReduce] Ensure that debug intrinsics do not affect LSR's output (details)
  38. [lld/mac] Don't strip explicit dylib also mentioned in LC_LINKER_OPTION (details)
  39. [lld/mac] Implement -needed_framework, -needed_library, -needed-l (details)
  40. [lld/mac] Implement -dead_strip (details)
  41. [OpenMP] Use new task type/flag for taskwait depend events. (details)
  42. [lld/mac] try to fix tests after a5645513dba (details)
  43. [libcxx][NFC] Tidy up calculation of __nbuf in num_put::do_put, and add comments (details)
  44. [OpenMP] Fix improper printf format specifier (details)
  45. Remove redundant comparisons (NFC) (details)
  46. Add missing CMake dependency for mlir/lib/Reducer (NFC) (details)
  47. Fix CMake error: TableGen targets must be in the DEPENDS list instead of LINK_LIBS (details)
  48. [x86] add test for sext-of-setcc; NFC (details)
  49. [SDAG] allow more cast folding for vector sext-of-setcc (details)
  50. [lldb] Preserve type sugar when using SBValue::Dereference on C++ references (details)
  51. [MLIR] Fix Standalone dialect test to work in out-of-tree builds (details)
  52. Add matchers for gtest's ASSERT_THAT, EXPECT_THAT, ON_CALL and EXPECT_CALL (details)
  53. Fix -Wsign-compare warning (NFC) (details)
  54. Improve performance when parsing symbol tables in mach-o files. (details)
  55. [SampleFDO] New hierarchical discriminator for FS SampleFDO (ProfileData part) (details)
  56. [mlir-lsp] Report range of potential identifier starting at location of diagnostic (details)
  57. [x86] add signed compare variant test for PR50055; NFC (details)
  58. [NFC] Remove variable that was set but not used. (details)
  59. Fix dfsan handling of musttail calls. (details)
  60. [llvm-dwp] Skip type unit debug info sections (details)
  61. [SDAG] allow cast folding for vector sext-of-setcc with signed compare (details)
  62. [mlir] Add support for filtering patterns based on debug names and labels (details)
  63. [mlir-lsp] Avoid empty range diagnostic (details)
  64. Remove unused function from a previous iteration of unique-stable-name (details)
  65. [mlir] Resolve TODO and use the pass argument instead of the TypeID for registration (details)
  66. [llvm-dwp] Adding support for v5 index writing (details)
  67. [llvm-dwp] Add support for DWARFv5 type units                                                                                                                                                                ... (details)
  68. [llvm-dwp] Add support for rnglists and loclists (details)
  69. [mlir][NFC] Split the non-templated bits out of IROperand into a base class (details)
  70. Revert "[libc++] NFC: Move unwrap_iter to its own header" (details)
  71. [gn build] Port 05d164b25c40 (details)
  72. PR50337, PR50561: Fix determination of whether a template parameter list (details)
  73. Differential Revision: https://reviews.llvm.org/D99812 (details)
  74. [CodeGen][NFC] Remove unused virtual function (details)
  75. [SYCL] Fix __builtin_sycl_unique_stable_name to work on windows/spir (details)
  76. [clangd] TUScheduler uses last active file for file-less queries (details)
  77. [clangd][Protocol] Drop optional from WorkspaceEdit::changes (details)
  78. [X86][SSE] combineScalarToVector - only reuse broadcasts for scalar_to_vector if the source operands scalar types match (details)
  79. [NFC][trace][intel-pt] small test fixes (details)
  80. Add a .mailmap entry for my two email addresses (details)
  81. [clangd] Drop optional on ExternalIndexSpec (details)
  82. [NFC] Test commit. Fix typos. (details)
  83. [Fuchsia] Use libc++abi on Windows in Fuchsia toolchain (details)
  84. [Clang][OpenMP] Emit dependent PreInits before directive. (details)
  85. Revert "Differential Revision: https://reviews.llvm.org/D99812" (details)
  86. [libc++] Enable tests for the experimental library by default (details)
  87. [PowerPC] [GlobalISel] Implementation of formal arguments lowering in the IRTranslator for the PPC backend (details)
  88. [coro] Preserve scope line for compiler generated functions (details)
  89. [MC] Change "unexpected tokens" to "expected newline" and remove unneeded "in .xxx directive" (details)
  90. [MC] Delete unneeded MCAsmParser &Parser (details)
  91. [profile] Add -fprofile-instr-generate tests for weak definition and various linkages (details)
  92. [InstrProfiling] Delete linkage/visibility toggling for Windows (details)
  93. Recommit "Fix tmp files being left on Windows builds." with a fix for (details)
  94. Fix llvm/test/tools/llvm-dwp/X86/type_dedup_v5.test (details)
  95. [clangd] Improve resolution of static method calls in HeuristicResolver (details)
  96. [AArch64] Add regression test for missed bfi optimization. (details)
  97. Fix "control reaches end of non-void function" warnings on ppc64le (details)
  98. [clang] Fix fail of OpenMP/tile_codegen_tile_for.cpp. (details)
Commit 2f2b5b7d282bbc97cad76f920e9f3bfcf45d00ea by gysit
[mlir][linalg] Cleanup LinalgOp usage in sparse compiler (NFC).

Replace the uses of deprecated Structured Op Interface methods in Sparsification.cpp. This patch is based on https://reviews.llvm.org/D103394.

Differential Revision: https://reviews.llvm.org/D103436
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
Commit 2445838f74ef200fbf1134fb29f8c7c8f73ead52 by Vitaly Buka
Revert "[NFC][msan] Fix warning on sanitizer-ppc64le-linux bot"

This fix breaks the test.

This reverts commit 6a2807bc81771d3fed397378507ecab40f8bff27.
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
Commit 60c0256ef1875e62e91b7c1126f001a586225466 by Vitaly Buka
[NFC][msan] Fix assigned-unused warning
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
Commit 0b34acdab718f5302232452fb0c9ca98180794c3 by daniil.fukalov
[NFC] Fix 'Load' name masking.

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D103456
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
Commit 5f25145306e7f05a468b4520e31e05aaae66b2a0 by diana.picus
[flang] Add tests for REPEAT. NFC

These should already pass with the current implementation.

Differential Revision: https://reviews.llvm.org/D103402
The file was modifiedflang/unittests/RuntimeGTest/CharacterTest.cpp
Commit 3b0a33d0ade8a6bacfb5a843f3263806cd12da0a by fraser
[RISCV] Expand unaligned fixed-length vector memory accesses

RVV vectors must be aligned to their element types, so anything less is
unaligned.

For regular loads and stores, our custom-lowering of fixed-length
vectors meant that we opted out of LegalizeDAG's built-in unaligned
expansion. This patch adds that logic in to our custom lower function.

For masked intrinsics, we declare that anything unaligned is not legal,
leaving the ScalarizeMaskedMemIntrin pass to do the expansion for us.

Note that neither of these methods can handle the expansion of
scalable-vector memory ops, so those cases are left alone by this patch.
Scalable loads and stores already go through expansion by default but
hit an assertion, and scalable masked intrinsics will silently generate
incorrect code. It may be prudent to return an error in both of these
cases.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D102493
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll
Commit a67a234ec7aaf9b21dd70e56b128ab8d79092a78 by tomasz.miasko
[Demangle][Rust] Parse binders

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102729
The file was modifiedllvm/include/llvm/Demangle/RustDemangle.h
The file was modifiedllvm/lib/Demangle/RustDemangle.cpp
The file was modifiedllvm/test/Demangle/rust.test
Commit 942be7cb4d98eb1fa0ffdc5d122e8c931cbc4cd6 by akuegel
[mlir] Add DivOp lowering from Complex dialect to Standard/Math dialect.

Differential Revision: https://reviews.llvm.org/D103507
The file was modifiedmlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
The file was modifiedmlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
Commit 9c54ee437898314f956cfc048d9038ca775ea692 by bjorn.a.pettersson
[SimplifyLibCalls] Take size of int into consideration when emitting ldexp/ldexpf

When rewriting
  powf(2.0, itofp(x)) -> ldexpf(1.0, x)
  exp2(sitofp(x)) -> ldexp(1.0, sext(x))
  exp2(uitofp(x)) -> ldexp(1.0, zext(x))

the wrong type was used for the second argument in the ldexp/ldexpf
libc call, for target architectures with 16 bit "int" type.
The transform incorrectly used a bitcasted function pointer with
a 32-bit argument when emitting the ldexp/ldexpf call for such
targets.

The fault is solved by using the correct function prototype
in the call, by asking TargetLibraryInfo about the size of "int".
TargetLibraryInfo by default derives the size of the int type by
assuming that it is 16 bits for 16-bit architectures, and
32 bits otherwise. If this isn't true for a target it should be
possible to override that default in the TargetLibraryInfo
initializer.

Differential Revision: https://reviews.llvm.org/D99438
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/test/Transforms/InstCombine/simplify-libcalls.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/exp2-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/pow_fp_int.ll
Commit d1273d39d377dffeab684ca58176302dbad6c629 by bjorn.a.pettersson
[LegalizeTypes] Avoid promotion of exponent in FPOWI

The FPOWI DAG node is normally lowered to a libcall to one of the
RTLIB::POWI* runtime functions and the exponent should normally
have a type matching sizeof(int) when making the call. Thus,
type promotion of the exponent could lead to an FPOWI with a type
for the second operand that would be incorrect when doing the
libcall (a situation which would be hard to detect post-legalization
if we allow such FPOWI nodes).

This patch is changing DAGTypeLegalizer::PromoteIntOp_FPOWI to
do the rewrite into a libcall directly instead of promoting the
operand. This way we can check that the exponent is smaller than
sizeof(int) and we can let TargetLowering handle promotion as
part of making the libcall. It could be noticed here that makeLibCall
has some knowledge about targets such as 64-bit RISCV, for which the
libcall argument should be extended to a type larger than sizeof(int).

Differential Revision: https://reviews.llvm.org/D102950
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 536e02a23c6555403a844810a42d2f32b7e59d63 by bjorn.a.pettersson
[CodeGen] Refactor libcall lookups for RTLIB::POWI_*

Use RuntimeLibcalls to get a common way to pick correct RTLIB::POWI_*
libcall for a given value type.

This includes a small refactoring of ExpandFPLibCall and
ExpandArgFPLibCall in SelectionDAGLegalize to share a bit of code,
plus adding an ExpandFPLibCall version that can be called directly
when expanding FPOWI/STRICT_FPOWI to ensure that we actually use
the same RTLIB::Libcall when expanding the libcall as we used when
checking the legality of such a call by doing a getLibcallName check.

Differential Revision: https://reviews.llvm.org/D103050
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/include/llvm/CodeGen/RuntimeLibcalls.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Commit fe208a4ef449d6e917dc5695ba793f4428980de3 by bjorn.a.pettersson
[InstCombine][msp430] Pre-commit test case for @llvm.powi and 16-bit ints

This is a pre-commit of a test case D99439 which is a patch that
updates @llvm.powi to handle different int sizes for the exponent.

Problem is that @llvm.powi is used as an IR construct that maps
to RT libcalls to __powi* functions, and those lib functions depend
on sizeof(int) to use correct type for the exponent.

The test cases show that we use i32 for the powi expenent, which
later would result in wrong type being used in libcalls (miscompile).

But there are also a couple of the negative test cases that show
that we rewrite into using powi when having a uitofp conversion
from i16, which would be wrong when doing the libcall as an
"unsigned int" isn't guaranteed to fit inside the "int" argument
in the called libcall function.

Differential Revision: https://reviews.llvm.org/D102919
The file was addedllvm/test/Transforms/InstCombine/pow_fp_int16.ll
Commit f3a27511c9f820f12a16445a7c130cb34693608d by jingu.kang
[SimpleLoopUnswitch] Port partially invariant unswitch from LoopUnswitch to SimpleLoopUnswitch

This re-enables commit 107d19eb017ff6734986af077eb2e9f6600114a9 with bug fixes.

Differential Revision: https://reviews.llvm.org/D99354
The file was addedllvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch-mssa-threshold.ll
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch.ll
The file was addedllvm/test/Transforms/SimpleLoopUnswitch/endless-unswitch.ll
The file was addedllvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch-update-memoryssa.ll
Commit 39b3c00ec33f50837d9fe52b0b56c7d11eff377f by thakis
Add a toplevel .mailmap file

See "Proposal: Adding a toplevel .mailmap file" on llvm-dev:
https://lists.llvm.org/pipermail/llvm-dev/2021-May/150741.html

Differential Revision: https://reviews.llvm.org/D103360
The file was added.mailmap
Commit e008d0123c5cbc224e0ef2392482a94c96783694 by thakis
[mailmap] Use my chromium address as my canonical email address
The file was modified.mailmap
Commit 2368170a8d943a32f4024db1b830c8301df67b7f by Pushpinder.Singh
[AMDGPU][Libomptarget][NFC] Remove atmi_place_t

atmi_place_t has been replaced with int DeviceId.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D103508
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/rt.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/machine.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Commit 78ce89bb1e8049e81aea3e374feab4f5900d257c by thakis
[lld/mac] Implement -reexport_framework, -reexport_library, -reexport-l

These are slightly easier-to-use versions of -sub_library and -sub_umbrella.

Differential Revision: https://reviews.llvm.org/D103497
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/test/MachO/sub-library.s
The file was modifiedlld/MachO/Options.td
Commit b25546a4b40675b596dcfdbfd491b10fa12d88e6 by Pushpinder.Singh
[AMDGPU][Libomptarget][NFC] Remove bunch of dead structs

Dropped structs are atmi_machine_t, atmi_device_t and atmi_memory_t

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D103509
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/atmi.h
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
Commit e971099a9b9b83680d9fa85b7b3b4a1e5f37a845 by irina.dobrescu
[AArch64] Optimise bitreverse lowering in ISel

Differential Revision: https://reviews.llvm.org/D103105
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/bitreverse.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/neon_rbit.ll
Commit 1cea1189c200fcee00be4262bf6915998531989e by fraser
[RISCV][NFC] Add '+mattr=+experimental-v' to RVV test
The file was modifiedllvm/test/CodeGen/RISCV/rvv/zvlsseg-copy.mir
Commit f84b908f89af76002112acbf915ab0677b99c01c by gysit
[mlir][linalg] Cleanup LinalgOp usage in fusion on tensors (NFC).

Replace the uses of deprecated Structured Op Interface methods in FusionOnTensors.cpp. This patch is based on https://reviews.llvm.org/D103394.

Differential Revision: https://reviews.llvm.org/D103471
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
Commit e1a150846d373f547e6b81c737333da27c4d29d7 by gysit
[mlir][linalg] Update result position calculation in the Structured Op Interface (NFC).

Remove two unused methods and replace the implementation of getResultsPositionInLoopsToShapeMap. The patch is based on https://reviews.llvm.org/D103394.

Differential Revision: https://reviews.llvm.org/D103397
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
Commit ba99359796bae116d2bd6b2ac828f3e1e664031f by david.spickett
[compiler-rt][asan] Enable unwind-tables for Arm Linux

Since https://reviews.llvm.org/D102046 some tests have
been falling back to fast unwinding on our Thumb bot.

This fails because fast unwinding does not work on Thumb.
By adding the extra information we ensure this does not happen
during testing, but the built library can still fast unwind
as a last resort.

Since there are some situations it can work in, like if
eveything is built with clang. During testing we've got gcc
built system libs and clang built tests.

The same change was made for sanitizer-common in
https://reviews.llvm.org/D96337.

Reviewed By: zatrazz

Differential Revision: https://reviews.llvm.org/D103463
The file was modifiedcompiler-rt/test/asan/CMakeLists.txt
Commit 0195e594feccaffc483a3780e6d65daeb72922a4 by daniil.fukalov
[TTI] NFC: Change getIntImmCodeSizeCost to return InstructionCost.

This patch migrates the TTI cost interfaces to return an InstructionCost.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D102915
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
Commit 3472d3fd9d4a5e55f9435dcb27a100d3efb2d484 by sander.desmalen
[LV] NFC: Replace custom getMemInstValueType by llvm::getLoadStoreType.

llvm::getLoadStoreType was added recently and has the same implementation
as 'getMemInstValueType' in LoopVectorize.cpp. Since there is no
value in having two implementations, this patch removes the custom LV
implementation in favor of the generic one defined in Instructions.h.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 034503e9d2d66ab75679ab5d2ee0848f4de3cac7 by sander.desmalen
[LV] NFC: Remove redundant isLegalMasked(Gather|Scatter) functions.

This NFC change follows from conversation in D102437, where it was discussed
to remove these functions as a separate patch.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 81f7607f7c7dadc9da2345455fa8e6f5eb9788f1 by sd.fertile
[PowerPC][AIX} FIx AIX bootstrap build.

A recent patch:
https://reviews.llvm.org/rGe0921655b1ff8d4ba7c14be59252fe05b705920e
changed clangs AIX bitfield handling to use 4-byte bitfield containers,
matching XLs behavior. This change triggers static assert failures when
bootstrapping. Change the macro we check to enable bitfield packing on
AIX to `__clang__` which is defined by both xlclang and clang.

Differential Revision: https://reviews.llvm.org/D103474
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
Commit 8c363efecc5686055c19ef44941322a2c26b07cf by david.spickett
[compiler-rt][lsan] Increase libdl_deadlock test timeout

We have been seeing this test fail intermittently on our
2 stage AArch64 bot.

As far back as https://lab.llvm.org/buildbot/#/builders/53/builds/2694

Likely due to a lack of resources at certain times on the
shared machine. Up the time limit to give us some more room.

(this limit only applies to the watchdog thread, so if the
test passes then it won't take 20s)
The file was modifiedcompiler-rt/test/lsan/TestCases/Linux/libdl_deadlock.cpp
Commit d41cb6bb2607fa5c7a9df2b3dab361353657d225 by sander.desmalen
[LV] Build and cost VPlans for scalable VFs.

This patch uses the calculated maximum scalable VFs to build VPlans,
cost them and select a suitable scalable VF.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D98722
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-vectorization.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/masked-op-cost.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
Commit ff6fe93f21967bdfb8dd0e818c2207c209aa2eee by irina.dobrescu
[AArch64][NFC] Fix failing cost-model test
The file was modifiedllvm/test/Analysis/CostModel/AArch64/bitreverse.ll
Commit cbde2487367a54355329c5fb942914627e01e598 by jotrem
Add getDemandedBits for uses.

Add getDemandedBits method for uses so we can query demanded bits for each use.  This can help getting better use information. For example, for the code below
define i32 @test_use(i32 %a) {
  %1 = and i32 %a, -256
  %2 = or i32 %1, 1
  %3 = trunc i32 %2 to i8 (didn't optimize this to 1 for illustration purpose)
  ... some use of %3
  ret %2
}
if we look at the demanded bit of %2 (which is all 32 bits because of the return), we would conclude that %a is used regardless of how its return is used. However, if we look at each use separately, we will see that the demanded bit of %2 in trunc only uses the lower 8 bits of %a which is redefined, therefore %a's usage depends on how the function return is used.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D97074
The file was modifiedllvm/test/Analysis/DemandedBits/basic.ll
The file was modifiedllvm/include/llvm/Analysis/DemandedBits.h
The file was modifiedllvm/lib/Analysis/DemandedBits.cpp
Commit 61c65d8e4a29610bd1ab498eba8f892ffc0af023 by Yaxun.Liu
Fix comments in test cuda-kernel-call.cu
The file was modifiedclang/test/Parser/cuda-kernel-call.cu
Commit 2f951ca98b7a12fed7ac4ebf790a0fbabc02d80b by davg
[clangd] Add support for the `defaultLibrary` semantic token modifier

This allows us to differentiate symbols from the system (e.g. system
includes or sysroot) differently than symbols defined in the user's
project, which can be used by editors to display them differently.

This is currently based on `FileCharacteristic`, but we can
consider alternatives such as `Sysroot` and file paths in the future.

Differential Revision: https://reviews.llvm.org/D101554
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.h
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/test/semantic-tokens.test
Commit 369c64839946d89cf5697550b6feeea031b2f270 by Louis Dionne
[clang] Implement the using_if_exists attribute

This attribute applies to a using declaration, and permits importing a
declaration without knowing if that declaration exists. This is useful
for libc++ C wrapper headers that re-export declarations in std::, in
cases where the base C library doesn't provide all declarations.

This attribute was proposed in http://lists.llvm.org/pipermail/cfe-dev/2020-June/066038.html.

rdar://69313357

Differential Revision: https://reviews.llvm.org/D90188
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/DeclNodes.td
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was addedclang/test/SemaCXX/using-if-exists.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/Parser/using-if-exists-attr.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/test/SemaCXX/attr-deprecated.cpp
Commit f1a0c5d67ca9600d3a08d1d81ad1da9b75a60138 by aschwaighofer
[coro async] Add the swiftasync attribute to the resume partial function

Transfer the swiftasync attribute to the resume partial function according to
suspend.async specification. It's first argument denotes which argument is the
async context.

rdar://71499498

Differential Revision: https://reviews.llvm.org/D103285
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit 476e4d65d482d75f789db092316327191f18dbcd by thakis
[lld/mac] Address review feedback and improve a comment

I forgot to move the message() call around as requested in D103428
before committing that change. Move it now.

Also, improve the ordinal uniq'ing comment. I hadn't realized that the
distinct-but-identical files happen with --reproduce and not in general.

No behavior change.

Differential Revision: https://reviews.llvm.org/D103522
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/DriverUtils.cpp
Commit 4316b0e59cfa4b65ce59f055ba271519679f9750 by stephen.tozer
[LoopStrengthReduce] Ensure that debug intrinsics do not affect LSR's output

During Loop Strength Reduce, if the terminating condition for the loop
is not immediately adjacent to the terminating branch and it has more
than one use, a clone of the condition will be created just before the
terminating branch and will be used as the branch condition. Currently,
whether the instructions are "immediately adjacent" is determined by
checking whether the next instruction after the condition is the
terminating branch; this is incorrect however, as the presence of a
debug intrinsic between the two will result in a change to the output.
This is fixed by using getNextNonDebugInstruction() instead.

Differential Revision: https://reviews.llvm.org/D103033
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll
Commit e14fd7d8797b7a6c5ceb8a8dc832161a1c90c08e by thakis
[lld/mac] Don't strip explicit dylib also mentioned in LC_LINKER_OPTION

Noticed by Jez in D103499.

Differential Revision: https://reviews.llvm.org/D103521
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/test/MachO/dead-strip-dylibs.s
Commit 66a1ecd2cf905d6119477516601126f44be297a8 by thakis
[lld/mac] Implement -needed_framework, -needed_library, -needed-l

These allow overriding dead_strip_dylibs.

Differential Revision: https://reviews.llvm.org/D103499
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/InputFiles.h
The file was modifiedlld/test/MachO/dead-strip-dylibs.s
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/MachO/Options.td
Commit a5645513dba702216672bc31333e9c173b3a56c5 by thakis
[lld/mac] Implement -dead_strip

Also adds support for live_support sections, no_dead_strip sections,
.no_dead_strip symbols.

Chromium Framework 345MB unstripped -> 250MB stripped
(vs 290MB unstripped -> 236M stripped with ld64).

Doing dead stripping is a bit faster than not, because so much less
data needs to be processed:

    % ministat lld_*
    x lld_nostrip.txt
    + lld_strip.txt
        N           Min           Max        Median           Avg        Stddev
    x  10      3.929414       4.07692     4.0269079     4.0089678   0.044214794
    +  10     3.8129408     3.9025559     3.8670411     3.8642573   0.024779651
    Difference at 95.0% confidence
            -0.144711 +/- 0.0336749
            -3.60967% +/- 0.839989%
            (Student's t, pooled s = 0.0358398)

This interacts with many parts of the linker. I tried to add test coverage
for all added `isLive()` checks, so that some test will fail if any of them
is removed. I checked that the test expectations for the most part match
ld64's behavior (except for live-support-iterations.s, see the comment
in the test). Interacts with:
- debug info
- export tries
- import opcodes
- flags like -exported_symbol(s_list)
- -U / dynamic_lookup
- mod_init_funcs, mod_term_funcs
- weak symbol handling
- unwind info
- stubs
- map files
- -sectcreate
- undefined, dylib, common, defined (both absolute and normal) symbols

It's possible it interacts with more features I didn't think of,
of course.

I also did some manual testing:
- check-llvm check-clang check-lld work with lld with this patch
  as host linker and -dead_strip enabled
- Chromium still starts
- Chromium's base_unittests still pass, including unwind tests

Implemenation-wise, this is InputSection-based, so it'll work for
object files with .subsections_via_symbols (which includes all
object files generated by clang). I first based this on the COFF
implementation, but later realized that things are more similar to ELF.
I think it'd be good to refactor MarkLive.cpp to look more like the ELF
part at some point, but I'd like to get a working state checked in first.

Mechanical parts:
- Rename canOmitFromOutput to wasCoalesced (no behavior change)
  since it really is for weak coalesced symbols
- Add noDeadStrip to Defined, corresponding to N_NO_DEAD_STRIP
  (`.no_dead_strip` in asm)

Fixes PR49276.

Differential Revision: https://reviews.llvm.org/D103324
The file was modifiedlld/MachO/ConcatOutputSection.cpp
The file was modifiedlld/MachO/Symbols.cpp
The file was addedlld/MachO/MarkLive.cpp
The file was modifiedlld/MachO/SyntheticSections.h
The file was addedlld/MachO/MarkLive.h
The file was modifiedlld/MachO/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/lld/MachO/BUILD.gn
The file was addedlld/test/MachO/dead-strip.s
The file was modifiedlld/test/MachO/mh-header-link.s
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/Options.td
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/MachO/SymbolTable.cpp
The file was modifiedlld/MachO/UnwindInfoSection.h
The file was modifiedlld/MachO/Config.h
The file was modifiedlld/MachO/SymbolTable.h
The file was modifiedlld/MachO/Symbols.h
The file was modifiedlld/MachO/Writer.cpp
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libc++abi.tbd
The file was modifiedlld/MachO/InputSection.h
The file was modifiedlld/MachO/UnwindInfoSection.cpp
The file was modifiedlld/MachO/MapFile.cpp
The file was modifiedlld/test/MachO/sectcreate.s
Commit 7ba4e96ede0fdc73a9d12e42e51f81589213f7a2 by hansang.bae
[OpenMP] Use new task type/flag for taskwait depend events.

Differential Revision: https://reviews.llvm.org/D103464
The file was modifiedopenmp/runtime/test/ompt/tasks/task_if0-depend.c
The file was modifiedopenmp/runtime/src/kmp_taskdeps.cpp
The file was modifiedopenmp/runtime/test/ompt/callback.h
Commit 5ecfdb51230c55f987bff86c52c7e57adb0eae4f by thakis
[lld/mac] try to fix tests after a5645513dba

My linux system doesn't like the `grep` for some reason,
but FileCheck seems to work.
The file was modifiedlld/test/MachO/dead-strip.s
Commit 06e047227d71b2c1c477e280172abed0f1eed2c8 by Abhina.Sreeskantharajan
[libcxx][NFC] Tidy up calculation of __nbuf in num_put::do_put, and add comments

In 07ef8e679621 and 3ed9f6ebdeeb, `__nbuf` started to diverge from the amount
of space that was actually needed for the buffer. For 32-bit longs for example,
we allocate a buffer that is one larger than needed. Moreover, it is no longer
clear exactly where the extra +1 or +2 comes from - they're just numbers pulled
from thin air. This PR cleans up how `__nbuf` is calculated, and adds comments
to further clarify where each part comes from.

Specifically, it corrects the underestimation of the max size buffer needed
that the above two commits had to compensate for. The root cause looks to be
the use of signed type parameters to numeric_limits<>::digits. Since digits
only counts non-sign bits, the calculation was acting as though (for a signed
64-bit type) the longest value we would print was 2^63 in octal. However,
printing in octal treats values as unsigned, so it is actually 2^64. Thus,
using unsigned types and changing the final +2 to a +1 is probably a better
option.

Reviewed By: #libc, ldionne, Mordante

Differential Revision: https://reviews.llvm.org/D103339
The file was modifiedlibcxx/include/locale
Commit f7655f3df394d90a340dc09465fbb752bef4bae6 by jonathan.l.peyton
[OpenMP] Fix improper printf format specifier
The file was modifiedopenmp/runtime/src/ompt-general.cpp
Commit fcfaed4ae6d718ebfe18eef7f5ddbef2a23ef413 by Adrian Prantl
Remove redundant comparisons (NFC)
The file was modifiedllvm/lib/IR/DebugInfo.cpp
Commit e598ab1c06dd663535f69a1a52116df1ca9024f4 by joker.eph
Add missing CMake dependency for mlir/lib/Reducer (NFC)

The `OptReductionPass.cpp` file depends on the TableGen generated
`mlir/Reducer/Passes.h.inc` file.
The file was modifiedmlir/lib/Reducer/CMakeLists.txt
Commit 90f207a781518e6210d3c99ab35d7dfc8f84a292 by joker.eph
Fix CMake error: TableGen targets must be in the DEPENDS list instead of LINK_LIBS
The file was modifiedmlir/lib/Reducer/CMakeLists.txt
Commit 8349ac9aa944525e2da5ebd4c7a09b9a98aab0eb by spatel
[x86] add test for sext-of-setcc; NFC

D103462
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
Commit ede3982792dfc6c00a4f185f88ce0e799e2545af by spatel
[SDAG] allow more cast folding for vector sext-of-setcc

This is a follow-up to D103280 that eases the use restrictions,
so we can handle the motivating case from:
https://llvm.org/PR50055

The loop code is adapted from similar use checks in
ExtendUsesToFormExtLoad() and SliceUpLoad(). I did not see an
easier way to filter out non-chain uses of load values.

Differential Revision: https://reviews.llvm.org/D103462
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
Commit 0ec761c3fc2a4bf8319c6eb38e46f9a201b79141 by Raphael Isemann
[lldb] Preserve type sugar when using SBValue::Dereference on C++ references

When checking for type properties we usually want to strip all kind of type
sugar from the type. For example, sugar like Clang's ElaboratedType or typedefs
rarely influence the fundamental behaviour of a type such as its byte size.

However we always need to preserve type sugar for everything else as it does
matter for users that their variable of type `size_t` instead of `unsigned long`
for example.

This patch fixes one such bug when trying to use the SBValue API to dereference
a type.

Reviewed By: werat, shafik

Differential Revision: https://reviews.llvm.org/D103532
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was addedlldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py
The file was addedlldb/test/API/lang/cpp/dereferencing_references/main.cpp
The file was addedlldb/test/API/lang/cpp/dereferencing_references/Makefile
Commit b532455ac7038bfb59b858a1bbcb6d2941f5dbcc by joker.eph
[MLIR] Fix Standalone dialect test to work in out-of-tree builds

When LLVM and MLIR are built as subprojects (via add_subdirectory),
the CMake configuration that indicates where the MLIR libraries are is
not necessarily in the same cmake/ directory as LLVM's configuration.
This patch removes that assumption about where MLIRConfig.cmake is
located.

(As an additional none, the %llvm_lib_dir substitution was never
defined, and so find_package(MLIR) in the build was succeeding for
other reasons.)

Reviewed By: stephenneuendorffer

Differential Revision: https://reviews.llvm.org/D103276
The file was modifiedmlir/test/CMakeLists.txt
The file was modifiedmlir/test/Examples/standalone/lit.local.cfg
The file was modifiedmlir/test/lit.site.cfg.py.in
The file was modifiedmlir/test/Examples/standalone/test.toy
Commit d0e159334f9d1285ec35cf71465358c47141618c by yitzhakm
Add matchers for gtest's ASSERT_THAT, EXPECT_THAT, ON_CALL and EXPECT_CALL

This patch adds support for matching gtest's ASSERT_THAT, EXPECT_THAT, ON_CALL and EXPECT_CALL macros.

Reviewed By: ymandel, hokein

Differential Revision: https://reviews.llvm.org/D103195
The file was modifiedclang/unittests/ASTMatchers/GtestMatchersTest.cpp
The file was modifiedclang/include/clang/ASTMatchers/GtestMatchers.h
The file was modifiedclang/lib/ASTMatchers/GtestMatchers.cpp
Commit 8c948b18e9d899a36e819a282ce60f196ab73376 by joker.eph
Fix -Wsign-compare warning (NFC)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
Commit b0572abf72fd4aafbb56bc41350e41bdfd96cdde by gclayton
Improve performance when parsing symbol tables in mach-o files.

Some larger projects were loading quite slowly with the current LLDB on macOS and macOS simulator builds. I did some instrument traces and found 3 main culprits:
- a LLDB timer that was put into a function that was called too often
- a std::set that was keeping track of the address of symbols that were already added
- a unnamed function generator in ObjectFile that was going slow due to allocations

In order to see this in action I ran the latest LLDB on a large application with many frameworks using the following method:

(lldb) script import time; start_time = time.perf_counter()
(lldb) file Large.app
(lldb) script print(time.perf_counter() - start_time)

I first range "sudo purge" to clear the system file caches to simulate a cold startup of the debugger, followed by two iterations with warm file caches.

Prior to this fix I was seeing the following timings:

17.68 (cold)
14.56 (warm 1)
14.52 (warm 2)

After this fix I was seeing:

11.32 (cold)
8.43 (warm 1)
8.49 (warm 2)

Differential Revision: https://reviews.llvm.org/D103504
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit 6745ffe4fa1c35778f88cffd671b7a7a936fb4d9 by xur
[SampleFDO] New hierarchical discriminator for FS SampleFDO (ProfileData part)

This patch was split from https://reviews.llvm.org/D102246
[SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO
This is mainly for ProfileData part of change. It will load
FS Profile when such profile is detected. For an extbinary format profile,
create_llvm_prof tool will add a flag to profile summary section.
For other format profiles, the users need to use an internal option
(-profile-isfs) to tell the compiler that the profile uses FS discriminators.

This patch also simplified the bit API used by FS discriminators.

Differential Revision: https://reviews.llvm.org/D103041
The file was modifiedllvm/include/llvm/CodeGen/MIRFSDiscriminator.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/CodeGen/MIRFSDiscriminator.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/lib/Target/X86/X86InsertPrefetch.cpp
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
The file was addedllvm/test/Transforms/SampleProfile/Inputs/fsafdo.prof
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was addedllvm/test/Transforms/SampleProfile/Inputs/fsafdo.extbinary.afdo
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was addedllvm/test/Transforms/SampleProfile/fsafdo_test.ll
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/include/llvm/Support/Discriminator.h
Commit 644f722b369d9d7e0bef3694d11c48d7d333d36a by jpienaar
[mlir-lsp] Report range of potential identifier starting at location of diagnostic

Currently the diagnostics reports the file:line:col, but some LSP
frontends require a non-empty range. Report either the range of an
identifier that starts at location, or a range of 1. Expose the id
location to range helper and reuse here.

Differential Revision: https://reviews.llvm.org/D103482
The file was modifiedmlir/test/mlir-lsp-server/diagnostics.test
The file was modifiedmlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
The file was modifiedmlir/include/mlir/Parser/AsmParserState.h
The file was modifiedmlir/lib/Parser/AsmParserState.cpp
Commit cfe32dd03f1645d1fc28ae194f30c135a408fc41 by spatel
[x86] add signed compare variant test for PR50055; NFC
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
Commit 1ed2e9b9a02f9cde9108233c045edde0d5893f34 by stefanp
[NFC] Remove variable that was set but not used.

The buildbot ppc64le-lld-multistage-test has been failing because the variable
Tag in Waymaking.h is set but not used. This patch removes that varaible.
The file was modifiedllvm/include/llvm/ADT/Waymarking.h
Commit 70804f2a2f7b87227a873cd6d8852ad295068e79 by browneee
Fix dfsan handling of musttail calls.

Without this change, a callsite like:
  [[clang::musttail]] return func_call(x);
will cause an error like:
  fatal error: error in backend: failed to perform tail call elimination
  on a call site marked musttail
due to DFSan inserting instrumentation between the musttail call and
the return.

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D103542
The file was addedllvm/test/Instrumentation/DataFlowSanitizer/musttailcall.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Commit 595b1683b79be089c3f72e7b3dcee4d1a9f6327b by dblaikie
[llvm-dwp] Skip type unit debug info sections

This patch makes llvm-dwp skip debug info sections that may not be encoding a compile unit.
In DWARF5, debug info sections are also used for type units. As in preparation to support type units,
make llvm-dwp aware of other uses of debug info sections but skip them for now.

The patch first records all .debug_info sections, then goes through them one by one and records
the cu debug info section for writing the index unit, and copies that section to the final dwp output
info section. If it's not a compile unit, skip.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102312
The file was addedllvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v4.s
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was modifiedllvm/test/tools/llvm-dwp/X86/invalid_cu_header_length.s
The file was addedllvm/test/tools/llvm-dwp/X86/invalid_tu_header_length.s
The file was addedllvm/test/tools/llvm-dwp/X86/cu_and_tu_info_section_v5.s
The file was addedllvm/test/tools/llvm-dwp/X86/no_cu_found.s
The file was addedllvm/test/tools/llvm-dwp/X86/multiple_debug_info_sections_in_dwp.s
The file was removedllvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v5.s
Commit 0718ac706d4df719a0f019d1c0c3050c96ac2b8b by spatel
[SDAG] allow cast folding for vector sext-of-setcc with signed compare

This extends 434c8e013a2c and ede3982792df to handle signed
predicates by sign-extending the setcc operands.

This is not shown directly in https://llvm.org/PR50055 ,
but the pattern is visible by changing the unsigned convert
to signed in the source code.
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 0289a2692e0e1b6b846f0627262d15daa58160ac by riddleriver
[mlir] Add support for filtering patterns based on debug names and labels

This revision allows for attaching "debug labels" to patterns, and provides to FrozenRewritePatternSet for  filtering patterns based on these labels (in addition to the debug name of the pattern). This will greatly simplify the ability to write tests targeted towards specific patterns (in cases where many patterns may interact),  will also simplify debugging pattern application by observing how application changes when enabling/disabling specific patterns.

To enable better reuse of pattern rewrite options between passes, this revision also adds a new PassUtil.td file to the Rewrite/ library that will allow for passes to easily hook into a common interface for pattern debugging. Two options are used to seed this utility, `disable-patterns` and `enable-patterns`, which are used to enable the filtering behavior indicated above.

Differential Revision: https://reviews.llvm.org/D102441
The file was addedmlir/include/mlir/Rewrite/PassUtil.td
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/include/mlir/Pass/PassOptions.h
The file was modifiedmlir/docs/PatternRewriter.md
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/include/mlir/Rewrite/FrozenRewritePatternSet.h
The file was addedmlir/test/Transforms/test-canonicalize-filter.mlir
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/lib/Rewrite/FrozenRewritePatternSet.cpp
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was modifiedmlir/test/Pass/pipeline-options-parsing.mlir
Commit 3f70b4e0336001ca379490d1481024ddb87a3501 by jpienaar
[mlir-lsp] Avoid empty range diagnostic
The file was modifiedmlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
Commit 8beaca8c1493f576431c3687329860e918616cd9 by erich.keane
Remove unused function from a previous iteration of unique-stable-name
The file was modifiedclang/lib/Sema/TreeTransform.h
Commit fa51c5af5d5de25a7824a939e90734ae5ca5448d by riddleriver
[mlir] Resolve TODO and use the pass argument instead of the TypeID for registration

This simplifies various pieces of code that interact with the pass registry, e.g. this removes the need to register passes to get accurate pass pipelines descriptions when generating crash reproducers.

Differential Revision: https://reviews.llvm.org/D101880
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/include/mlir/Pass/PassRegistry.h
The file was modifiedmlir/lib/Pass/PassRegistry.cpp
Commit 6e2d3049d25bcd96af7b0af8d572f3a7ccefecde by dblaikie
[llvm-dwp] Adding support for v5 index writing

This patch adds general support for DWARFv5 index writing.
In particular, this means only allowing inputs with one version,
either DWARFv5 or DWARFv4.

This patch adds the .debug_macro section as an example,
but the DWARFv5 type support and loc and rangelists are still
missing (and upcoming).

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D102315
The file was modifiedllvm/test/tools/llvm-dwp/X86/info-v5.s
The file was addedllvm/test/tools/llvm-dwp/X86/debug_macro_v5.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/unsupported_tu_index_version.s
The file was addedllvm/test/tools/llvm-dwp/X86/incompatible_cu_index_versions.s
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was removedllvm/test/tools/llvm-dwp/X86/unsupported_cu_index_version.s
Commit 316da543af14fb4b40ef0377fe770f430745f5ea by dblaikie
[llvm-dwp] Add support for DWARFv5 type units                                                                                                                                                                ...

This patch adds support for DWARFv5 type units: parsing from
the .debug_info section, and writing index to the type unit index.
Previously, the type units were part of the .debug_types section
which is no longer used in DWARFv5.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101818
The file was addedllvm/test/tools/llvm-dwp/X86/tu_units_v5.s
The file was modifiedllvm/test/tools/llvm-dwp/X86/cu_and_tu_info_section_v5.s
The file was addedllvm/test/tools/llvm-dwp/X86/type_dedup_v5.test
The file was modifiedllvm/test/tools/llvm-dwp/X86/missing_tu_index.test
The file was addedllvm/test/tools/llvm-dwp/Inputs/type_dedup_v5/a.s
The file was addedllvm/test/tools/llvm-dwp/X86/incompatible_tu_index_version.s
The file was removedllvm/test/tools/llvm-dwp/X86/unsupported_tu_index_version.s
The file was addedllvm/test/tools/llvm-dwp/Inputs/type_dedup_v5/b.s
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
Commit de51c48ed3e0934855b107d4524f49c5edfcb3cc by dblaikie
[llvm-dwp] Add support for rnglists and loclists

This patch updates llvm-dwp to include rnglists and loclists
when parsing debug sections.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D101894
The file was addedllvm/test/tools/llvm-dwp/X86/loclists.s
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was addedllvm/test/tools/llvm-dwp/X86/rnglists.s
Commit c89dff5855bb32d47751cce087537c2b12a90f1b by riddleriver
[mlir][NFC] Split the non-templated bits out of IROperand into a base class

This removes the need to define the derived Operand class before the derived
Value class. The major benefit of this refactoring is that we no longer need
the OpaqueValue class, as OpOperand can now be defined after Value. As part of
this refactoring the BlockOperand and OpOperand classes are moved out of
UseDefLists.h and to more suitable locations in BlockSupport and Value. After
this change, UseDefLists.h is almost entirely composed of generic use def utilities.

Differential Revision: https://reviews.llvm.org/D103353
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedmlir/include/mlir/IR/BlockSupport.h
The file was modifiedmlir/include/mlir/IR/UseDefLists.h
The file was modifiedmlir/lib/IR/Value.cpp
Commit 05d164b25c403c0ab9a114f25e750c6410d4d86c by Louis Dionne
Revert "[libc++] NFC: Move unwrap_iter to its own header"

This reverts commit 924ea3bb53 *again*, this time because it broke the
LLDB build with modules. We need to figure out what's up with the libc++
modules build once and for all.

Differential Revision: https://reviews.llvm.org/D103369
The file was modifiedlibcxx/include/algorithm
The file was removedlibcxx/include/__algorithm/unwrap_iter.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/module.modulemap
Commit 01ba355268071bea0b9432b51b6a66b5be159da8 by llvmgnsyncbot
[gn build] Port 05d164b25c40
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 13659f48a1d7814fe893d2383acdc0b0313740a9 by richard
PR50337, PR50561: Fix determination of whether a template parameter list
contains constrained parameters.
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/test/SemaTemplate/concepts.cpp
Commit c729f2a48a6ef6b20554494c5630082c89c3680c by angandhi
Differential Revision: https://reviews.llvm.org/D99812
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
The file was addedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-args-lowering.ll
The file was removedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
Commit 344e919b1a33cd69fe023cbe5a49bbdf4f5ea037 by minyihh
[CodeGen][NFC] Remove unused virtual function

`TargetFrameLowering::emitCalleeSavedFrameMoves` with 4 arguments is not
used anywhere in CodeGen. Thus it shouldn't be exposed as a virtual
function. NFC.

Differential Revision: https://reviews.llvm.org/D103328
The file was modifiedllvm/lib/Target/M68k/M68kFrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/M68k/M68kFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
Commit d8e0ae9a76a62bdc6117630d59bf9967ac9bb4ea by erich.keane
[SYCL] Fix __builtin_sycl_unique_stable_name to work on windows/spir

In the case where the device is an itanium target, and the host is a
windows target, we were getting the names wrong, since in the itanium
case we filter by lambda-signature.

The fix is to always filter by the signature rather than just on
non-windows builds. I considered doing the reverse (that is, checking
the aux-triple), but doing so would result in duplicate lambda mangling
numbers (from linux reusing the same number for different signatures).
The file was addedclang/test/CodeGenSYCL/unique_stable_name_windows_diff.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit 6c2a4e28f4d1c0f525c53302c08808c1b4f8073b by kadircet
[clangd] TUScheduler uses last active file for file-less queries

This enables requests like workspaceSymbols to be dispatched using the
file user was most recently operating on. A replacement for D103179.

Differential Revision: https://reviews.llvm.org/D103476
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
Commit dc10bf1a4ed0b34b27284b5260ce5c6cc132bd6f by kadircet
[clangd][Protocol] Drop optional from WorkspaceEdit::changes

This is causing weird code patterns in various places and I can't see
any difference between None and empty change list. Neither in the current use
cases nor in the spec.

Differential Revision: https://reviews.llvm.org/D103449
The file was modifiedclang-tools-extra/clangd/Diagnostics.cpp
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
Commit 9f5d783d467523d6218a63883b45192c8a875c96 by llvm-dev
[X86][SSE] combineScalarToVector - only reuse broadcasts for scalar_to_vector if the source operands scalar types match

We were hitting an issue when the scalar_to_vector source was being implicitly truncated (in this case to i8 to vXi1) but we were also using the i8 source in a broadcast to a vXi8 value.

Fixes PR50374
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/pr50374.ll
Commit e65242e37a7284dc2f24c7f686867da665af3a63 by walter erquinigo
[NFC][trace][intel-pt] small test fixes

These tests started failing after a change in the disassembler. The fix
is pretty simple though.
The file was modifiedlldb/source/Target/Trace.cpp
The file was modifiedlldb/test/API/commands/trace/TestTraceDumpInstructions.py
Commit 07c2a912ddf1641b969fdbae3418f77c362f67c6 by rnk
Add a .mailmap entry for my two email addresses

I'm using rnk@google.com as the canonical email for now, but I guess I
can always update .mailmap in the future.
The file was modified.mailmap
Commit 9e9ac4138890425b92d2196344ab59305caa32d7 by kadircet
[clangd] Drop optional on ExternalIndexSpec

Differential Revision: https://reviews.llvm.org/D100308
The file was modifiedclang-tools-extra/clangd/Config.h
The file was modifiedclang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
The file was modifiedclang-tools-extra/clangd/index/ProjectAware.h
The file was modifiedclang-tools-extra/clangd/index/ProjectAware.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ProjectAwareIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/ConfigCompile.cpp
Commit b73a1e67782bb56552c0f343cebe93985a85293d by amy.zhuang
[NFC] Test commit. Fix typos.
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
Commit b5dd421a3afa02907777fddf61073274e2a4aa9a by phosek
[Fuchsia] Use libc++abi on Windows in Fuchsia toolchain

Don't use vcruntime, this makes our toolchain more hermetic and avoids
some compiler errors we've encountered in compiler-rt.

Differential Revision: https://reviews.llvm.org/D103555
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit 07a6beb402150d25ec7c93a5747520ac2804731d by llvm-project
[Clang][OpenMP] Emit dependent PreInits before directive.

The PreInits of a loop transformation (atm moment only tile) include the computation of the trip count. The trip count is needed by any loop-associated directives that consumes the transformation-generated loop. Hence, we must ensure that the PreInits of consumed loop transformations are emitted with the consuming directive.

This is done by addinging the inner loop transformation's PreInits to the outer loop-directive's PreInits. The outer loop-directive will consume the de-sugared AST such that the inner PreInits are not emitted twice. The PreInits of a loop transformation are still emitted directly if its generated loop(s) are not associated with another loop-associated directive.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D102180
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/tile_codegen_tile_for.cpp
The file was addedclang/test/OpenMP/tile_codegen_for_dependent.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
Commit 3e5ddb83e387281bc9b3dea8766bcc633a6fcee5 by gandhi21299
Revert "Differential Revision: https://reviews.llvm.org/D99812"

This reverts commit c729f2a48a6ef6b20554494c5630082c89c3680c.
The file was removedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-args-lowering.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
Commit 875ff8e059b73f65f5ad08d416a0a9caf0673d1a by Louis Dionne
[libc++] Enable tests for the experimental library by default

This matches the fact that we build the experimental library by default.
Otherwise, by default we'd be building the library but not testing it,
which is inconsistent.

Differential Revision: https://reviews.llvm.org/D102109
The file was modifiedlibcxx/utils/libcxx/test/params.py
The file was modifiedlibcxx/test/configs/libcxx-trunk-static.cfg.in
The file was modifiedlibunwind/test/lit.site.cfg.in
The file was modifiedlibcxxabi/test/lit.site.cfg.in
Commit 1c5ff0b03f4e5b03619f58634396b5370d61b086 by gandhi21299
[PowerPC] [GlobalISel] Implementation of formal arguments lowering in the IRTranslator for the PPC backend

Differential Revision: https://reviews.llvm.org/D99812
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
The file was removedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was addedllvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-args-lowering.ll
The file was modifiedllvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
Commit 60ce8babf77e65836d844741fbe50f297ad00781 by davelee.com
[coro] Preserve scope line for compiler generated functions

Coro-split functions with an active suspend point have their scope line set to
the line of the suspend point. However for compiler generated functions, this
results in debug info with unconventional results: a file named
`<compiler-generated>` with a non-zero line number. The convention for
`<compiler-generated>` is that the line number is zero.

This change propagates the scope line only for non-compiler generated
functions.

Differential Revision: https://reviews.llvm.org/D102412
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit c980d93d91280a8e0a6618ece1960bb71c45d950 by i
[MC] Change "unexpected tokens" to "expected newline" and remove unneeded "in .xxx directive"
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/test/MC/COFF/cv-fpo-errors.s
Commit aba67ba7840a771262ddc72e090bd653170ff85a by i
[MC] Delete unneeded MCAsmParser &Parser
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Commit effb87dfa810a28e763f914fe3e6e984782cc846 by i
[profile] Add -fprofile-instr-generate tests for weak definition and various linkages
The file was addedcompiler-rt/test/profile/Windows/coverage-linkage-lld.cpp
The file was addedcompiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
The file was addedcompiler-rt/test/profile/Windows/coverage-weak-lld.cpp
The file was addedcompiler-rt/test/profile/Linux/coverage-weak-lld.cpp
The file was addedcompiler-rt/test/profile/Windows/coverage-linkage.cpp
The file was addedcompiler-rt/test/profile/Linux/coverage-linkage.cpp
Commit 87c43f3aa99d778755c7f5420e955885f855ecad by i
[InstrProfiling] Delete linkage/visibility toggling for Windows

The linkage/visibility of `__profn_*` variables are derived
from the profiled functions.

    extern_weak => linkonce
    available_externally => linkonce_odr
    internal => private
    extern => private
    _ => unchanged

The linkage/visibility of `__profc_*`/`__profd_*` variables are derived from
`__profn_*` with linkage/visibility wrestling for Windows.

The changes can be folded to the following without changing semantics.

```
if (TT.isOSBinFormatCOFF() && !NeedComdat) {
  Linkage = GlobalValue::InternalLinkage;
  Visibility = GlobalValue::DefaultVisibility;
}
```

That said, I think we can just delete the code block.

An extern/internal function will now use private `__profc_*`/`__profd_*`
variables, instead of internal ones. This saves some symbol table entries.

A non-comdat {linkonce,weak}_odr function will now use hidden external
`__profc_*`/`__profd_*` variables instead of internal ones.  There is potential
object file size increase because such symbols need `/INCLUDE:` directives.
However such non-comdat functions are rare (note that non-comdat weak
definitions don't prevent duplicate definition error).

The behavior changes match ELF.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D103355
The file was modifiedcompiler-rt/test/profile/Windows/coverage-weak-lld.cpp
The file was modifiedllvm/test/Instrumentation/InstrProfiling/linkage.ll
The file was modifiedllvm/test/Instrumentation/InstrProfiling/profiling.ll
The file was modifiedllvm/test/Instrumentation/InstrProfiling/platform.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
Commit 9d070b2f4889887f9ce497592ef01df7b9601a1c by akhuang
Recommit "Fix tmp files being left on Windows builds." with a fix for
incorrect std::string use. (Also remove redundant call to
RemoveFileOnSignal.)

Clang writes object files by first writing to a .tmp file and then
renaming to the final .obj name. On Windows, if a compile is killed
partway through the .tmp files don't get deleted.

Currently it seems like RemoveFileOnSignal takes care of deleting the
tmp files on Linux, but on Windows we need to call
setDeleteDisposition on tmp files so that they are deleted when
closed.

This patch switches to using TempFile to create the .tmp files we write
when creating object files, since it uses setDeleteDisposition on Windows.
This change applies to both Linux and Windows for consistency.

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

This reverts commit 20797b129f844d4b12ffb2b12cf33baa2d42985c.
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/include/clang/Frontend/CompilerInstance.h
The file was modifiedllvm/lib/Support/Path.cpp
The file was modifiedllvm/lib/Support/Windows/Path.inc
Commit 2541075c22aec261e45e2c4edba65b29ed472d2e by jyknight
Fix llvm/test/tools/llvm-dwp/X86/type_dedup_v5.test

It was writing files to the source dir after
316da543af14fb4b40ef0377fe770f430745f5ea.
The file was modifiedllvm/test/tools/llvm-dwp/X86/type_dedup_v5.test
Commit f976b9997ee55a130b139efe7b6e6f3b0384016b by zeratul976
[clangd] Improve resolution of static method calls in HeuristicResolver

Differential Revision: https://reviews.llvm.org/D101741
The file was modifiedclang-tools-extra/clangd/HeuristicResolver.cpp
The file was modifiedclang-tools-extra/clangd/unittests/InlayHintTests.cpp
Commit d8b9ed72ee838145a5c48d8b6fdccd00dc200c42 by efriedma
[AArch64] Add regression test for missed bfi optimization.

(See https://reviews.llvm.org/D60358 for the transform that breaks this
case.)
The file was modifiedllvm/test/CodeGen/AArch64/bitfield-insert.ll
Commit b2c8bcbab8a44c4582632845697b9425c3200230 by yitzhakm
Fix "control reaches end of non-void function" warnings on ppc64le

Warnings can be found here: https://lab.llvm.org/buildbot/#/builders/76/builds/2640

Reviewed By: ymandel

Differential Revision: https://reviews.llvm.org/D103565
The file was modifiedclang/lib/ASTMatchers/GtestMatchers.cpp
Commit 64e5a3bbdde25af0fd9f2b9b8539e23f36c80601 by llvm-project
[clang] Fix fail of OpenMP/tile_codegen_tile_for.cpp.

Clang's version string can be customized using CLANG_VENDOR which the
test did not consider. Change the test to accept any version string.
The file was modifiedclang/test/OpenMP/tile_codegen_tile_for.cpp

Summary

  1. [sanitizer] Test HWASan + LAM via QEMU. (details)
Commit fccedba38905acda3d156ca84758de85e36538c3 by mascasa
[sanitizer] Test HWASan + LAM via QEMU.

Uses LAM-enabled full system QEMU emulation to test HWASan's LAM
support.

Depends on:
https://github.com/google/sanitizers/pull/1408
https://github.com/google/sanitizers/pull/1410

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D103296
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh