SuccessChanges

Summary

  1. mlir-nvidia removing outdated DLLVM_ENABLE_CXX1Y (details)
Commit 48a02487ae940446bb7c2ee3d4c93ba7cdc6b9cf by kuhnel
mlir-nvidia removing outdated DLLVM_ENABLE_CXX1Y
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [IPConstProp] Regenerate check lines. (details)
  2. [flang] Fix multi-config generator builds. (details)
  3. [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap (details)
  4. [DAGCombiner] Fold sext_inreg of a masked load into a sign extended masked load (details)
  5. [DWARFYAML] Make the 'AddressSize', 'SegmentSelectorSize' fields optional. (details)
  6. [DWARFYAML] Make the 'Length' field of the address range table optional. (details)
  7. [clangd] findNearbyIdentifier(): fix the word search in the token stream. (details)
  8. [NFC] Failed cases for some patterns defined in DAGCombiner.cpp (details)
  9. [lldb] Don't use static locals for return value storage in some *AsCString functions (details)
  10. [AArch64] Add machine-combiner tests with instruction level FMFs. (details)
  11. [clangd] Implement Relations request for remote index (details)
  12. [X86][SSE] combineExtractWithShuffle - extend extract(truncate(x),0) for any source vector size (details)
  13. VectorUtils.h - reduce unnecessary includes. NFC. (details)
  14. [IPConstProp] Remove and move tests to SCCP. (details)
  15. [MLIR][Shape] Limit `shape.rank` lowering to its extent tensor variant (details)
  16. Revert "[IPConstProp] Remove and move tests to SCCP." (details)
  17. [flang] Expose specific to generic intrinsic name mapping (details)
  18. [mlir] Allow index as element type of memref (details)
  19. [MLIR] Introduce inter-procedural memref layout normalization (details)
  20. [MLIR] Don't pass separate LowerToLLVMOptions when we already pass a LLVMTypeConverter which contains those options already. (details)
  21. [mlir][shape] Use memref of index in shape lowering (details)
  22. [libc++] Add XFAIL for <float.h> and <cfloat> tests on older Clangs (details)
  23. [LoopVectorizer] Don't create unused block masks for reductions. NFC (details)
  24. [ConstantFolding] add tests for abs intrinsic; NFC (details)
  25. [XCOFF][AIX] Enable -ffunction-sections (details)
  26. [OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region. (details)
  27. [flang] Create HostAssoc symbols for uplevel references (details)
  28. Speculative GCC 5 build fix (details)
  29. [PowerPC][AIX] Move the testcase to proper dir (details)
  30. Attributor.h - remove unnecessary includes. NFCI. (details)
  31. AMDGPU: Convert some tests to use new buffer intrinsics (details)
  32. [AArch64] Fix operand definitions of XPACI/XPACD (details)
  33. [AIX] Temporarily disable IncrementalProcessingTest partially (details)
  34. Revert "[OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region." (details)
  35. [clangd] NFC: Spell out types in index callback arguments (details)
  36. [OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region. (details)
  37. [OpenMP][IRBuilder] Support allocas in nested parallel regions (details)
  38. [OpenMP][FIX] Consistently use OpenMPIRBuilder if requested (details)
  39. [X86] Parse and ignore .arch directives (details)
  40. Align store conditional address (details)
  41. [lldb] Add SBCommandInterpreterRunOptions to LLDB.h (details)
  42. [clang-tidy] Fix ODR violation in unittests. (details)
  43. [libc++] Use generator expression in Linker script generation (details)
  44. [tsan] Fix the open and open64 interceptors to have correct declarations (variadic functions) (details)
  45. [AMDGPU/MemOpsCluster] Clean-up fixme's around mem ops clustering logic (details)
Commit 1ac72a0774b5e6d770bb65d2debccca561bc1c31 by flo
[IPConstProp] Regenerate check lines.

Preparation for D84447.
The file was modifiedllvm/test/Transforms/IPConstantProp/naked-return.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/recursion.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/comdat-ipo.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/return-constant.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/return-argument.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/multiple_callbacks.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/deadarg.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/pthreads.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/return-constants.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
Commit 332170356e35ea9cdc2c1d612b61a50ec5ea322e by david.truby
[flang] Fix multi-config generator builds.

Summary:
Currently the binaries are output directly into the bin subdirectory of the
build directory. This doesn't work correctly with multi-config generators which
should output the binaries into <CONFIG_NAME>/bin instead.

Reviewers: sscalpone, richard.barton.arm

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D84022
The file was modifiedflang/tools/f18/CMakeLists.txt
The file was modifiedflang/test/lit.site.cfg.py.in
The file was modifiedflang/test/lit.cfg.py
The file was modifiedflang/CMakeLists.txt
Commit 45a720a864320bbbeb596abe412786fa91858980 by n.james93
[clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap

Ordering of options isn't important so an `llvm::StringMap` is a much better container for this purpose.

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D84868
The file was modifiedclang-tools-extra/clang-tidy/ClangTidy.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/google-module.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
Commit 276ed5f7e4ee82e02abaa37ffc2dfa090ea6167e by samuel.tebbs
[DAGCombiner] Fold sext_inreg of a masked load into a sign extended masked load

This patch adds a DAG combine fold for a sext(masked_load) into a sign extended masked load.

Differential Revision: https://reviews.llvm.org/D84332
The file was addedllvm/test/CodeGen/Thumb2/mve-sext-masked-load.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 006f6f8ac6fe920e978f65d92bb44825833f2933 by Xing
[DWARFYAML] Make the 'AddressSize', 'SegmentSelectorSize' fields optional.

This patch makes the 'AddressSize' and 'SegmentSelectorSize' fields of
address range table optional.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D84907
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-aranges.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
Commit 3da6a974db86ba7d1f9a17a1e229daeade52a038 by Xing
[DWARFYAML] Make the 'Length' field of the address range table optional.

This patch makes the 'Length' field of the address range table optional.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D84911
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-aranges.yaml
Commit 05b173466142596b3297ab02e423574cb74b3799 by platonov.aleksandr
[clangd] findNearbyIdentifier(): fix the word search in the token stream.

Without this patch the word occurrence search always returns the first token of the file.
Despite of that, `findNeardyIdentifier()` returns the correct result (but inefficently) until there are several matched tokens with the same value `floor(log2(<token line> - <word line>))` (e.g. several matched tokens on the same line).

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D84912
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit 141b64a340a42ef59fe42f54faa91059ede44980 by esme.yi
[NFC] Failed cases for some patterns defined in DAGCombiner.cpp
The file was addedllvm/test/CodeGen/PowerPC/combine_ext_trunc.ll
Commit a4a0844248d4a68a866b9c4e18ae89fa49a83ec0 by Raphael Isemann
[lldb] Don't use static locals for return value storage in some *AsCString functions

Let's just return a std::string to make this safe. formatv seemed overkill for formatting
the return values as they all just append an integer value to a constant string.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D84505
The file was modifiedlldb/source/Core/Communication.cpp
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/include/lldb/Core/Communication.h
The file was modifiedlldb/source/Target/ThreadPlanCallFunction.cpp
The file was modifiedlldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
Commit 44a4ba859d8b0247e631f84645b37b433bdefc7a by flo
[AArch64] Add machine-combiner tests with instruction level FMFs.
The file was addedllvm/test/CodeGen/AArch64/machine-combiner-instr-fmf.mir
Commit a262f0fea46ce08008f3462c336c3d7107e98b27 by kbobyrev
[clangd] Implement Relations request for remote index

This is the last missing bit in the core remote index implementation. The only
remaining bits are some API refactorings (replacing Optional with Expected and
being better at reporting errors).

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D84894
The file was modifiedclang-tools-extra/clangd/unittests/remote/MarshallingTests.cpp
The file was modifiedclang-tools-extra/clangd/index/remote/marshalling/Marshalling.cpp
The file was modifiedclang-tools-extra/clangd/index/remote/Index.proto
The file was modifiedclang-tools-extra/clangd/index/remote/marshalling/Marshalling.h
The file was modifiedclang-tools-extra/clangd/index/remote/Client.cpp
The file was modifiedclang-tools-extra/clangd/index/remote/server/Server.cpp
Commit 2dec72ba5cd271f619a10d5cc230e384d3d86d1d by llvm-dev
[X86][SSE] combineExtractWithShuffle - extend extract(truncate(x),0) for any source vector size

As long as we can extract the lowest 128-bit subvector from the pre-truncated source vector, then we don't care what size it is.

The next stage will be to support non-zero extraction indices, as long as its still coming from the lowest 128-bit subvector.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
Commit cc529285fd621c6f4f5de77c8de10ac0bb7ce190 by llvm-dev
VectorUtils.h - reduce unnecessary includes. NFC.

Replace TargetLibraryInfo.h include with forward declaration and fix implicit dependencies.

Reduce SmallSet.h include to SmallVector.h include.
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit e77624a3be942c7abba48942b3a8da3462070a3f by flo
[IPConstProp] Remove and move tests to SCCP.

As far as I know, ipconstprop has not been used in years and ipsccp has
been used instead. This has the potential for confusion and sometimes
leads people to spend time finding & reporting bugs as well as
updating it to work with the latest API changes.

This patch moves the tests over to SCCP. There's one functional difference
I am aware of: ipconstprop propagates for each call-site individually, so
for functions that are called with different constant arguments it can sometimes
produce better results than ipsccp (at much higher compile-time cost).But
IPSCCP can be thought to do so as well for internal functions and as mentioned
earlier, the pass seems unused in practice (and there are no plans on working
towards enabling it anytime).

Also discussed on llvm-dev:
http://lists.llvm.org/pipermail/llvm-dev/2020-July/143773.html

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D84447
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was removedllvm/test/Transforms/IPConstantProp/recursion.ll
The file was addedllvm/test/Transforms/SCCP/2008-06-09-WeakProp.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/lib/Transforms/IPO/CMakeLists.txt
The file was removedllvm/test/Transforms/IPConstantProp/multiple_callbacks.ll
The file was modifiedllvm/bindings/go/llvm/transforms_ipo.go
The file was removedllvm/lib/Transforms/IPO/IPConstantPropagation.cpp
The file was removedllvm/test/Transforms/IPConstantProp/comdat-ipo.ll
The file was modifiedllvm/docs/Passes.rst
The file was removedllvm/test/Transforms/IPConstantProp/return-argument.ll
The file was addedllvm/test/Transforms/SCCP/return-constant.ll
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was removedllvm/test/Transforms/IPConstantProp/arg-type-mismatch.ll
The file was modifiedllvm/bindings/ocaml/transforms/ipo/llvm_ipo.mli
The file was removedllvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
The file was removedllvm/test/Transforms/IPConstantProp/arg-count-mismatch.ll
The file was removedllvm/test/Transforms/IPConstantProp/return-constant.ll
The file was removedllvm/test/Transforms/IPConstantProp/deadarg.ll
The file was addedllvm/test/Transforms/SCCP/recursion.ll
The file was removedllvm/test/Transforms/IPConstantProp/PR43857.ll
The file was addedllvm/test/Transforms/SCCP/PR43857.ll
The file was removedllvm/test/Transforms/IPConstantProp/thread_local_acs.ll
The file was removedllvm/test/Transforms/IPConstantProp/pthreads.ll
The file was modifiedllvm/utils/findoptdiff
The file was modifiedllvm/bindings/ocaml/transforms/ipo/ipo_ocaml.c
The file was addedllvm/test/Transforms/SCCP/naked-return.ll
The file was modifiedllvm/include/llvm/Transforms/IPO.h
The file was addedllvm/test/Transforms/SCCP/deadarg.ll
The file was removedllvm/test/Transforms/IPConstantProp/return-constants.ll
The file was modifiedllvm/include/llvm-c/Transforms/IPO.h
The file was addedllvm/test/Transforms/SCCP/arg-count-mismatch.ll
The file was removedllvm/test/Transforms/IPConstantProp/naked-return.ll
The file was addedllvm/test/Transforms/SCCP/arg-type-mismatch.ll
The file was addedllvm/test/Transforms/SCCP/thread_local_acs.ll
The file was addedllvm/test/Transforms/SCCP/openmp_parallel_for.ll
The file was addedllvm/test/Transforms/SCCP/return-argument.ll
The file was addedllvm/test/Transforms/SCCP/return-constants.ll
The file was removedllvm/test/Transforms/IPConstantProp/openmp_parallel_for.ll
The file was addedllvm/test/Transforms/SCCP/multiple_callbacks.ll
The file was addedllvm/test/Transforms/SCCP/pthreads.ll
The file was modifiedllvm/test/Transforms/SCCP/comdat-ipo.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
Commit a97940d4e0ed0507eb9beba7f22e34d62449a58f by frgossen
[MLIR][Shape] Limit `shape.rank` lowering to its extent tensor variant

When lowering to the standard dialect, we currently support only the extent
tensor variant of the shape.rank operation. This change lets the conversion
pattern fail in a well-defined manner.

Differential Revision: https://reviews.llvm.org/D84852
The file was modifiedmlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
The file was modifiedmlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
Commit 59d6e814ce0e7b40b7cc3ab136b9af2ffab9c6f8 by flo
Revert "[IPConstProp] Remove and move tests to SCCP."

This reverts commit e77624a3be942c7abba48942b3a8da3462070a3f.

Looks like some clang tests manually invoke -ipconstprop via opt.....
The file was addedllvm/test/Transforms/IPConstantProp/openmp_parallel_for.ll
The file was addedllvm/test/Transforms/IPConstantProp/return-constant.ll
The file was addedllvm/test/Transforms/IPConstantProp/multiple_callbacks.ll
The file was addedllvm/test/Transforms/IPConstantProp/PR43857.ll
The file was removedllvm/test/Transforms/SCCP/multiple_callbacks.ll
The file was addedllvm/test/Transforms/IPConstantProp/return-argument.ll
The file was modifiedllvm/bindings/ocaml/transforms/ipo/llvm_ipo.mli
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was removedllvm/test/Transforms/SCCP/openmp_parallel_for.ll
The file was addedllvm/lib/Transforms/IPO/IPConstantPropagation.cpp
The file was modifiedllvm/bindings/go/llvm/transforms_ipo.go
The file was addedllvm/test/Transforms/IPConstantProp/arg-count-mismatch.ll
The file was addedllvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll
The file was addedllvm/test/Transforms/IPConstantProp/deadarg.ll
The file was modifiedllvm/test/Transforms/SCCP/comdat-ipo.ll
The file was modifiedllvm/include/llvm-c/Transforms/IPO.h
The file was removedllvm/test/Transforms/SCCP/return-argument.ll
The file was addedllvm/test/Transforms/IPConstantProp/arg-type-mismatch.ll
The file was removedllvm/test/Transforms/SCCP/recursion.ll
The file was addedllvm/test/Transforms/IPConstantProp/thread_local_acs.ll
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was addedllvm/test/Transforms/IPConstantProp/recursion.ll
The file was modifiedllvm/include/llvm/Transforms/IPO.h
The file was modifiedllvm/bindings/ocaml/transforms/ipo/ipo_ocaml.c
The file was removedllvm/test/Transforms/SCCP/deadarg.ll
The file was removedllvm/test/Transforms/SCCP/return-constants.ll
The file was addedllvm/test/Transforms/IPConstantProp/return-constants.ll
The file was removedllvm/test/Transforms/SCCP/PR43857.ll
The file was removedllvm/test/Transforms/SCCP/pthreads.ll
The file was addedllvm/test/Transforms/IPConstantProp/naked-return.ll
The file was addedllvm/test/Transforms/IPConstantProp/pthreads.ll
The file was removedllvm/test/Transforms/SCCP/arg-count-mismatch.ll
The file was removedllvm/test/Transforms/SCCP/arg-type-mismatch.ll
The file was addedllvm/test/Transforms/IPConstantProp/comdat-ipo.ll
The file was modifiedllvm/utils/findoptdiff
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
The file was removedllvm/test/Transforms/SCCP/2008-06-09-WeakProp.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was removedllvm/test/Transforms/SCCP/thread_local_acs.ll
The file was modifiedllvm/lib/Transforms/IPO/CMakeLists.txt
The file was removedllvm/test/Transforms/SCCP/naked-return.ll
The file was removedllvm/test/Transforms/SCCP/return-constant.ll
The file was modifiedllvm/docs/Passes.rst
Commit 67e41df4e03e934b2990cd7f0b7f5d4e0a58e14f by jperier
[flang] Expose specific to generic intrinsic name mapping

The intrinsic lowering facility is based on the generic intrinsic names to avoid
duplicating implementations. Specific intrinsics call are re-written to call to
the generic versions by the front-end but this cannot be done when specific intrinsics
are passed as arguments (the rewrite would give illegal/ambiguous unparsed Fortran).
Solve the issue by making the specific to generic name mapping accessible to lowering
and can be later used to generate the unrestricted intrinsic functions.

Reviewed By: schweitz

Differential Revision: https://reviews.llvm.org/D84842
The file was modifiedflang/lib/Evaluate/intrinsics.cpp
The file was modifiedflang/include/flang/Evaluate/intrinsics.h
The file was modifiedflang/unittests/Evaluate/intrinsics.cpp
Commit e12db3ed997de473b2b7189781dbec7a239a3994 by herhut
[mlir] Allow index as element type of memref

Differential Revision: https://reviews.llvm.org/D84934
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/lib/Parser/TypeParser.cpp
The file was modifiedmlir/docs/Rationale/Rationale.md
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/test/IR/invalid.mlir
Commit 76d07503f0c69f6632e6d8d4736e2a4cb4055a92 by uday
[MLIR] Introduce inter-procedural memref layout normalization

-- Introduces a pass that normalizes the affine layout maps to the identity layout map both within and across functions by rewriting function arguments and call operands where necessary.
-- Memref normalization is now implemented entirely in the module pass '-normalize-memrefs' and the limited intra-procedural version has been removed from '-simplify-affine-structures'.
-- Run using -normalize-memrefs.
-- Return ops are not handled and would be handled in the subsequent revisions.

Signed-off-by: Abhishek Varma <abhishek.varma@polymagelabs.com>

Differential Revision: https://reviews.llvm.org/D84490
The file was modifiedmlir/include/mlir/Transforms/Passes.h
The file was modifiedmlir/include/mlir/Transforms/Utils.h
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
The file was addedmlir/lib/Transforms/NormalizeMemRefs.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was addedmlir/test/Transforms/normalize-memrefs.mlir
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/Utils/Utils.cpp
The file was removedmlir/test/Transforms/memref-normalize.mlir
Commit 13a3d88666e2162a91dfcae3824198c9ba74cc7b by csigg
[MLIR] Don't pass separate LowerToLLVMOptions when we already pass a LLVMTypeConverter which contains those options already.

This also prevents passing inconsistent options.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D84915
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 85defd23aa09f2fa8bf48fed7a04ed4a5851cd0c by herhut
[mlir][shape] Use memref of index in shape lowering

Now that we can have a memref of index type, we no longer need to materialize shapes in i64 and then index_cast.

Differential Revision: https://reviews.llvm.org/D84938
The file was modifiedmlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp
The file was modifiedmlir/test/Conversion/ShapeToSCF/shape-to-scf.mlir
Commit 9be1bdc24075b8a99f251cee5416615574afa295 by Louis Dionne
[libc++] Add XFAIL for <float.h> and <cfloat> tests on older Clangs
The file was modifiedlibcxx/test/std/depr/depr.c.headers/float_h.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/c.limits/cfloat.pass.cpp
Commit 1da0c47fa2e6e3316294e146ce7065dd49b2d5a2 by david.green
[LoopVectorizer] Don't create unused block masks for reductions. NFC

This removes some unneeded block masks when we don't have any
reductions. It should not have any effect on codegen as the values
created are dead anyway.

Differential Revision: https://reviews.llvm.org/D81415
The file was modifiedllvm/test/Transforms/LoopVectorize/tail-folding-vectorization-factor-1.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/icmp-uniforms.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit f7237ee74fa629a4e79abf4bd3bc2e4d2b5d8a0a by spatel
[ConstantFolding] add tests for abs intrinsic; NFC
The file was addedllvm/test/Analysis/ConstantFolding/abs.ll
Commit 04dc9691ebef740cc8dc85e9a5d7a3e1ed595765 by jasonliu
[XCOFF][AIX] Enable -ffunction-sections

Summary:
This patch implements -ffunction-sections on AIX.
This patch focuses on assembly generation.
Follow-on patch needs to handle:
1. -ffunction-sections implication for jump table.
2. Object file generation path and associated testing.

Differential Revision: https://reviews.llvm.org/D83875
The file was addedllvm/test/CodeGen/PowerPC/aix-xcoff-funcsect.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit 142d0d3ed8e07aca2476bc4ecc1a12d15577a84a by a.bataev
[OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region.

Need to map the base pointer for all directives, not only target
data-based ones.
The base pointer is mapped for array sections, array subscript, array
shaping and other array-like constructs with the base pointer. Also,
codegen for use_device_ptr clause was modified to correctly handle
mapping combination of array like constructs + use_device_ptr clause.
The data for use_device_ptr clause is emitted as the last records in the
data mapping array.
It applies only for global pointers.

Differential Revision: https://reviews.llvm.org/D84767
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was addedopenmp/libomptarget/test/env/base_ptr_ref_count.c
Commit 38272f45fed3f2233d54ff1495a4433f87215667 by tkeith
[flang] Create HostAssoc symbols for uplevel references

To make it easier for lowering to identify which symbols from the host
are captured by internal subprograms, create HostAssocDetails for them.

In particular, if a symbol is referenced and it is contained in a
subprogram or main program that is not the same as the containing
program unit of the reference, a HostAssocDetails symbol is created
in the current scope.

Differential Revision: https://reviews.llvm.org/D84889
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/symbol05.f90
The file was modifiedflang/test/Semantics/symbol03.f90
The file was modifiedflang/test/Semantics/symbol02.f90
Commit b7292f2db02d37c9291afc0613a3fbce0a4ad4e8 by hans
Speculative GCC 5 build fix

It's complaining about specializing the template in a different namespace.
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySortRegion.cpp
Commit dab8d6104bd743b8caa29cf232ddde051c2d404b by Jinsong Ji
[PowerPC][AIX] Move the testcase to proper dir
The file was removedtest/CodeGen/PowerPC/aix-complex.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-complex.ll
Commit 6316b0023ec081159843e5ca9609c6f35198a4c4 by llvm-dev
Attributor.h - remove unnecessary includes. NFCI.

Fix implicit cpp include dependencies.
The file was modifiedllvm/unittests/Transforms/IPO/AttributorTestBase.h
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit b8c8d1b30986a25ef392c786daf178beff230f6d by Matthew.Arsenault
AMDGPU: Convert some tests to use new buffer intrinsics

The legacy not struct or raw buffer intrinsics should now all be
consolidated into the tests specifically for those intrinsics.
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-store-crash.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fix-wwm-vgpr-copy.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/scheduler-subrange-crash.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-store-usedef.ll
Commit ef4e66543541603a426bdc5c170e9ab65e65c42e by momchil.velikov
[AArch64] Fix operand definitions of XPACI/XPACD

The operand to these instructions is both input and output.

These are not yet emitted by the compiler and the assembler already
works fine, so can't test in this patch.  But D75044 will use XPACI
and provide test coverage for this patch as well.

Differential Revision: https://reviews.llvm.org/D84298
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
Commit 4e6176fd912a68de0764fff43a129a73f5cab800 by Xiangling.Liao
[AIX] Temporarily disable IncrementalProcessingTest partially

Temporarily disable IncrementalProcessingTest partially until the static
initialization implementation on AIX is recovered.

Differential Revision: https://reviews.llvm.org/D84880
The file was modifiedclang/unittests/CodeGen/IncrementalProcessingTest.cpp
Commit b69357c2f4f2aa0c4999d6827a40fe748641fdb1 by a.bataev
Revert "[OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region."

This reverts commit 142d0d3ed8e07aca2476bc4ecc1a12d15577a84a to
investigate undefined behavior revealed by buildbots.
The file was modifiedclang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was removedopenmp/libomptarget/test/env/base_ptr_ref_count.c
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit c4b7bfdff65e5883bfe64248ac244b9fadf531ee by kbobyrev
[clangd] NFC: Spell out types in index callback arguments
The file was modifiedclang-tools-extra/clangd/index/remote/server/Server.cpp
Commit 622e46156d9a91206c877a604d069bb3e2dbf294 by a.bataev
[OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region.

Need to map the base pointer for all directives, not only target
data-based ones.
The base pointer is mapped for array sections, array subscript, array
shaping and other array-like constructs with the base pointer. Also,
codegen for use_device_ptr clause was modified to correctly handle
mapping combination of array like constructs + use_device_ptr clause.
The data for use_device_ptr clause is emitted as the last records in the
data mapping array.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D84767
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was addedopenmp/libomptarget/test/env/base_ptr_ref_count.c
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
Commit 19756ef53a498b7aa1fbac9e3a7cd3aa8e110fad by johannes
[OpenMP][IRBuilder] Support allocas in nested parallel regions

We need to keep track of the alloca insertion point (which we already
communicate via the callback to the user) as we place allocas as well.

Reviewed By: fghanim, SouraVX

Differential Revision: https://reviews.llvm.org/D82470
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit ebad64dfe133e64d1df6b82e6ef2fb031d635b08 by johannes
[OpenMP][FIX] Consistently use OpenMPIRBuilder if requested

When we use the OpenMPIRBuilder for the parallel region we need to also
use it to get the thread ID (among other things) in the body. This is
because CGOpenMPRuntime::getThreadID() and
CGOpenMPRuntime::emitUpdateLocation implicitly assumes that if they are
called from within a parallel region there is a certain structure to the
code and certain members of the OMPRegionInfo are initialized. It might
make sense to initialize them even if we use the OpenMPIRBuilder but we
would preferably get rid of such state instead.

Bug reported by Anchu Rajendran Sudhakumari.

Depends on D82470.

Reviewed By: anchu-rajendran

Differential Revision: https://reviews.llvm.org/D82822
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was addedclang/test/OpenMP/irbuilder_nested_parallel_for.c
Commit d2c22487225b05159c1d7d0da7fac7cae3d2049b by maskray
[X86] Parse and ignore .arch directives

We parse .arch so that some `.arch i386; .code32` code can assemble. It seems
that X86AsmParser does not do a good job tracking what features are needed to
assemble instructions. GNU as's x86 port supports a very wide range of .arch
operands. Ignore the operand for now.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D84900
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was addedllvm/test/MC/X86/directive-arch.s
Commit 7b114446c320de542c50c4c02f566e5d18adee33 by kparzysz
Align store conditional address

In cases where the alignment of the datatype is smaller than
expected by the instruction, the address is aligned. The aligned
address is used for the load, but wasn't used for the store
conditional, which resulted in a run-time alignment exception.
The file was modifiedllvm/lib/CodeGen/AtomicExpandPass.cpp
The file was addedllvm/test/CodeGen/Hexagon/atomic-store-byte.ll
Commit b6635b5b15cb1c160776493a982302a854df332e by Jonas Devlieghere
[lldb] Add SBCommandInterpreterRunOptions to LLDB.h
The file was modifiedlldb/include/lldb/API/LLDB.h
Commit 6a043ecc0cf4d257d06c4fe0c3d5e1d9a8c7ea94 by Artem Dergachev
[clang-tidy] Fix ODR violation in unittests.

Both tests define clang::tidy::test::TestCheck::registerMatchers().
This is UB and causes linker to sometimes choose the wrong overload.

Put classes into anonymous namespaces to avoid the problem.

Differential Revision: https://reviews.llvm.org/D84902
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp
Commit 0a00a7d57791e2bf2a5c86c09dbfb52aac57862d by Louis Dionne
[libc++] Use generator expression in Linker script generation

This is an alternative to the workaround in 34a3b24a90c6.

Differential Revision: https://reviews.llvm.org/D68880
The file was modifiedlibcxx/cmake/Modules/DefineLinkerScript.cmake
Commit 1260a155c37f567111902e532f32d7facdb0f087 by Kuba Mracek
[tsan] Fix the open and open64 interceptors to have correct declarations (variadic functions)

Not matching the (real) variadic declaration makes the interceptor take garbage inputs on Darwin/AArch64.

Differential Revision: https://reviews.llvm.org/D84570
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was addedcompiler-rt/test/tsan/variadic-open.cpp
Commit 33fd4a18e7d373344c8af0012dd97c1c739f2916 by mahesha.comp
[AMDGPU/MemOpsCluster] Clean-up fixme's around mem ops clustering logic

Get rid of all fixmes and base heuristic on `num-clustered-dwords`. The main intuition behind this is as
follows. The existing heuristic roughly summarizes as below:

* Assume, all the mem ops instructions participating in the clustering process,  loads/stores same num bytes
* If num bytes loaded by each mem op is 4 bytes, then cluster at max 5 mem ops, that is at max 20 bytes
* If num bytes loaded by each mem op is 8 bytes, then cluster at max 3 mem ops, that is at max 24 bytes
* If num bytes loaded by each mem op is 16 bytes, then cluster at max 2 mem ops, that is at max 32 bytes

So, we need to make sure that the new heuristic do not completey deviate away from the above one, and it
properly handles both the sub-word loads and the wide loads.

Reviewed By: arsenm, rampitec

Differential Revision: https://reviews.llvm.org/D84354
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdhsa-trap-num-sgprs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fshr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-stores.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ubfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/udivrem.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/token-factor-inline-limit-test.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-weird-sizes.ll

Summary

  1. mlir-nvidia removing outdated DLLVM_ENABLE_CXX1Y (details)
Commit 48a02487ae940446bb7c2ee3d4c93ba7cdc6b9cf by kuhnel
mlir-nvidia removing outdated DLLVM_ENABLE_CXX1Y
The file was modifiedbuildbot/osuosl/master/config/builders.py