SuccessChanges

Summary

  1. [llvm-zorg] Flang and MLIR PowerPC buildbot; removed double quoting (details)
Commit 21f1cbd81a9952c3c1b68d1796bf285a183c954e by zrselk
[llvm-zorg] Flang and MLIR PowerPC buildbot; removed double quoting

Currently the -DLLVM_ENABLE_PROJECTS flag is not being parsed correctly
because of double quoting resulting in '-DLLVM_ENABLE_PROJECTS="mlir"'.
This commit changes zorg to generate -DLLVM_ENABLE_PROJECTS=mlir which
works properly.

Differential Revision: https://reviews.llvm.org/D86219
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [InstCombine] reduce code duplication; NFC (details)
  2. [lldb] Move builders under lldbsuite.test as they import lldbtest (NFC) (details)
  3. [InstCombine] avoid 'tmp' names in tests; NFC (details)
  4. Add python bindings for Type and IntegerType. (details)
  5. [NFC][llvm] Make the contructors of `ElementCount` private. (details)
  6. [clang] Replace call to private ctor with ElementCount::getScalable (details)
  7. [docs] Clarify ENABLE_MODULES uses Clang Header Modules. (details)
  8. [clang] Replace call to private ctor with ElementCount::getScalable (2/2) (details)
  9. [OpenMPOpt][HideMemTransfersLatency] Moving the 'wait' counterpart of __tgt_target_data_begin_mapper (details)
  10. [lldb] Fix buildDsym signature in Builder base class (details)
  11. [lldb] Add getExtraMakeArgs to Builder (NFC) (details)
  12. [mlir] fix build after llvm made ElementCount constructor private (details)
  13. [mlir] expose standard attributes to C API (details)
  14. [clang][driver]Add quotation mark in test/fortran.f95  to avoid false positive (details)
  15. [Clang] Fix BZ47169, loader_uninitialized on incomplete types (details)
  16. [GlobalISel] Add combine for (x & mask) -> x when (x & mask) == x (details)
  17. Revert "[NFC][llvm] Make the contructors of `ElementCount` private." (details)
  18. Fix flang test after MLIR API changes (details)
  19. Revert "Revert "[NFC][llvm] Make the contructors of `ElementCount` private."" (details)
  20. [mlir][VectorToSCF] Fix of broken build - missing link to MLIRLinalgUtils (details)
  21. [CMake] Don't look for terminfo libs when LLVM_ENABLE_TERMINFO=OFF (details)
  22. [CMake] Fix OCaml build failure because of absolute path in system libs (details)
  23. GlobalISel: Use Register (details)
  24. [InstCombine] add tests for shifted xor; NFC (details)
  25. sanitizer_common: Use void* for madvise first argument on Solaris. (details)
  26. AMDGPU/GlobalISel: Remove hack for combines forming illegal extloads (details)
  27. GlobalISel: Don't check for verifier enforced constraint (details)
  28. [index-while-building] PathIndexer (details)
  29. AMDGPU: Fix wrong type mangling in intrinsic test (details)
  30. [DSE] Remove dead argument from removePartiallyOverlappedStores (NFC). (details)
  31. [lldb] Extend Darwin builder to pass the ARCH_CFLAGS spec to Make. (details)
  32. GlobalISel: Add TargetLowering member to LegalizerHelper (details)
  33. [CMake] Always mark terminfo as unavailable on Windows (details)
  34. [lldb] Code sign binaries with entitlements (details)
  35. [PGO][PGSO][LV] Fix loop not vectorized issue under profile guided size opts. (details)
  36. [lldb] Print the load command that wasn't found in TestSimulatorPlatform (details)
  37. [DebugInfo] Emit DW_OP_implicit_value for Floating point constants (details)
  38. [AArch64][GlobalISel] Handle rtcGPR64RegClassID in AArch64RegisterBankInfo::getRegBankFromRegClass() (details)
  39. Revert "[DebugInfo] Emit DW_OP_implicit_value for Floating point constants" (details)
  40. [OpenMP] Refactored the function `DeviceTy::data_exchange` (details)
  41. Re-apply "[DebugInfo] Emit DW_OP_implicit_value for Floating point constants" (details)
  42. [mlir] Add a new "Pattern Descriptor Language" (PDL) dialect. (details)
  43. [OPENMP]Fix PR47158, case 2: do not report host-only functions in unused function in device mode. (details)
  44. [X89] Ignore -mtune=generic to fix failures some users are seeing after D85384 (details)
  45. [lldb] Move Xcode SDK helper functions into lldbutil (details)
  46. [X86] Add feature for Fast Short REP MOV (FSRM) for Icelake or newer. (details)
  47. Implement FPToUI and UIToFP ops in standard dialect (details)
  48. [ValueTracking] define/use max recursion depth in header (details)
  49. Force Remove Attribute (details)
  50. [CMake] Fix an issue where get_system_libname creates an empty regex capture on windows (details)
  51. [llvm] Add default constructor of `llvm::ElementCount`. (details)
  52. [libc][obvious] Fix x86 long double conversion to integer. (details)
  53. [DFSan] Handle mmap() calls before interceptors are installed. (details)
  54. [libFuzzer] Fix value-profile-load test. (details)
  55. [lldb/interpreter] Add REPL-specific init file (details)
  56. [lldb] Update TestSimulatorPlatform.py to set ARCH_CFLAGS instead of TRIPLE (details)
  57. Explain why the array bound is non-constant in VLA diagnostics. (details)
  58. [c++14] Implement missed piece of N3323: use "converted constant" rules (details)
  59. GlobalISel: Implement fewerElementsVector for G_CONCAT_VECTORS sources (details)
  60. [X86] Add mtune command line test cases that should have gone with 4cbceb74bb5676d0181d4d0cab5194d90a42c2ec (details)
  61. [X86] Add support 'tune' in target attribute (details)
  62. [MLIR] Add PatternRewriter::mergeBlockBefore() to merge a block in the middle of another block. (details)
Commit c8d711adaeba99150b4cbe57f7d2eb9b719b0642 by spatel
[InstCombine] reduce code duplication; NFC
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit b623f3c0b41aee2984e54bf7a4909532faacc426 by Jonas Devlieghere
[lldb] Move builders under lldbsuite.test as they import lldbtest (NFC)
The file was addedlldb/packages/Python/lldbsuite/test/builders/builder.py
The file was removedlldb/packages/Python/lldbsuite/builders/darwin.py
The file was removedlldb/packages/Python/lldbsuite/builders/builder.py
The file was removedlldb/packages/Python/lldbsuite/builders/__init__.py
The file was addedlldb/packages/Python/lldbsuite/test/builders/darwin.py
The file was addedlldb/packages/Python/lldbsuite/test/builders/__init__.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit 5e31dd2650ebb39c206780c900035e4eb64b6957 by spatel
[InstCombine] avoid 'tmp' names in tests; NFC

They may conflict with update_test_checks.py regexes.
The file was modifiedllvm/test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
Commit d29d1e2ffd61f450b4392d2dab8060e54d040fcf by stellaraccident
Add python bindings for Type and IntegerType.

* The binding for Type is trivial and should be non-controversial.
* The way that I define the IntegerType should serve as a pattern for what I want to do next.
* I propose defining the rest of the standard types in this fashion and then generalizing for dialect types as necessary.
* Essentially, creating/accessing a concrete Type (vs interacting with the string form) is done by "casting" to the concrete type (i.e. IntegerType can be constructed with a Type and will throw if the cast is illegal).
* This deviates from some of our previous discussions about global objects but I think produces a usable API and we should go this way.

Differential Revision: https://reviews.llvm.org/D86179
The file was addedmlir/test/Bindings/Python/ir_module.py
The file was removedmlir/test/Bindings/Python/ir_module_test.py
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was addedmlir/test/Bindings/Python/ir_types.py
The file was modifiedmlir/include/mlir-c/IR.h
Commit 264afb9e6aebc98c353644dd0700bec808501cab by francesco.petrogalli
[NFC][llvm] Make the contructors of `ElementCount` private.

Differential Revision: https://reviews.llvm.org/D86120
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
The file was modifiedllvm/include/llvm/IR/DerivedTypes.h
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/unittests/IR/VerifierTest.cpp
The file was modifiedllvm/include/llvm/IR/Intrinsics.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/unittests/FuzzMutate/OperationsTest.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/unittests/IR/VectorTypesTest.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/lib/IR/Type.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
The file was modifiedllvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
Commit fc53bd610ff95d2824617095bcf4976035b4cb9a by Jonas Devlieghere
[clang] Replace call to private ctor with ElementCount::getScalable

Update the code for D86120 which made the constructors of `ElementCount`
private.
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit 0814fcb7278a7101a6d7d6de9209981aeec4de5b by flo
[docs] Clarify ENABLE_MODULES uses Clang Header Modules.

Suggested post-commit by @dblaikie, thanks!
The file was modifiedllvm/docs/CMake.rst
Commit 6b742cc48d91f35bfa98844d5add3655f33f8326 by Jonas Devlieghere
[clang] Replace call to private ctor with ElementCount::getScalable (2/2)

Update the code for D86120 which made the constructors of `ElementCount`
private. Apparently I missed another instance in the macro just below.
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit bd2fa1819b9dc1a863a4b5a8abc540598f56c8f2 by htobonmm7
[OpenMPOpt][HideMemTransfersLatency] Moving the 'wait' counterpart of __tgt_target_data_begin_mapper

canBeMovedDownwards checks if the "wait" counterpart of __tgt_target_data_begin_mapper can be moved downwards, returning a pointer to the instruction that might require/modify the data transferred, and returning null it the movement is not possible or not worth it. The function splitTargetDataBeginRTC receives that returned instruction and instead of moving the "wait" it creates it at that point.

Differential Revision: https://reviews.llvm.org/D86155
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
Commit 804691adc9c93eb2ac68baf531e1a6f8b6fdb0c1 by Jonas Devlieghere
[lldb] Fix buildDsym signature in Builder base class

The method was missing the optional argument `testname`.
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/builder.py
Commit 074c591a7e9b366582dfc8dc127dd8df2ab1ac99 by Jonas Devlieghere
[lldb] Add getExtraMakeArgs to Builder (NFC)

Instead of a new method for each variable any subclass might want to
set, have a method getExtraMakeArgs that each subclass can use to return
whatever extra Make arguments it wants.

As per Pavel's suggestion in D85539.
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/darwin.py
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/builder.py
Commit 0f95e73190c9a555c2917a2963eab128c4ba5395 by zinenko
[mlir] fix build after llvm made ElementCount constructor private

The original patch (264afb9e6aebc98c353644dd0700bec808501cab) did not
update subprojects.
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit da562974628017ae92c451ca064fea5b59ad71a4 by zinenko
[mlir] expose standard attributes to C API

Provide C API for MLIR standard attributes. Since standard attributes live
under lib/IR in core MLIR, place the C APIs in the IR library as well (standard
ops will go in a separate library).

Affine map and integer set attributes are only exposed as placeholder types
with IsA support due to the lack of C APIs for the corresponding types.

Integer and floating point attribute APIs expecting APInt and APFloat are not
exposed pending decision on how to support APInt and APFloat.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D86143
The file was modifiedmlir/lib/CAPI/IR/CMakeLists.txt
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedmlir/include/mlir-c/IR.h
The file was modifiedmlir/docs/CAPI.md
The file was addedmlir/lib/CAPI/IR/StandardAttributes.cpp
The file was addedmlir/include/mlir-c/StandardAttributes.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/test/CAPI/ir.c
Commit 33c554d8444a5ce1fb85def04de8c0ebfec643b9 by caroline.concatto
[clang][driver]Add quotation mark in test/fortran.f95  to avoid false positive

If a folder's name, where the test fortran.f95 is running, has cc1 the test
fails because of  CHECK-ASM-NOT: cc1.
The solution used in this patch is to add quotation mark around cc1 and cc1as
because the driver returns these flags with quotation marks ("")

Reviewed By: DavidTruby, echristo

Differential Revision: https://reviews.llvm.org/D86132
The file was modifiedclang/test/Driver/fortran.f95
Commit bcaa806a4747595116b538e8b75b12966e6607f6 by jonathanchesterfield
[Clang] Fix BZ47169, loader_uninitialized on incomplete types

[Clang] Fix BZ47169, loader_uninitialized on incomplete types

Reported by @erichkeane. Fix proposed by @erichkeane works, tests included.
Bug introduced in D74361. Crash was on querying a CXXRecordDecl for
hasTrivialDefaultConstructor on an incomplete type. Fixed by calling
RequireCompleteType in the right place.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D85990
The file was modifiedclang/test/Sema/attr-loader-uninitialized.c
The file was modifiedclang/test/CodeGenCXX/attr-loader-uninitialized.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Sema/attr-loader-uninitialized.cpp
Commit d25b12bdc307264e353f1a3c4ccd65c0b45b2f86 by Jessica Paquette
[GlobalISel] Add combine for (x & mask) -> x when (x & mask) == x

If we have a mask, and a value x, where (x & mask) == x, we can drop the AND
and just use x.

This is about a 0.4% geomean code size improvement on CTMark at -O3 for AArch64.

In AArch64, this is most useful post-legalization. Patterns like this often
show up when legalizing s1s, which must be extended to larger types.

e.g.

```
%cmp:_(s32) = G_ICMP ...
%and:_(s32) = G_AND %cmp, 1
```

Since G_ICMP only produces a single bit, there's no reason to mask it with the
G_AND.

Differential Revision: https://reviews.llvm.org/D85463
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-and-trivial-mask.mir
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
Commit 4fc56d70aadea9df88e7bf408e2e203dc79ff8e6 by joker.eph
Revert "[NFC][llvm] Make the contructors of `ElementCount` private."

This reverts commit 264afb9e6aebc98c353644dd0700bec808501cab.
(and dependent 6b742cc48 and fc53bd610f)

MLIR/Flang are broken.
The file was modifiedllvm/include/llvm/IR/DerivedTypes.h
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
The file was modifiedllvm/unittests/IR/VectorTypesTest.cpp
The file was modifiedllvm/unittests/IR/VerifierTest.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/unittests/FuzzMutate/OperationsTest.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/IR/Type.cpp
The file was modifiedllvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/include/llvm/IR/Intrinsics.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
Commit 2d83014c469153b4e79bb85d110b026d9f3c5664 by joker.eph
Fix flang test after MLIR API changes
The file was modifiedflang/unittests/Lower/OpenMPLoweringTest.cpp
Commit a407ec9b6db1e29e9aa361819f499ad11038d2dd by joker.eph
Revert "Revert "[NFC][llvm] Make the contructors of `ElementCount` private.""

Was reverted because MLIR/Flang builds were broken, these APIs have been
fixed in the meantime.
The file was modifiedllvm/lib/IR/Type.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/include/llvm/IR/DerivedTypes.h
The file was modifiedllvm/include/llvm/IR/Intrinsics.h
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
The file was modifiedllvm/unittests/FuzzMutate/OperationsTest.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
The file was modifiedllvm/unittests/IR/VectorTypesTest.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedllvm/unittests/IR/VerifierTest.cpp
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit aeb338cc3e5ac51644eb2328431607cec5decea9 by limo
[mlir][VectorToSCF] Fix of broken build - missing link to MLIRLinalgUtils
The file was modifiedmlir/lib/Conversion/VectorToSCF/CMakeLists.txt
Commit 495f91fd33d492941c39424a32cf24bcfe192f35 by phosek
[CMake] Don't look for terminfo libs when LLVM_ENABLE_TERMINFO=OFF

D85820 introduced a bug where LLVM_ENABLE_TERMINFO was set to true when
the library was found, even when the user had set
-DLLVM_ENABLE_TERMINFO=OFF.

Patch By: haampie

Differential Revision: https://reviews.llvm.org/D86173
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedllvm/cmake/config-ix.cmake
Commit 8e4acb82f71ad4effec8895b8fc957189ce95933 by phosek
[CMake] Fix OCaml build failure because of absolute path in system libs

D85820 introduced a full path in the LLVM_SYSTEM_LIBS property of the
LLVMSupport target, which made the OCaml bindings fail to build, since
they use -l [system_lib] flags for every lib in LLVM_SYSTEM_LIBS, which
cannot work with absolute paths.

This patch solves the issue in a similar vain as ZLIB does it: it adds
the full library path to imported_libs, and adds a stripped down version
without directories, lib prefix and lib suffix to system_libs

In the future we should probably make some changes to LLVM_SYSTEM_LIBS,
since both zlib and ncurses do not necessarily have to be system libs
anymore due to the find_package / find_library bits introduced in
D85820 and D79219.

Patch By: haampie

Differential Revision: https://reviews.llvm.org/D86134
The file was modifiedllvm/lib/Support/CMakeLists.txt
Commit e95c08432a8f898c3528d432083312e76dbbb94d by Matthew.Arsenault
GlobalISel: Use Register
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp
Commit 455688e293fa86d5e6de6f96740bc67dce34a179 by spatel
[InstCombine] add tests for shifted xor; NFC
The file was modifiedllvm/test/Transforms/InstCombine/xor.ll
The file was modifiedllvm/test/Transforms/InstCombine/and-xor-merge.ll
Commit a208ad5ddb5bbcf773dae82d37755dc109dab483 by peter
sanitizer_common: Use void* for madvise first argument on Solaris.

Differential Revision: https://reviews.llvm.org/D86166
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_solaris.cpp
Commit 9e8d59a9b81ec152e33881ed5bd3aa07ac805db0 by Matthew.Arsenault
AMDGPU/GlobalISel: Remove hack for combines forming illegal extloads

Previously we weren't adding the LegalizerInfo to the post-legalizer
combiner. Since that's fixed, we don't need to try to filter out the
one case that was breaking.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCombine.td
Commit d64ad3f0516a5d539080e594f16204cd2dfd6621 by Matthew.Arsenault
GlobalISel: Don't check for verifier enforced constraint

Loads are always required to have a single memory operand.
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Commit 4da126c3748f3b6c6251e45614b12d3aa118d047 by Jan Korous
[index-while-building] PathIndexer

Differential Revision: https://reviews.llvm.org/D66854
The file was modifiedclang/lib/CMakeLists.txt
The file was addedclang/lib/IndexSerialization/SerializablePathCollection.cpp
The file was addedclang/include/clang/IndexSerialization/SerializablePathCollection.h
The file was addedclang/lib/IndexSerialization/CMakeLists.txt
Commit d64babf9687bbabbb08db66c55d6f575a937826d by Matthew.Arsenault
AMDGPU: Fix wrong type mangling in intrinsic test

The generic address space used to be 4, but the string here seems to
not matter.
The file was modifiedllvm/test/Transforms/InferAddressSpaces/AMDGPU/mem-intrinsics.ll
Commit c0cbe6453ac1918e405de10f756f6f7f99668bbd by flo
[DSE] Remove dead argument from removePartiallyOverlappedStores (NFC).

The argument is unused and can be removed.
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit e5d08fcbac722d487973d9c96838c0589f1953c3 by Jonas Devlieghere
[lldb] Extend Darwin builder to pass the ARCH_CFLAGS spec to Make.

Construct the ARCH_CFLAGS in Python rather than in Make by disassembling
the TRIPLE.

Differential revision: https://reviews.llvm.org/D85539
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/builder.py
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/darwin.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit adbcc8e73321dffac403af55bc2978f9794fb09b by Matthew.Arsenault
GlobalISel: Add TargetLowering member to LegalizerHelper
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 76bf26236f6fd453343666c3cd91de8f74ffd89d by phosek
[CMake] Always mark terminfo as unavailable on Windows

This addresses the issue introduced by D86134.

Differential Revision: https://reviews.llvm.org/D86234
The file was modifiedllvm/cmake/config-ix.cmake
Commit b40a3814b6fd0c784b52622eddac56d7c321d7cc by Jonas Devlieghere
[lldb] Code sign binaries with entitlements

Binaries need to be code signed with entitlements to run on device.

Differential revision: https://reviews.llvm.org/D86237
The file was addedlldb/packages/Python/lldbsuite/test/make/entitlements.plist
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/darwin.py
Commit ab401a8c8a9cf2b9e81eb6864aa647d96751ae84 by yamauchi
[PGO][PGSO][LV] Fix loop not vectorized issue under profile guided size opts.

D81345 appears to accidentally disables vectorization when explicitly
enabled. As PGSO isn't currently accessible from LoopAccessInfo, revert back to
the vectorization with versioning-for-unit-stride for PGSO.

Differential Revision: https://reviews.llvm.org/D85784
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/optsize.ll
Commit 9f5210aacfec8602beb60f309389e2261b4d3c75 by Jonas Devlieghere
[lldb] Print the load command that wasn't found in TestSimulatorPlatform

Print which load command we were looking for when the sanity check
fails:

  AssertionError: 0 != 1 : wrong number of load commands for
  LC_VERSION_MIN_MACOSX
The file was modifiedlldb/test/API/macosx/simulator/TestSimulatorPlatform.py
Commit 15801f16194a3da6bc9ae5b869815178993303e7 by SourabhSingh.Tomar
[DebugInfo] Emit DW_OP_implicit_value for Floating point constants

llvm is missing support for DW_OP_implicit_value operation.
DW_OP_implicit_value op is indispensable for cases such as
optimized out long double variables.

For intro refer: DWARFv5 Spec Pg: 40 2.6.1.1.4 Implicit Location Descriptions

Consider the following example:
```
int main() {
        long double ld = 3.14;
        printf("dummy\n");
        ld *= ld;
        return 0;
}
```
when compiled with tunk `clang` as
`clang test.c -g -O1` produces following location description
of variable `ld`:
```
DW_AT_location        (0x00000000:
                     [0x0000000000201691, 0x000000000020169b): DW_OP_constu 0xc8f5c28f5c28f800, DW_OP_stack_value, DW_OP_piece 0x8, DW_OP_constu 0x4000, DW_OP_stack_value, DW_OP_bit_piece 0x10 0x40, DW_OP_stack_value)
                  DW_AT_name    ("ld")
```
Here one may notice that this representation is incorrect(DWARF4
stack could only hold integers(and only up to the size of address)).
Here the variable size itself is `128` bit.
GDB and LLDB confirms this:
```
(gdb) p ld
$1 = <invalid float value>
(lldb) frame variable ld
(long double) ld = <extracting data from value failed>
```

GCC represents/uses DW_OP_implicit_value in these sort of situations.
Based on the discussion with Jakub Jelinek regarding GCC's motivation
for using this, I concluded that DW_OP_implicit_value is most appropriate
in this case.

Link: https://gcc.gnu.org/pipermail/gcc/2020-July/233057.html

GDB seems happy after this patch:(LLDB doesn't have support
for DW_OP_implicit_value)
```
(gdb) p ld
p ld
$1 = 3.14000000000000012434
```

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D83560
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/DebugInfo/X86/implicit_value-float.ll
The file was addedllvm/test/DebugInfo/X86/implicit_value-double.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was modifiedllvm/test/DebugInfo/X86/float_const_loclist.ll
Commit e887d0e89b837be37b4279735a9c1ac57e90c995 by Jessica Paquette
[AArch64][GlobalISel] Handle rtcGPR64RegClassID in AArch64RegisterBankInfo::getRegBankFromRegClass()

TargetRegisterInfo::getMinimalPhysRegClass() returns rtcGPR64RegClassID for X16
and X17, as it's the last matching class. This in turn gets passed to
AArch64RegisterBankInfo::getRegBankFromRegClass(), which hits an unreachable.

It seems sensible to handle this case, so copies from X16 and X17 work.
Copying from X17 is used in inline assembly in libunwind for pointer
authentication.

Differential Revision: https://reviews.llvm.org/D85720
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/regbankselect-default.mir
Commit 9937872c02ba1b088a27a880301b6d816d971d16 by SourabhSingh.Tomar
Revert "[DebugInfo] Emit DW_OP_implicit_value for Floating point constants"

This reverts commit 15801f16194a3d.
arc's land messed up! It removed the new commit message and took it
from revision.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/float_const_loclist.ll
The file was removedllvm/test/DebugInfo/X86/implicit_value-double.ll
The file was removedllvm/test/DebugInfo/X86/implicit_value-float.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Commit 83c3d07994c4cd24b9548362d03290af2a9483b0 by tianshilei1992
[OpenMP] Refactored the function `DeviceTy::data_exchange`

This patch contains the following changes:
1. Renamed the function `DeviceTy::data_exchange` to `DeviceTy::dataExchange`;
2. Changed the second argument `DeviceTy DstDev` to `DeviceTy &DstDev`;
3. Renamed the last argument.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D86238
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/src/api.cpp
Commit ef8992b9f0189005e0d9e09bd0967301bd7a7cc6 by SourabhSingh.Tomar
Re-apply "[DebugInfo] Emit DW_OP_implicit_value for Floating point constants"

This patch was reverted in 7c182663a857fc87 due to some failures
observed on PCC based machines. Failures were due to Endianness issue and
long double representation issues.

Patch is revised to address Endianness issue. Furthermore, support
for emission of `DW_OP_implicit_value` for `long double` has been removed
(since it was unclean at the moment). Planning to handle this in
a clean way soon!

For more context, please refer to following review link.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D83560
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was addedllvm/test/DebugInfo/X86/implicit_value-float.ll
The file was modifiedllvm/test/DebugInfo/X86/float_const_loclist.ll
The file was addedllvm/test/DebugInfo/X86/implicit_value-double.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Commit 3fb3927bd333cded1f51025161a4ee7e7ca722c1 by riddleriver
[mlir] Add a new "Pattern Descriptor Language" (PDL) dialect.

PDL presents a high level abstraction for the rewrite pattern infrastructure available in MLIR. This abstraction allows for representing patterns transforming MLIR, as MLIR. This allows for applying all of the benefits that the general MLIR infrastructure provides, to the infrastructure itself. This means that pattern matching can be more easily verified for correctness, targeted by frontends, and optimized.

PDL abstracts over various different aspects of patterns and core MLIR data structures. Patterns are specified via a `pdl.pattern` operation. These operations contain a region body for the "matcher" code, and terminate with a `pdl.rewrite` that either dispatches to an external rewriter or contains a region for the rewrite specified via `pdl`. The types of values in `pdl` are handle types to MLIR C++ types, with `!pdl.attribute`, `!pdl.operation`, and `!pdl.type` directly mapping to `mlir::Attribute`, `mlir::Operation*`, and `mlir::Value` respectively.

An example pattern is shown below:

```mlir
// pdl.pattern contains metadata similarly to a `RewritePattern`.
pdl.pattern : benefit(1) {
  // External input operand values are specified via `pdl.input` operations.
  // Result types are constrainted via `pdl.type` operations.

  %resultType = pdl.type
  %inputOperand = pdl.input
  %root, %results = pdl.operation "foo.op"(%inputOperand) -> %resultType
  pdl.rewrite(%root) {
    pdl.replace %root with (%inputOperand)
  }
}
```

This is a culmination of the work originally discussed here: https://groups.google.com/a/tensorflow.org/g/mlir/c/j_bn74ByxlQ

Differential Revision: https://reviews.llvm.org/D84578
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDLTypes.h
The file was addedmlir/lib/Dialect/PDL/IR/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDL.h
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was addedmlir/test/Dialect/PDL/invalid.mlir
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDLOps.td
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was addedmlir/lib/Dialect/PDL/CMakeLists.txt
The file was addedmlir/test/Dialect/PDL/ops.mlir
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was addedmlir/include/mlir/Dialect/PDL/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/PDL/IR/PDLBase.td
The file was addedmlir/include/mlir/Dialect/PDL/IR/CMakeLists.txt
The file was addedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
Commit fb4acd37fe60a08a0077560d2814053d76ea1c41 by a.bataev
[OPENMP]Fix PR47158, case 2: do not report host-only functions in unused function in device mode.

If the function is not marked exlicitly as declare target and it calls
function(s), marked as declare target device_type(host), these host-only
functions should not be dignosed as used in device mode, if the caller
function is not used in device mode too.

Differential Revision: https://reviews.llvm.org/D86164
The file was modifiedclang/test/OpenMP/declare_target_messages.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
Commit 7cffaf510f97eabef89b0d45aeb939df40e8e9d3 by craig.topper
[X89] Ignore -mtune=generic to fix failures some users are seeing after D85384

Some code bases out there pass -mtune=generic to clang. This would have
been ignored prior to D85384. Now it results in an error
because "generic" isn't recognized by isValidCPUName.

And if we let it go through to the backend as a tune
setting it would get the tune flags closer to i386 rather
than a modern CPU.

I plan to change what tune=generic does in the backend in
a future patch. And allow this in the frontend.
But this should be a quick fix for the error some users
are seeing.
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit a3fc61c80f89ea709a1128caa2de2723fe307c81 by Jonas Devlieghere
[lldb] Move Xcode SDK helper functions into lldbutil

This allows the logic to be reused by both the builders and the tests.
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
The file was modifiedlldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/darwin.py
Commit 28ccc52c4045f3d142e6f83d6f64d359b1c12808 by yamauchi
[X86] Add feature for Fast Short REP MOV (FSRM) for Icelake or newer.

Differential Revision: https://reviews.llvm.org/D85989
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
Commit d34df52377fda5452a8c244a8378957eaed66700 by zinenko
Implement FPToUI and UIToFP ops in standard dialect

Add the unsigned complements to the existing FPToSI and SIToFP operations in the
standard dialect, with one-to-one lowerings to the corresponding LLVM operations.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D85557
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
Commit 6f3511a01a5227358a334803c264cfce4175ca5d by spatel
[ValueTracking] define/use max recursion depth in header

There's a potential motivating case to increase this limit in PR47191:
http://bugs.llvm.org/PR47191

But first we should make it less hacky. The limit in InstCombine is directly tied
to this value because an increase there can cause asserts in the underlying value
tracking calls if not changed together. The usage in VectorUtils is independent,
but the comment suggests that we should use the same value unless there's a known
reason to diverge. There are similar limits in codegen analysis, but I think we
should leave those independent in case we intentionally want the optimization
power/cost to be different there.

Differential Revision: https://reviews.llvm.org/D86113
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Commit 7a028fe7029592e2edb3ce98a2ee5dc3c31e57de by puyan
Force Remove Attribute

-force-attribute adds an attribute to function via command-line.
However, there was no counter-part to remove an attribute.  This patch
adds -force-remove-attribute that removes an attribute from function.

Differential Revision: https://reviews.llvm.org/D85586
The file was modifiedllvm/test/Transforms/ForcedFunctionAttrs/forced.ll
The file was modifiedllvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
Commit 1ed1e16ab83f55d85c90ae43a05cbe08a00c20e0 by phosek
[CMake] Fix an issue where get_system_libname creates an empty regex capture on windows

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1119478

Patch By: haampie

Differential Revision: https://reviews.llvm.org/D86245
The file was modifiedllvm/lib/Support/CMakeLists.txt
Commit dac0b1d33088429cdaf795e81e8576288460c67d by francesco.petrogalli
[llvm] Add default constructor of `llvm::ElementCount`.

This patch prevents failures like those reported in
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/34173.

We have enabled the default constructor for
`llvm::ElementCount` to make sure the code compiles on Windows.

Reviewed By: ormris

Differential Revision: https://reviews.llvm.org/D86240
The file was modifiedllvm/include/llvm/IR/Intrinsics.h
The file was modifiedllvm/include/llvm/Support/TypeSize.h
Commit e2645488ca3b18dfb4f5cc8d7494a208f89e91a0 by sivachandra
[libc][obvious] Fix x86 long double conversion to integer.

Fixes incorrectly constructed ceill tests.
The file was modifiedlibc/test/src/math/ceill_test.cpp
The file was modifiedlibc/utils/FPUtil/LongDoubleBitsX86.h
Commit 4deda57106f7c9b982a49cb907c33e3966c8de7f by mascasa
[DFSan] Handle mmap() calls before interceptors are installed.

InitializeInterceptors() calls dlsym(), which calls calloc().  Depending
on the allocator implementation, calloc() may invoke mmap(), which
results in a segfault since REAL(mmap) is still being resolved.

We fix this by doing a direct syscall if interceptors haven't been fully
resolved yet.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D86168
The file was modifiedcompiler-rt/lib/dfsan/dfsan_interceptors.cpp
The file was addedcompiler-rt/test/dfsan/interceptors.c
Commit 428bebaf10e177db5e42206ca8f871f0bcbef058 by dokyungs
[libFuzzer] Fix value-profile-load test.

The behavior of the CrossOver mutator has changed with
bb54bcf84970c04c9748004f3a4cf59b0c1832a7. This seems to affect the
value-profile-load test on Darwin. This patch provides a wider margin for
determining success of the value-profile-load test, by testing the targeted
functionality (i.e., GEP index value profile) more directly and faster. To this
end, LoadTest.cpp now uses a narrower condition (Size != 8) for initial pruning
of inputs, effectively preventing libFuzzer from generating inputs longer than
necessary and spending time on mutating such long inputs in the corpus - a
functionality not meant to be tested by this specific test.

Previously, on x86/Linux, it required 6,597,751 execs with -use_value_profile=1
and 19,605,575 execs with -use_value_profile=0 to hit the crash. With this
patch, the test passes with 174,493 execs, providing a wider margin from the
given trials of 10,000,000. Note that, without the value profile (i.e.,
-use_value_profile=0), the test wouldn't pass as it still requires 19,605,575
execs to hit the crash.

Differential Revision: https://reviews.llvm.org/D86247
The file was modifiedcompiler-rt/test/fuzzer/value-profile-load.test
The file was modifiedcompiler-rt/test/fuzzer/LoadTest.cpp
Commit 868b45b5b31d1203cab09ae0306f4c47e6070f68 by medismail.bennani
[lldb/interpreter] Add REPL-specific init file

This patch adds the infrastructure to have language specific REPL init
files. It's the foundation work to a following patch that will introduce
Swift REPL init file.

When lldb is launched with the `--repl` option, it will look for a REPL
init file in the home directory and source it. This overrides the
default `~/.lldbinit`, which content might make the REPL behave
unexpectedly. If the REPL init file doesn't exists, lldb will fall back
to the default init file.

rdar://65836048

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/source/API/SBCommandInterpreter.cpp
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/include/lldb/API/SBCommandInterpreter.h
The file was modifiedlldb/docs/man/lldb.rst
Commit 09ca3f41bbc5c2c4480accd6404f61bd9e5172a5 by Jonas Devlieghere
[lldb] Update TestSimulatorPlatform.py to set ARCH_CFLAGS instead of TRIPLE

I move the triple (de)composition logic into the builder in e5d08fcbac72
but this test is relying on Make to construct the set the ARCH,
ARCH_CFLAGS and SDKROOT based on the given TRIPLE. This patch updates
the test to pass these variables directly.

Differential revision: https://reviews.llvm.org/D86244
The file was modifiedlldb/test/API/macosx/simulator/TestSimulatorPlatform.py
Commit 6f339367195e7464df87571062529bbe20157bdf by richard
Explain why the array bound is non-constant in VLA diagnostics.

In passing, also use a more precise diagnostic to explain why an
expression is not an ICE if it's not of integral type.
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_ordered_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/for_misc_messages.c
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_misc_messages.c
The file was modifiedclang/test/OpenMP/target_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/target_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_misc_messages.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_misc_messages.c
The file was modifiedclang/test/SemaObjC/class-bitfield.m
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/OpenMP/parallel_for_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/for_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_collapse_messages.cpp
The file was removedclang/test/SemaCXX/vla-consruct.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_collapse_messages.cpp
The file was modifiedclang/test/Sema/complex-int.c
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_messages.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-self.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_misc_messages.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_misc_messages.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/OpenMP/for_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_ordered_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_misc_messages.c
The file was modifiedclang/test/CXX/drs/dr3xx.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_safelen_messages.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/PCH/cxx-constexpr.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/critical_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_ordered_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_misc_messages.c
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/for_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/simd_simdlen_messages.cpp
The file was modifiedclang/test/CXX/drs/dr4xx.cpp
The file was modifiedclang/test/CXX/drs/dr0xx.cpp
The file was modifiedclang/test/OpenMP/ordered_messages.cpp
The file was modifiedclang/test/SemaCXX/warn-vla.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_misc_messages.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_messages.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_collapse_messages.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/for_ordered_clause.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_collapse_messages.cpp
The file was modifiedclang/test/CXX/expr/expr.const/p5-0x.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/atomic_messages.c
The file was modifiedclang/test/OpenMP/for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_simdlen_messages.cpp
The file was modifiedclang/test/Sema/bitfield.c
The file was modifiedclang/test/OpenMP/taskloop_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/parallel_for_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/simd_misc_messages.c
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_collapse_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_safelen_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_aligned_messages.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/declare_simd_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_aligned_messages.cpp
The file was modifiedclang/test/SemaCXX/constant-expression.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_simdlen_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_misc_messages.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_misc_messages.c
The file was modifiedclang/test/OpenMP/distribute_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_misc_messages.c
The file was modifiedclang/test/Sema/c89.c
The file was modifiedclang/test/Sema/warn-vla.c
The file was addedclang/test/SemaCXX/vla-construct.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_simdlen_messages.cpp
Commit c1c1bed5d0828f1905f1e9a09a32c02f05de9b41 by richard
[c++14] Implement missed piece of N3323: use "converted constant" rules
for array bounds, not "integer constant" rules.

For an array bound of class type, this causes us to perform an implicit
conversion to size_t, instead of looking for a unique conversion to
integral or unscoped enumeration type. This affects which cases are
valid when a class has multiple implicit conversion functions to
different types.
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaCXX/cxx1y-contextual-conversion-tweaks.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit 31adc28d24b1a95bb47df23068b6f61dfb5cd012 by Matthew.Arsenault
GlobalISel: Implement fewerElementsVector for G_CONCAT_VECTORS sources

This fixes <6 x s16> = G_CONCAT_VECTORS from <3 x s16> handling.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uaddsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ushlsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-concat-vectors.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sshlsat.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usubsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit 4a367114397ab5d175cb8b74ee6144978e7fdeba by craig.topper
[X86] Add mtune command line test cases that should have gone with 4cbceb74bb5676d0181d4d0cab5194d90a42c2ec
The file was addedclang/test/CodeGen/tune-cpu.c
The file was addedclang/test/Driver/x86-mtune.c
Commit 724f570ad25568acc3a33dcdce9cadd776de2382 by craig.topper
[X86] Add support 'tune' in target attribute

This adds parsing and codegen support for tune in target attribute.

I've implemented this so that arch in the target attribute implicitly disables tune from the command line. I'm not sure what gcc does here. But since -march implies -mtune. I assume 'arch' in the target attribute implies tune in the target attribute.

Differential Revision: https://reviews.llvm.org/D86187
The file was modifiedclang/include/clang/AST/Attr.h
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/test/CodeGen/attr-target-x86.c
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/test/Sema/attr-target.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 9c7b0c4aa5ebe5ec9fef9ca18bef0c3a916b0fca by jurahul
[MLIR] Add PatternRewriter::mergeBlockBefore() to merge a block in the middle of another block.

- This utility to merge a block anywhere into another one can help inline single
  block regions into other blocks.
- Modified patterns test to use the new function.

Differential Revision: https://reviews.llvm.org/D86251
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/include/mlir/IR/Block.h
The file was modifiedmlir/lib/IR/Block.cpp
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/lib/IR/PatternMatch.cpp

Summary

  1. [llvm-zorg] Flang and MLIR PowerPC buildbot; removed double quoting (details)
Commit 21f1cbd81a9952c3c1b68d1796bf285a183c954e by zrselk
[llvm-zorg] Flang and MLIR PowerPC buildbot; removed double quoting

Currently the -DLLVM_ENABLE_PROJECTS flag is not being parsed correctly
because of double quoting resulting in '-DLLVM_ENABLE_PROJECTS="mlir"'.
This commit changes zorg to generate -DLLVM_ENABLE_PROJECTS=mlir which
works properly.

Differential Revision: https://reviews.llvm.org/D86219
The file was modifiedbuildbot/osuosl/master/config/builders.py