FailedChanges

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

Summary

  1. Revert "[OpenMP][FIX] Verify compatible types for declare variant calls" (details)
  2. [X86] Add known bits test for PEXT. NFC (details)
  3. [X86] Add computeKnownBits support for PEXT. (details)
  4. [Driver] Filter out <libdir>/gcc and <libdir>/gcc-cross if they do not exists (details)
  5. This reduces code duplication between CGObjCMac.cpp and Mangle.cpp (details)
  6. [NFC][ARM] Comments and lambdas (details)
  7. Recommit "[SCCP] Do not replace deref'able ptr with un-deref'able one." (details)
  8. Revert "Recommit "[SCCP] Do not replace deref'able ptr with un-deref'able one."" (details)
  9. [IsKnownNonZero] Handle the case with non-constant phi nodes (details)
  10. Revert "OpaquePtr: Add type to sret attribute" (details)
  11. [SCEV][NFC] Introduce isBasicBlockEntryGuardedByCond (details)
  12. [LoopDeletion] Forget loop before setting values to undef (details)
  13. [InstCombine] Add trunc(lshr(sext(x),c)) non-uniform vector tests (details)
  14. [OpenMPOpt][Fix] Only initialize ICV initial values once. (details)
  15. [msan] Add test for vector abs intrinsic (details)
  16. [msan] Fix llvm.abs.v intrinsic (details)
  17. [IndVarSimplify] Fix Modified status for removal of overflow intrinsics (details)
  18. [AArch64] Add BTI to CFI jumptables. (details)
  19. [SYCL] Assume SYCL device functions are convergent (details)
  20. [sanitizer] Don't build gmock for tests (follow-up to 82827244). (details)
  21. [LoopUtils] Only verify SE in builds with assertions. (details)
  22. [mlir][GPU] Improve constant sinking in kernel outlining (details)
  23. [SystemZ] Don't emit PC-relative memory accesses to unaligned symbols. (details)
  24. [SDag] Refactor and simplify divergence calculation and checking. NFC. (details)
  25. [SDag] Verify DAG divergence after dumping. NFC. (details)
  26. [mlir] Fix shared libs build (details)
  27. Revert "[AMDGPU] Reorganize GCN subtarget features for unaligned access" (details)
  28. [AArch64] Add v8.5 Branch Target Identification support. (details)
  29. [mlir][Linalg] Refactor Linalg creation of loops to allow passing iterArgs - NFC (details)
  30. [GlobalISel] fix widenScalarUnmerge if widen type is not a multiple of destination type (details)
  31. [mlir][Linalg] Refactor Linalg op initTensors support - NFC (details)
  32. [mlir][openacc] Add update operation (details)
  33. [InstCombine] visitTrunc - trunc (lshr (sext A), C) --> (ashr A, C) non-uniform support (details)
  34. [SDAG] Do not convert undef to 0 when folding CONCAT/BUILD_VECTOR (details)
  35. [Sema] Address-space sensitive check for unbounded arrays (v2) (details)
  36. [InstCombine] Add exact shift tests missed in D88475 (details)
  37. [mlir] Expose Dialect class and registration/loading to C API (details)
  38. [InstCombine] Inherit exact flags on extended shifts in trunc (lshr (sext A), C) --> (ashr A, C) (details)
  39. [clangd] Improve PopulateSwitch tweak to work on non-empty switches (details)
  40. [mlir][openacc] Add wait operation (details)
  41. [InstCombine] Add some basic trunc(lshr(zext(x),c)) tests (details)
  42. [mlir][openacc] Add init operation (details)
  43. [InstCombine] use redirect of input file in regression tests; NFC (details)
  44. [SVE] Fix typo in CHECK lines for sve-fixed-length-int-reduce.ll (details)
  45. [scudo][standalone] Fix Primary's ReleaseToOS test (details)
  46. [OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptarget (details)
  47. SparcSubtarget.h - cleanup include dependencies. NFCI. (details)
  48. NVPTXTargetMachine.h - remove unused includes. NFCI. (details)
  49. MSP430TargetMachine.h - remove unused includes. NFCI. (details)
  50. [clangd] Disable msan instrumentation for generated Evaluate(). (details)
  51. NFC, add a missing stdlib include for the use of abort (details)
  52. [lldb] Configure LLDB_FRAMEWORK_DIR in multi-generator builds (details)
  53. [libc++] Fix tests on GCC 10 (details)
  54. [lldb] Also configure lldb_framework_dir in the lit.site.cfg.py (details)
  55. [InstCombine] visitTrunc - remove dead trunc(lshr (zext A), C) combine. NFCI. (details)
  56. [InstCombine] Fix the outofrange tests and add exact shift tests for D88429 (details)
  57. [libc++] Add a regression test for erasing from a vector (details)
  58. [flang][msvc] Avoid templated initializer list initialization of vector. NFC. (details)
Commit 4fc69ab002382675d84f611f22599cb3cb4a0787 by johannes
Revert "[OpenMP][FIX] Verify compatible types for declare variant calls"

This reverts commit c942095790decf525a445f3bd68fb9bcc9aa43c6.

One of the tests broke, revert to investigate.
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was removedclang/test/AST/ast-dump-openmp-begin-declare-variant_template_3.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit a4b1fdec9172cdb40b583884efb2971ee3b7e991 by craig.topper
[X86] Add known bits test for PEXT. NFC
The file was modifiedllvm/test/CodeGen/X86/bmi2-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll
Commit 82da0cabb918a13c1e5ae283d8bc9556131f922e by craig.topper
[X86] Add computeKnownBits support for PEXT.

The number of zeros in the mask provides a lower bound on the number
of leading zeros in the result.
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll
The file was modifiedllvm/test/CodeGen/X86/bmi2-x86_64.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit bc868da0e77a4f03b41654e0e9bbac28d95a5501 by dmantipov
[Driver] Filter out <libdir>/gcc and <libdir>/gcc-cross if they do not exists

Differential Revision: https://reviews.llvm.org/D87901
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
Commit 98ef7e29b0fe03da77fa6ef5c86bea9e31c178d0 by rjmccall
This reduces code duplication between CGObjCMac.cpp and Mangle.cpp
for generating the mangled name of an Objective-C method.

This has no intended functionality change.

https://reviews.llvm.org/D88329
The file was modifiedclang/lib/AST/Mangle.cpp
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
The file was modifiedclang/include/clang/AST/Mangle.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
Commit 4c19b89b2587f321e1014a9855973c08a822b908 by sam.parker
[NFC][ARM] Comments and lambdas

Add some comments in LowOverheadLoops and make some lambda variables
explicit arguments instead of capturing.
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 86a20d9e34f5a9989da72097f23f3b0a44157e73 by flo
Recommit "[SCCP] Do not replace deref'able ptr with un-deref'able one."

This version includes an small fix allowing function pointers to be
unconditionally replaced for now.

This reverts commit 4c5e4aa89b11ec3253258b8df5125833773d1b1e.
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint2.ll
The file was modifiedllvm/test/Transforms/SCCP/indirectbr.ll
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-undereferenceable.ll
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
Commit b76df593eb660d1e4c9f1384a75b404ee5bcd06f by flo
Revert "Recommit "[SCCP] Do not replace deref'able ptr with un-deref'able one.""

Looks like there is still another remaining issue:

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/22273/steps/build%20libcxx%2Fmsan/logs/stdio

This reverts commit 86a20d9e34f5a9989da72097f23f3b0a44157e73.
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint2.ll
The file was modifiedllvm/test/Transforms/SCCP/indirectbr.ll
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-undereferenceable.ll
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
Commit 297ec611304663931be52e6118d9f135ceb8a027 by serguei.katkov
[IsKnownNonZero] Handle the case with non-constant phi nodes

Handle the case when all inputs of phi are proven to be non zero.

Constants are checked in beginning of this method before check for depth of recursion,
so it is a partial case of non-constant phi.

Recursion depth is already handled by the function.

Reviewers: aqjune, nikic, efriedma
Reviewed By: nikic
Subscribers: dantrushin, hiraditya, jdoerfert, llvm-commits
Differential Revision: https://reviews.llvm.org/D88276
The file was modifiedllvm/test/Transforms/InstCombine/phi.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit eb9f7c28e5fe6d75fed3587023e17f2997c8024b by tpopp
Revert "OpaquePtr: Add type to sret attribute"

This reverts commit 55c4ff91bd820d72014f63dcf7f3d5a0d3397986.

Issues were introduced as discussed in https://reviews.llvm.org/D88241
where this change made previous bugs in the linker and BitCodeWriter
visible.
The file was modifiedclang/test/CodeGen/sparcv9-abi.c
The file was modifiedclang/test/CodeGen/X86/x86_64-arguments-nacl.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-iamcu.c
The file was modifiedclang/test/CodeGen/c11atomics-ios.c
The file was modifiedclang/test/CodeGen/mcu-struct-return.c
The file was modifiedclang/test/CodeGen/wasm-varargs.c
The file was modifiedllvm/lib/IR/AttributeImpl.h
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-of-this.cl
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/CodeGen/arm64-microsoft-arguments.cpp
The file was modifiedclang/test/CodeGen/arm64_32.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-abi.c
The file was modifiedclang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm
The file was modifiedllvm/test/Bitcode/compatibility-3.7.ll
The file was modifiedclang/test/CodeGen/aggregate-assign-call.c
The file was modifiedclang/test/CodeGen/powerpc-c99complex.c
The file was modifiedclang/test/CodeGenCXX/pass-by-value-noalias.cpp
The file was modifiedclang/test/CodeGen/arm-swiftcall.c
The file was removedllvm/test/Assembler/sret-type-attr.ll
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/CodeGen/ppc64-align-struct.c
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedclang/test/CodeGen/blocks.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32-abi.c
The file was modifiedclang/test/CodeGen/arm-varargs.c
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedclang/test/CodeGen/ppc64-elf-abi.c
The file was modifiedclang/test/CodeGenObjC/weak-in-c-struct.m
The file was modifiedclang/test/CodeGen/aarch64-varargs.c
The file was modifiedclang/test/CodeGen/le32-arguments.c
The file was modifiedclang/test/CodeGen/ms_abi.c
The file was modifiedllvm/test/Bitcode/highLevelStructure.3.2.ll
The file was modifiedclang/test/CodeGenCXX/regcall.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-source-location.cpp
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp
The file was modifiedclang/test/CodeGen/riscv64-lp64d-abi.c
The file was modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was modifiedllvm/test/Bitcode/attributes.ll
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse-miscompile.cpp
The file was modifiedclang/test/CodeGen/c11atomics.c
The file was modifiedclang/test/CodeGen/ppc64-soft-float.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-abi.c
The file was modifiedclang/test/CodeGenCXX/conditional-gnu-ext.cpp
The file was modifiedclang/test/CodeGenCXX/homogeneous-aggregates.cpp
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedclang/test/CodeGenObjC/arc.m
The file was modifiedclang/test/CodeGen/systemz-inline-asm.c
The file was modifiedclang/test/CodeGen/2006-05-19-SingleEltReturn.c
The file was modifiedclang/test/CodeGen/arm-vector-arguments.c
The file was modifiedclang/test/CodeGenCXX/arm-cc.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1z-copy-omission.cpp
The file was modifiedclang/test/CodeGen/regparm-struct.c
The file was modifiedllvm/test/Bitcode/compatibility-3.6.ll
The file was modifiedclang/test/CodeGen/systemz-abi.c
The file was modifiedclang/test/CodeGenCXX/call-with-static-chain.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/sret.ll
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/test/CodeGen/arm-aapcs-vfp.c
The file was modifiedclang/test/CodeGen/arm-neon-vld.c
The file was modifiedclang/test/CodeGen/ppc-aggregate-abi.cpp
The file was modifiedclang/test/CodeGen/arc/arguments.c
The file was modifiedclang/test/CodeGenObjC/stret-1.m
The file was modifiedclang/test/CodeGenObjC/stret_lookup.m
The file was modifiedclang/test/CodeGen/struct-passing.c
The file was modifiedclang/test/CodeGen/wasm-arguments.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGenCXX/wasm-args-returns.cpp
The file was modifiedclang/test/CodeGen/windows-swiftcall.c
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was modifiedllvm/test/Bitcode/compatibility-6.0.ll
The file was modifiedclang/test/CodeGen/aligned-sret.c
The file was modifiedclang/test/CodeGen/ppc64le-f128Aggregates.c
The file was modifiedclang/test/CodeGenObjC/objc-non-trivial-struct-nrvo.m
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
The file was modifiedclang/test/CodeGen/X86/x86_64-arguments.c
The file was modifiedclang/test/CodeGen/systemz-abi.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-cdecl-method-sret.cpp
The file was modifiedclang/test/CodeGen/vectorcall.c
The file was modifiedllvm/test/Bitcode/compatibility-3.9.ll
The file was modifiedllvm/test/Bitcode/compatibility.ll
The file was modifiedclang/test/CodeGen/mips-zero-sized-struct.c
The file was modifiedllvm/test/Bitcode/attributes-3.3.ll
The file was modifiedclang/test/CodeGen/ppc64-qpx-vector.c
The file was modifiedclang/test/CodeGen/systemz-abi-vector.c
The file was modifiedclang/test/CodeGen/ppc64-vector.c
The file was modifiedclang/test/CodeGenCXX/matrix-type.cpp
The file was modifiedclang/test/CodeGen/arm-homogenous.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-unknown-arch.cpp
The file was modifiedclang/test/CodeGen/arm64-arguments.c
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedclang/test/CodeGen/renderscript.c
The file was modifiedclang/test/CodeGen/arm_neon_intrinsics.c
The file was modifiedllvm/test/Bitcode/compatibility-4.0.ll
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/X86/x86_64-arguments-win32.c
The file was modifiedclang/test/CodeGenCXX/stack-reuse.cpp
The file was modifiedllvm/include/llvm/IR/Function.h
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c
The file was modifiedllvm/test/Verifier/byref.ll
The file was modifiedclang/test/CodeGen/64bit-swiftcall.c
The file was modifiedclang/test/CodeGenCXX/thiscall-struct-return.cpp
The file was modifiedclang/test/CodeGenCXX/thunk-returning-memptr.cpp
The file was modifiedclang/test/Modules/templates.mm
The file was modifiedclang/test/CodeGen/riscv32-ilp32d-abi.c
The file was modifiedclang/test/CodeGenCXX/trivial_abi.cpp
The file was modifiedclang/test/CodeGenCXX/unknown-anytype.cpp
The file was modifiedclang/test/CodeGenObjC/nontrivial-c-struct-exception.m
The file was modifiedclang/test/CodeGenCXX/cxx1z-lambda-star-this.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedllvm/test/Bitcode/compatibility-3.8.ll
The file was modifiedclang/test/CodeGenCXX/x86_32-arguments.cpp
The file was modifiedclang/test/CodeGen/lanai-arguments.c
The file was modifiedclang/test/CodeGenCoroutines/coro-gro-nrvo.cpp
The file was modifiedclang/test/CodeGenObjC/direct-method.m
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-darwin.c
The file was modifiedclang/test/CodeGen/mingw-long-double.c
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedclang/test/CodeGen/mips64-padding-arg.c
The file was modifiedclang/test/CodeGen/ppc32-and-aix-struct-return.c
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-abi.c
The file was modifiedclang/test/CodeGenCXX/lambda-expressions.cpp
The file was modifiedclang/test/CodeGen/ppc64le-aggregates.c
The file was modifiedclang/test/CodeGen/windows-struct-abi.c
The file was modifiedllvm/lib/AsmParser/LLParser.h
The file was modifiedclang/test/CodeGenCoroutines/coro-await.cpp
The file was modifiedllvm/test/Bitcode/compatibility-5.0.ll
The file was modifiedclang/test/CodeGen/riscv64-lp64-abi.c
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments2.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/CodeGenCXX/temporaries.cpp
Commit 9100bd772d4ff153fd2d5cb13034f4ed8ea2d477 by mkazantsev
[SCEV][NFC] Introduce isBasicBlockEntryGuardedByCond

Currently, we have `isLoopEntryGuardedByCond` method in SCEV, which
checks that some fact is true if we enter the loop. In fact, this is just a
particular case of more general concept `isBasicBlockEntryGuardedByCond`
applied to given loop's header. In fact, the logic if this code is largely
independent on the given loop and only cares code above it.

This patch makes this generalization. Now we can query it for any block,
and `isBasicBlockEntryGuardedByCond` is just a particular case.

Differential Revision: https://reviews.llvm.org/D87828
Reviewed By: fhahn
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 60b852092c98dbdc6248d60109d90ae6f8ad841c by flo
[LoopDeletion] Forget loop before setting values to undef

After D71539, we need to forget the loop before setting the incoming
values of phi nodes in exit blocks, because we are looking through those
phi nodes now and the SCEV expression could depend on the loop phi. If
we update the phi nodes before forgetting the loop, we miss those users
during invalidation.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D88167
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/test/Transforms/LoopDeletion/update-scev.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit 324df2661b3ee38996fab589a2605da458fa249e by llvm-dev
[InstCombine] Add trunc(lshr(sext(x),c)) non-uniform vector tests
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
Commit cb9cfa0d2fddad97828fc46ddcbf86f6b9bf7d6d by sstipanovic
[OpenMPOpt][Fix] Only initialize ICV initial values once.

Reviewers: jdoerfert, ggeorgakoudis

Differential Revision: https://reviews.llvm.org/D88441
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 1fd9a146d375c256475bb3e11df8d6539ae3f764 by Vitaly Buka
[msan] Add test for vector abs intrinsic
The file was addedllvm/test/Instrumentation/MemorySanitizer/abs-vector.ll
Commit 4aa6abe4efc1b648e7ede290210569ca7a703867 by Vitaly Buka
[msan] Fix llvm.abs.v intrinsic

The last argument of the intrinsic is a boolean
flag to control INT_MIN handling and does
not affect msan metadata.
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/abs-vector.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit e6f332ef1e414ec41a188217d7547a371ed975de by david.stenberg
[IndVarSimplify] Fix Modified status for removal of overflow intrinsics

When removing an overflow intrinsic the Changed status in SimplifyIndvar
was not set, leading to the IndVarSimplify pass returning an incorrect
status.

This was caught using the check introduced by D80916.

As pointed out in the code review, a similar bug may exist for
eliminateTrunc().

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D85971
The file was addedllvm/test/Transforms/IndVarSimplify/eliminate-overflow-modified.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Commit c5a4900e1a00e88df9d6d9bc39594ff8afd0d9b5 by daniel.kiss
[AArch64] Add BTI to CFI jumptables.

With branch protection the jump to the jump table entries requires a landing pad.

Reviewed By: eugenis, tamas.petz

Differential Revision: https://reviews.llvm.org/D81251
The file was addedllvm/test/Transforms/LowerTypeTests/aarch64-jumptable.ll
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
Commit 9263931fcccdc99000c1de668bea330711333729 by alexey.bader
[SYCL] Assume SYCL device functions are convergent

SYCL device compiler (similar to other SPMD compilers) assumes that
functions are convergent by default to avoid invalid transformations.
This attribute can be removed if compiler can prove that function does
not have convergent operations.

Reviewed By: Naghasan

Differential Revision: https://reviews.llvm.org/D87282
The file was addedclang/test/CodeGenSYCL/convergent.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit a59be54e611997f23d1e5a76cada448b5f98d47e by hans
[sanitizer] Don't build gmock for tests (follow-up to 82827244).

A use of gmock was briefly added in a90229d6, but was soon removed in
82827244. This also removes it from the cmake files.
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
Commit 7bae2bc5a8dd11c016c895e3a691fb93575773f3 by flo
[LoopUtils] Only verify SE in builds with assertions.

Follow up to 60b852092c98.
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit edeff6e642e66a5be05c11cb8b9b36b3383078ae by herhut
[mlir][GPU] Improve constant sinking in kernel outlining

The previous implementation did not support sinking simple expressions. In particular,
it is often beneficial to sink dim operations.

Differential Revision: https://reviews.llvm.org/D88439
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
Commit 75a5febe31cb2660c4f72d9745625704d29946e1 by paulsson
[SystemZ] Don't emit PC-relative memory accesses to unaligned symbols.

In the presence of packed structures (#pragma pack(1)) where elements are
referenced through pointers, there will be stores/loads with alignment values
matching the default alignments for the element types while the elements are
in fact unaligned. Strictly speaking this is incorrect source code, but is
unfortunately part of existing code and therefore now addressed.

This patch improves the pattern predicate for PC-relative loads and stores by
not only checking the alignment value of the instruction, but also making
sure that the symbol (and element) itself is aligned.

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

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D87510
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZOperators.td
The file was addedllvm/test/CodeGen/SystemZ/int-move-10.ll
Commit d6b04f3937e374572039005d1446b4a950dc8f01 by jay.foad
[SDag] Refactor and simplify divergence calculation and checking. NFC.
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 781edd501c25ce1b526764e2b048e9e1c5a41728 by jay.foad
[SDag] Verify DAG divergence after dumping. NFC.

When debugging, it's useful to be able to see the DAG that has just
failed divergence verification.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Commit 6199219bbd8224b7cf69b4a538bd6bc49f6daaf0 by andrzej.warzynski
[mlir] Fix shared libs build

The following change causes the shared libraries build
(BUILD_SHARED_LIBS=On) to fail:
  * https://reviews.llvm.org/D88351
This patch will fix that.

Differential Revision: https://reviews.llvm.org/D88484
The file was modifiedmlir/lib/Target/CMakeLists.txt
Commit 8b08fa0103c8d8e624b19fad5a5006e7a783ecb7 by Mirko.Brkusanin
Revert "[AMDGPU] Reorganize GCN subtarget features for unaligned access"

This reverts commit f5cd7ec9f3fc969ff5e1feed961996844333de3b.

Certain rocPRIM/rocThrust/hipCUB tests were failing because of this change.
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/multiple_tails.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fast-unaligned-load-store.global.ll
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/llc-target-cpu-attr-from-cmdline-ir.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/adjust-alloca-alignment.ll
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/llc-target-cpu-attr-from-cmdline.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/unaligned-load-store.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.td
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
Commit f34ae1b9de68152de037fd3e394d196b997c4296 by daniel.kiss
[AArch64] Add v8.5 Branch Target Identification support.

The .note.gnu.property must be in the assembly file to indicate the
support for BTI otherwise BTI will be disabled for the whole library.
__unw_getcontext and libunwind::Registers_arm64::jumpto() may be called
indirectly therefore they should start with a landing pad.

Reviewed By: tamas.petz, #libunwind, compnerd

Differential Revision: https://reviews.llvm.org/D77786
The file was modifiedlibunwind/src/assembly.h
Commit 074ab233ed620c1afa44e5bc2d86ab448a9ce1ed by ntv
[mlir][Linalg] Refactor Linalg creation of loops to allow passing iterArgs - NFC

This revision changes the signatures of helper function that Linalg uses to create loops so that they can also take iterArgs.
iterArgs are asserted empty to ensure no functional change.
This is a mechanical change in preparation of tiling on linalg on tensors to avoid  polluting the implementation with an NFC change.

Differential Revision: https://reviews.llvm.org/D88480
The file was modifiedmlir/include/mlir/Dialect/SCF/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/SCF/EDSC/Builders.cpp
Commit 113114a5da60ef30731046f50fc1d67ff87897fc by dominik.montada
[GlobalISel] fix widenScalarUnmerge if widen type is not a multiple of destination type

Fix creation of illegal unmerge when widen was requested to a type which
is not a multiple of the destination type. E.g. when trying to widen
an s48 unmerge to s64 the existing code would create an illegal unmerge
from s64 to s48.

Instead, create further unmerges to a GCD type, then use this to remerge
these intermediate results to the actual destinations.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D88422
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 6b649570cbc44dd775d9657805cc60b2075d8011 by ntv
[mlir][Linalg] Refactor Linalg op initTensors support - NFC

Manually-defined named ops do not currently support `init_tensors` or return values and may never support them. Add extra interface to the StructuredOpInterface so that we can still write op-agnostic transformations based on StructuredOpInterface.

This is an NFC extension in preparation for tiling on tensors.

Differential Revision: https://reviews.llvm.org/D88481
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
Commit ecc997807180a6e763f12e3d011f6b887db0d6a9 by clementval
[mlir][openacc] Add update operation

This patch introduce the update operation that represent the OpenACC update directive.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D88102
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
The file was modifiedmlir/test/Dialect/OpenACC/invalid.mlir
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir
Commit 14ff38e235c4aec8e444d8aec26ce5d3a4c524d2 by llvm-dev
[InstCombine] visitTrunc - trunc (lshr (sext A), C) --> (ashr A, C) non-uniform support

This came from @lebedev.ri's suggestion to use m_SpecificInt_ICMP for D88429 - since I was going to change the m_APInt to m_Constant for that patch I thought I would do it for the only other user of the APInt first.

I've added a ConstantExpr::getUMin helper - its trivial to add UMAX/SMIN/SMAX but thought I'd wait until we have use cases.

Differential Revision: https://reviews.llvm.org/D88475
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/lib/IR/Constants.cpp
Commit db04bec5f1eeb581ee1470e5f444cc7b918c6d93 by kparzysz
[SDAG] Do not convert undef to 0 when folding CONCAT/BUILD_VECTOR

Differential Revision: https://reviews.llvm.org/D88273
The file was addedllvm/test/CodeGen/Hexagon/autohvx/isel-undef-not-zero.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-cmp-sub128.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit d9ee935679e7164d1c47e351bbbcf5c25742b59c by Chris.Hamilton
[Sema] Address-space sensitive check for unbounded arrays (v2)

Check applied to unbounded (incomplete) arrays and pointers to spot
cases where the computed address is beyond the largest possible
addressable extent of the array, based on the address space in which the
array is delcared, or which the pointer refers to.

Check helps to avoid cases of nonsense pointer math and array indexing
which could lead to linker failures or runtime exceptions.  Of
particular interest when building for embedded systems with small
address spaces.

This is version 2 of this patch -- version 1 had some testing issues
due to a sign error in existing code.  That error is corrected and
lit test for this chagne is extended to verify the fix.

Originally reviewed/accepted by: aaron.ballman
Original revision: https://reviews.llvm.org/D86796

Reviewed By: ebevhan

Differential Revision: https://reviews.llvm.org/D88174
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Sema/const-eval.c
The file was addedclang/test/Sema/unbounded-array-bounds.c
The file was modifiedclang/test/SemaCXX/constant-expression-cxx1y.cpp
Commit 042f22bda5d3e2851205781f0b921cc810bb6dcb by llvm-dev
[InstCombine] Add exact shift tests missed in D88475

I missed the post-LGTM comment from @lebedev.ri
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
Commit 64c0c9f01511dc300b29e7a20a13958c5932e314 by zinenko
[mlir] Expose Dialect class and registration/loading to C API

- Add a minimalist C API for mlir::Dialect.
- Allow one to query the context about registered and loaded dialects.
- Add API for loading dialects.
- Provide functions to register the Standard dialect.

When used naively, this will require to separately register each dialect. When
we have more than one exposed, we can add variadic macros that expand to
individual calls.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D88162
The file was addedmlir/lib/CAPI/Standard/StandardDialect.cpp
The file was addedmlir/lib/CAPI/Standard/CMakeLists.txt
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedmlir/lib/CAPI/CMakeLists.txt
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/test/CAPI/CMakeLists.txt
The file was modifiedmlir/include/mlir-c/IR.h
The file was modifiedmlir/include/mlir/CAPI/IR.h
The file was addedmlir/include/mlir-c/StandardDialect.h
Commit 89a8a0c910422b9d363120769e2eebda03394b0f by llvm-dev
[InstCombine] Inherit exact flags on extended shifts in trunc (lshr (sext A), C) --> (ashr A, C)

This was missed in D88475
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
Commit 4fb303f340e2c55783f9b0f3ed33fa2c36360acf by sam.mccall
[clangd] Improve PopulateSwitch tweak to work on non-empty switches

Improve the recently-added PopulateSwitch tweak to work on non-empty switches.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D88434
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
Commit cc3b8e730e4e8783cc9d81a00fd235068fa522e5 by clementval
[mlir][openacc] Add wait operation

This patch introduce the wait operation that represent the OpenACC wait directive.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D88125
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/test/Dialect/OpenACC/invalid.mlir
Commit 7a55989dc4305e66734bdd84a9f9eefeb9fe64bd by llvm-dev
[InstCombine] Add some basic trunc(lshr(zext(x),c)) tests

Copied from the sext equivalents
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
Commit 51323fe2b89e976dc53356299d5cc3daeaaee5a7 by clementval
[mlir][openacc] Add init operation

This patch introduces the init operation that represents the init executable directive
from the OpenACC 3.0 specifications.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D88254
The file was modifiedmlir/test/Dialect/OpenACC/ops.mlir
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
The file was modifiedmlir/test/Dialect/OpenACC/invalid.mlir
Commit ee34d9b210cb5a6d14fe069e2e2ae75b0548dba9 by spatel
[InstCombine] use redirect of input file in regression tests; NFC

This is a repeat of 1880092722 from 2009. We should have less risk
of hitting bugs at this point because we auto-generate positive CHECK
lines only, but this makes things consistent.

Copying the original commit msg:
"Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename."
The file was modifiedllvm/test/Transforms/InstCombine/infinite-loop-postdom.ll
The file was modifiedllvm/test/Transforms/InstCombine/srem-via-sdiv-mul-sub.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-b.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-sub-overflow-check.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.ll
The file was modifiedllvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-c.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-udiv-of-allones.ll
The file was modifiedllvm/test/Transforms/InstCombine/high-bit-signmask.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-direction-in-bit-test.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-b.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-add.ll
The file was modifiedllvm/test/Transforms/InstCombine/urem-via-udiv-mul-sub.ll
The file was modifiedllvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll
The file was modifiedllvm/test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-e.ll
The file was modifiedllvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll
The file was modifiedllvm/test/Transforms/InstCombine/cmp-x-vs-neg-x.ll
The file was modifiedllvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll
The file was modifiedllvm/test/Transforms/InstCombine/sub-of-negatible.ll
The file was modifiedllvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-right-shift-input-masking.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-ashr.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-sub-lack-of-overflow-check.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-c.ll
The file was modifiedllvm/test/Transforms/InstCombine/high-bit-signmask-with-trunc.ll
The file was modifiedllvm/test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
The file was modifiedllvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
The file was modifiedllvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-add.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-shl.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-xor.ll
The file was modifiedllvm/test/Transforms/InstCombine/pr38897.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-xor.ll
The file was modifiedllvm/test/Transforms/InstCombine/sdiv-of-non-negative-by-negative-power-of-two.ll
The file was modifiedllvm/test/Transforms/InstCombine/signbit-lshr-and-icmpeq-zero.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-udiv-of-allones.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll
The file was modifiedllvm/test/Transforms/InstCombine/pr41164.ll
The file was modifiedllvm/test/Transforms/InstCombine/do-not-clone-dbg-declare.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-by-signext.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-lshr.ll
The file was modifiedllvm/test/Transforms/InstCombine/signbit-shl-and-icmpeq-zero.ll
The file was modifiedllvm/test/Transforms/InstCombine/strict-sub-underflow-check-to-comparison-of-sub-operands.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-shl-nuw.ll
The file was modifiedllvm/test/Transforms/InstCombine/pr38915.ll
The file was modifiedllvm/test/Transforms/InstCombine/pr21891.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-b.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-f.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-lshr.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll
The file was modifiedllvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll
The file was modifiedllvm/test/Transforms/InstCombine/merging-multiple-stores-into-successor.ll
The file was modifiedllvm/test/Transforms/InstCombine/unsigned-add-overflow-check.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll
The file was modifiedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.ll
Commit 01c95f79424d1083a6c06ed28c98c0a647b85711 by mcinally
[SVE] Fix typo in CHECK lines for sve-fixed-length-int-reduce.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-reduce.ll
Commit e456df77c2a5a2bf905f6848a09faf69b49c5752 by kostyak
[scudo][standalone] Fix Primary's ReleaseToOS test

Said test was flaking on Fuchsia for non-obvious reasons, and only
for ASan variants (the release was returning 0).

It turned out that the templating was off, `true` being promoted to
a `s32` and used as the minimum interval argument. This meant that in
some circumstances, the normal release would occur, and the forced
release would have nothing to release, hence the 0 byte released.

The symbols are giving it away (note the 1):
```
scudo::SizeClassAllocator64<scudo::FixedSizeClassMap<scudo::DefaultSizeClassConfig>,24ul,1,2147483647,false>::releaseToOS(void)
```

This also probably means that there was no MTE version of that test!

Differential Revision: https://reviews.llvm.org/D88457
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/primary_test.cpp
Commit c816ee13ad9e14ec1b69e07b1d3851d8b548ff8c by simon.moll
[OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptarget

The libomptarget VE plugin [[
http://lab.llvm.org:8014/builders/clang-ve-ninja/builds/8937/steps/build-unified-tree/logs/stdio
| fails zu build ]] after ae95ceeb8f98d81f615c69da02f73b5ee6b1519a .

Differential Revision: https://reviews.llvm.org/D88476
The file was modifiedopenmp/libomptarget/plugins/ve/src/rtl.cpp
Commit 30c0bea5714400d52ab50693e4a7e738ab789400 by llvm-dev
SparcSubtarget.h - cleanup include dependencies. NFCI.

TargetFrameLowering.h is guaranteed to be covered by SparcFrameLowering.h

Fix missing implicit Triple.h dependency.
The file was modifiedllvm/lib/Target/Sparc/SparcSubtarget.h
Commit 8f34216ece714f30f08092d108b85c0e7e77384a by llvm-dev
NVPTXTargetMachine.h - remove unused includes. NFCI.
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.h
Commit a06581ef39284f8ec66778807adf0e2d244a33d1 by llvm-dev
MSP430TargetMachine.h - remove unused includes. NFCI.
The file was modifiedllvm/lib/Target/MSP430/MSP430TargetMachine.h
Commit a9f63d22fafb0d7de768efc6b7447f8e7f6bb220 by usx
[clangd] Disable msan instrumentation for generated Evaluate().

MSAN build times out for generated DecisionForest inference runtime.

A solution worth trying is splitting the function into 300 smaller
functions and then re-enable msan.

For now we are disabling instrumentation for the generated function.

Differential Revision: https://reviews.llvm.org/D88495
The file was modifiedclang-tools-extra/clangd/quality/CompletionModelCodegen.py
Commit 119274748bce6d1248aa57cb55d79bfeae8a2f8e by Alex Lorenz
NFC, add a missing stdlib include for the use of abort

The FatalErrorHandler.cpp file uses 'abort', but doesn't include
'stdlib.h'. This causes a build error when modules are used in clang.
The file was modifiedclang/tools/libclang/FatalErrorHandler.cpp
Commit d0ed45dc920004bb7b6642d6086b4722443eeba2 by Jonas Devlieghere
[lldb] Configure LLDB_FRAMEWORK_DIR in multi-generator builds
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
The file was modifiedlldb/test/API/CMakeLists.txt
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
Commit 3e5f9dacb092a1414f72500111c2b049673e0055 by Louis Dionne
[libc++] Fix tests on GCC 10

Also, remove workarounds for ancient Clangs from is_constructible tests.
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/std/namespace/addressable_functions.sh.cpp
The file was modifiedlibcxx/utils/ci/run-buildbot.sh
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp
Commit ccbb9827db4c30c93b92a204aeb2b98f9f3a723a by Jonas Devlieghere
[lldb] Also configure lldb_framework_dir in the lit.site.cfg.py

Configuring the variable in CMake isn't enought, because the build mode
can't be resolved until execution time, which requires the build mode to
be substituted by lit.
The file was modifiedlldb/test/API/lit.site.cfg.py.in
Commit b610d73b3fe67fe6b693740dfac5fd21a60b1e44 by llvm-dev
[InstCombine] visitTrunc - remove dead trunc(lshr (zext A), C) combine. NFCI.

I added additional test coverage at rG7a55989dc4305 - but all are handled independently of this combine and http://lab.llvm.org:8080/coverage/coverage-reports/ indicates the code is never used.

Differential revision: https://reviews.llvm.org/D88492
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit e5f047f27ec121e63e765d30683a472d1ba19ca5 by llvm-dev
[InstCombine] Fix the outofrange tests and add exact shift tests for D88429
The file was modifiedllvm/test/Transforms/InstCombine/trunc-shift-trunc.ll
Commit 7bed95a856f1e0146e838e7575677159f42f3bf7 by Louis Dionne
[libc++] Add a regression test for erasing from a vector

After rebasing my trivially-relocatable branch, this behavior was broken...
but no libc++ unit test caught it! Add a regression test specifically for
erasing out of a vector.

Differential Revision: https://reviews.llvm.org/D88421
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp
Commit d2d7a44facd2dc895d378f19233837147f587b6d by llvm-project
[flang][msvc] Avoid templated initializer list initialization of vector. NFC.

The Microsoft compiler emits an error when populating the vector with a single element of a templated argument using the brace syntax. The error is:
```
constant.h(102,1): error C2664: 'std::vector<Fortran::evaluate::value::Complex<...>, ...>::vector(std::initializer_list<_Ty>,const _Alloc &)': cannot convert argument 1 from 'initializer list' to 'std::initializer_list<_Ty>'
```
To work around this error, we replace the templated constructor with one for the expected type. Conversion to the element type has to be done by the caller.

This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D88163
The file was modifiedflang/include/flang/Evaluate/constant.h