SuccessChanges

Summary

  1. Fix binaries directory for flang slaves gcc10 and clang10 (details)
Commit 3be3cca19be87164182f5bf8df4ce36c492673f9 by caroline.concatto
Fix binaries directory for flang slaves gcc10 and clang10

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

Summary

  1. [NFCI][SimpleLoopUnswitch] Adjust CostKind query (details)
  2. [SVE] Fix bug in SVEIntrinsicOpts::optimizePTest (details)
  3. [AMDGPU] Enable .rodata for amdpal os (details)
  4. [lldb] Fix a crash when tab-completion an empty line in a function with only one local variable (details)
  5. [SyntaxTree] Split `TreeTestBase` into header and source (details)
  6. [gn build] Port 2e4a20fd706 (details)
  7. [CGAtomic] Mark atomic libcall functions `nounwind` (details)
  8. Fix BufferPlacement Pass to derive from the TableGen generated parent class (NFC) (details)
  9. Remove spurious empty line at the beginning of source file (NFC) (details)
  10. [NFC][StackSafety] Dedup callees (details)
  11. [clangd] Warn developers when trying to link system-installed gRPC statically (details)
  12. [OpenMP] Fix releasing of stack memory (details)
  13. [clangd] Fix find_program() result check when searching for gRPC (details)
  14. [clangd] Clarify comments regarding gRPC linking (details)
  15. [lldb/Utility] Simplify Scalar::PromoteToMaxType (details)
  16. [MLIR][Shape] Add custom assembly format for `shape.any` (details)
  17. [NFC][ARM] Port MaybeCall into ARMTTImpl method (details)
  18. [mlir] Mention mandatory RFC process for changes in Standard dialect (details)
  19. [mlir] do not emit bitcasts between structs in StandardToLLVM (details)
  20. [ORC] Add JITLink-compatible remote memory-manager and LLJITWithChildProcess example (details)
  21. [ORC] In LLLazyJIT provide public access to the CompileOnDemandLayer (details)
  22. [ORC][NFC] Refactor loop to determine name of init symbol in IRMaterializationUnit (details)
  23. [lldb] Display autosuggestion part in gray if there is one possible suggestion (details)
  24. Separate the Registration from Loading dialects in the Context (details)
  25. [ORC][NFC] Fix a header comment (details)
  26. [lldb] Deduplicate copy-pasted TypeSystemMap::GetTypeSystemForLanguage (details)
  27. [ORC] Fix missing include in OrcRemoteTargetClient.h (details)
  28. [lldb] Fix py3 incompatibility in gdbremote_testcase.py (details)
  29. [lldb] Check Decl kind when completing -flimit-debug-info types (details)
  30. [lldb] Use SBProcess::Continue instead of 'run' command in TestTargetAPI.py (details)
  31. [NFC][StackSafety] Move out sort from the loop (details)
  32. [NFC][StackSafety] Change map key comparison (details)
  33. [Attributor] Implement AAPotentialValues (details)
  34. [libc] [obvious] Fix typographical error. (details)
  35. [lldb] Make packetlog_get_dylib_info returns the last full response (details)
  36. [VE] Remove obsolete I8/I16 register classes (details)
  37. [Statepoints] Spill GC Ptr regs in FixupStatepoints. (details)
  38. [Orc] Fix werror for unused variable in noasserts build (details)
  39. [OpenMP][NFC] Update test check lines with new script version (details)
  40. [OpenMP][OMPIRBuilder] Use the source (=directory + filename) for locations (details)
  41. [DemandedBits] Add addition test case from D72423 (details)
  42. [DFSan] Fix parameters to strtoull wrapper. (details)
  43. [ARM][test] Add more tests of two-part immediates (details)
  44. Revert "[NFC][StackSafety] Move out sort from the loop" (details)
  45. [Statepoints] FixupStatepoint: properly set isKill on spilled register. (details)
  46. [lldb] Use file to synchronize TestDeepBundle and TestBundleWithDotInFilename (details)
  47. [NFC] Silence variables unused in release builds (details)
  48. [lldb] Remove Python 2 fallback and only support Python 3 (details)
Commit 725400f9933fe58273d4500d8d6a77a438c43798 by sam.parker
[NFCI][SimpleLoopUnswitch] Adjust CostKind query

When getUserCost was transitioned to use an explicit CostKind,
TCK_CodeSize was used even though the original kind was implicitly
SizeAndLatency so restore this behaviour. We now only query for
CodeSize when optimising for minsize.

I expect this to not change anything as, I think all, targets will
currently return the same value for CodeSize and SizeLatency. Indeed
I see no changes in the test suite for Arm, AArch64 and X86.

Differential Revision: https://reviews.llvm.org/D85829
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was addedllvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg
The file was addedllvm/test/Transforms/SimpleLoopUnswitch/ARM/nontrivial-unswitch-cost.ll
Commit 6c7957c9901714b7ad0a8d2743a8c431b57fd0c9 by david.sherwood
[SVE] Fix bug in SVEIntrinsicOpts::optimizePTest

The code wasn't taking into account that the two operands
passed to ptest could be identical and was trying to erase
them twice.

Differential Revision: https://reviews.llvm.org/D85892
The file was modifiedllvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll
Commit 9aa0ff77bdc762b70123192d7f0bd3e95bc83788 by sebastian.neubauer
[AMDGPU] Enable .rodata for amdpal os

PAL recently got support for multiple ELF sections and relocations,
therefore we can now use .rodata sections instead of forcing constants
into .text.

Differential Revision: https://reviews.llvm.org/D85895
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/global-value.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-constant.ll
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
Commit bbe3c479a6adf0abfe5d111e9ba206daa5a1eb2b by Raphael Isemann
[lldb] Fix a crash when tab-completion an empty line in a function with only one local variable

When LLDB sees only one possible completion for an input, it will add a trailing
space to the completion to signal that to the user. If the current argument is
quoted, that also means LLDB needs to add the trailing quote to finish the
current argument first.

In case the user is in a function with only one local variable and is currently
editing an empty line in the multiline expression editor, then we are in the
unique situation where we can have a unique completion for an empty input line.
(In a normal LLDB session this would never occur as empty input would just list
all the possible commands).

In this special situation our check if the current argument needs to receive a
trailing quote will crash LLDB as there is no current argument and the
completion code just unconditionally tries to access the current argument. This
just adds the missing check if we even have a current argument before we check
if we need to add a terminating quote character.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D85903
The file was modifiedlldb/test/API/commands/expression/multiline-completion/main.c
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was modifiedlldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py
Commit 2e4a20fd7062f65c06b438953de3d340df00b7a7 by ecaldas
[SyntaxTree] Split `TreeTestBase` into header and source

* Switch to using directive on source files.
* Remove unused `SyntaxTreeTest::addFile`

Differential Revision: https://reviews.llvm.org/D85913
The file was modifiedclang/unittests/Tooling/Syntax/CMakeLists.txt
The file was modifiedclang/unittests/Tooling/Syntax/BuildTreeTest.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TreeTestBase.h
The file was addedclang/unittests/Tooling/Syntax/TreeTestBase.cpp
The file was modifiedclang/unittests/Tooling/Syntax/MutationsTest.cpp
Commit d795f968d92ddc517d2f56725bc12fd096ac5537 by llvmgnsyncbot
[gn build] Port 2e4a20fd706
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/BUILD.gn
Commit 909a851dbffeb3637c19268e12e10fdf3dae2add by guiand
[CGAtomic] Mark atomic libcall functions `nounwind`

These functions won't ever unwind. This is useful for MemorySanitizer
as it simplifies handling __atomic_load in particular.

Differential Revision: https://reviews.llvm.org/D85573
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/test/CodeGen/atomic_ops.c
Commit 5035d192faf3389bad0acf69ae69ed6b5cfe930c by joker.eph
Fix BufferPlacement Pass to derive from the TableGen generated parent class (NFC)
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
Commit 1e484b8a2467b90dae99f952bbeeec8972a71edd by joker.eph
Remove spurious empty line at the beginning of source file (NFC)
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
Commit 798eb71c3a5a43f592b006e1b41620c54cacb721 by Vitaly Buka
[NFC][StackSafety] Dedup callees
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/ipa.ll
The file was modifiedllvm/test/Bitcode/thinlto-function-summary-paramaccess.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 1786908f8cefe4c5f114543d73a8de23c130e94e by kbobyrev
[clangd] Warn developers when trying to link system-installed gRPC statically

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D85815
The file was modifiedllvm/cmake/modules/FindGRPC.cmake
Commit 66a3575c2895f3b06056908bb40699f16e4b92d7 by protze
[OpenMP] Fix releasing of stack memory

Starting with 787eb0c637b I got spurious segmentation faults for some testcases. I could nail it down to `brel` trying to release the "memory" of the node allocated on the stack of __kmpc_omp_wait_deps. With this patch, you will see the assertion triggering for some of the tests in the test suite.

My proposed solution for the issue is to just patch __kmpc_omp_wait_deps:
```
  __kmp_init_node(&node);
-  node.dn.on_stack = 1;
+  // the stack owns the node
+  __kmp_node_ref(&node);
```

What do you think?

Reviewed By: AndreyChurbanov

Differential Revision: https://reviews.llvm.org/D84472
The file was modifiedopenmp/runtime/src/kmp_taskdeps.cpp
Commit 399e4593431cf146c52fc286670f88d6217db631 by platonov.aleksandr
[clangd] Fix find_program() result check when searching for gRPC

`find_program(<VAR> ...)` sets <VAR> to <VAR>-NOTFOUND if nothing was found.
So we need to compare <VAR> with "<VAR>-NOTFOUND" or just use `if([NOT] <VAR>)`, because `if(<VAR>)` is false if `<VAR>` ends in the suffix -NOTFOUND.

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D85958
The file was modifiedllvm/cmake/modules/FindGRPC.cmake
Commit 9698deb2570231aee95e183a23c67e49da176c0b by kbobyrev
[clangd] Clarify comments regarding gRPC linking
The file was modifiedllvm/cmake/modules/FindGRPC.cmake
Commit 40d774265b08fbfd0f3e2ffa79ce7feddbd060bc by pavel
[lldb/Utility] Simplify Scalar::PromoteToMaxType

The function had very complicated signature, because it was trying to
avoid making unnecessary copies of the Scalar object. However, this
class is not hot enough to worry about these kinds of optimizations. My
making copies unconditionally, we can simplify the function and all of
its call sites.

Differential Revision: https://reviews.llvm.org/D85906
The file was modifiedlldb/include/lldb/Utility/Scalar.h
The file was modifiedlldb/source/Utility/Scalar.cpp
Commit a9a6f0fe1d65346ad86021af727058a31594a6b8 by frgossen
[MLIR][Shape] Add custom assembly format for `shape.any`

Add custom assembly format for `shape.any` with variadic operands.

Differential Revision: https://reviews.llvm.org/D85306
The file was modifiedmlir/test/Dialect/Shape/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
Commit eb82d58f83b24c0c23fa8dc79924dfdfe2d269e2 by sam.parker
[NFC][ARM] Port MaybeCall into ARMTTImpl method

Renamed to maybeLoweredToCall.
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Commit 215c2df6478f65233f15f8978d4dd692fe60c757 by zinenko
[mlir] Mention mandatory RFC process for changes in Standard dialect

We have been asking for this systematically, mention it in the documentation.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D85902
The file was modifiedmlir/docs/Dialects/Standard.md
Commit 339eba0805fb73da5cc3d29eb7cd1085306db54e by zinenko
[mlir] do not emit bitcasts between structs in StandardToLLVM

The convresion of memref cast operaitons from the Standard dialect to the LLVM
dialect has been emitting bitcasts from a struct type to itself. Beyond being
useless, such casts are invalid as bitcast does not operate on aggregate types.
This kept working by accident because LLVM IR bitcast construction API skips
the construction if types are equal before it verifies that the types are
acceptable in a bitcast. Do not emit such bitcasts, the memref cast that only
adds/erases size information is in fact a noop on the current descriptor as it
always contains dynamic values for all sizes.

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D85899
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 30c4561e36ea634a067bf3b7de8b4668292c0931 by Stefan Gränitz
[ORC] Add JITLink-compatible remote memory-manager and LLJITWithChildProcess example

This adds RemoteJITLinkMemoryManager is a new subclass of OrcRemoteTargetClient. It implements jitlink::JITLinkMemoryManager and targets the OrcRemoteTargetRPCAPI.

Behavior should be very similar to RemoteRTDyldMemoryManager. The essential differnce with JITLink is that allocations work in isolation from its memory manager. Thus, the RemoteJITLinkMemoryManager might be seen as "JITLink allocation factory".

RPCMMAlloc is another subclass of OrcRemoteTargetClient and implements the actual functionality. It allocates working memory on the host and target memory on the remote target. Upon finalization working memory is copied over to the tagrte address space. Finalization can be asynchronous for JITLink allocations, but I don't see that it makes a difference here.

Differential Revision: https://reviews.llvm.org/D85919
The file was modifiedllvm/examples/OrcV2Examples/CMakeLists.txt
The file was addedllvm/examples/OrcV2Examples/LLJITWithChildProcess/RemoteJITUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
The file was addedllvm/examples/OrcV2Examples/LLJITWithChildProcess/LLJITWithChildProcess.cpp
The file was addedllvm/examples/OrcV2Examples/LLJITWithChildProcess/CMakeLists.txt
Commit 6bf74a924fe9312e6dc4ced20259ce25d55dd764 by Stefan Gränitz
[ORC] In LLLazyJIT provide public access to the CompileOnDemandLayer

This is analog to how LLJIT provides public access to all its layers.

Differential Revision: https://reviews.llvm.org/D85921
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
Commit 9a47bcae7c564bb83de659be601509241f31cc11 by Stefan Gränitz
[ORC][NFC] Refactor loop to determine name of init symbol in IRMaterializationUnit

This loop caused me a little headache once, because I didn't see the assigned variable is a member. The refactored version appears more readable to me.

Differential Revision: https://reviews.llvm.org/D85922
The file was modifiedllvm/lib/ExecutionEngine/Orc/Layer.cpp
Commit de9e85026fcb7c3e992f12a86594fd50bb101ad3 by Raphael Isemann
[lldb] Display autosuggestion part in gray if there is one possible suggestion

This is relanding D81001. The patch originally failed as on newer editline
versions it seems CC_REFRESH will move the cursor to the start of the line via
\r and then back to the original position. On older editline versions like
the one used by default on macOS, CC_REFRESH doesn't move the cursor at all.
As the patch changed the way we handle tab completion (previously we did
REDISPLAY but now we're doing CC_REFRESH), this caused a few completion tests
to receive this unexpected cursor movement in the output stream.
This patch updates those tests to also accept output that contains the specific
cursor movement commands (\r and then \x1b[XC). lldbpexpect.py received an
utility method for generating the cursor movement escape sequence.

Original summary:

I implemented autosuggestion if there is one possible suggestion.
I set the keybinds for every character. When a character is typed, Editline::TypedCharacter is called.
Then, autosuggestion part is displayed in gray, and you can actually input by typing C-k.
Editline::Autosuggest is a function for finding completion, and it is like Editline::TabCommand now, but I will add more features to it.

Testing does not work well in my environment, so I can't confirm that it goes well, sorry. I am dealing with it now.

Reviewed By: teemperor, JDevlieghere, #lldb

Differential Revision: https://reviews.llvm.org/D81001
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbpexpect.py
The file was modifiedlldb/test/API/commands/expression/multiline-completion/TestMultilineCompletion.py
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/include/lldb/Host/Editline.h
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was addedlldb/test/API/iohandler/autosuggestion/TestAutosuggestion.py
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Core/CoreProperties.td
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/test/API/iohandler/completion/TestIOHandlerCompletion.py
Commit ebf521e78483693e5cc9ba4ad3298f0397923624 by joker.eph
Separate the Registration from Loading dialects in the Context

This changes the behavior of constructing MLIRContext to no longer load globally registered dialects on construction. Instead Dialects are only loaded explicitly on demand:
- the Parser is lazily loading Dialects in the context as it encounters them during parsing. This is the only purpose for registering dialects and not load them in the context.
- Passes are expected to declare the dialects they will create entity from (Operations, Attributes, or Types), and the PassManager is loading Dialects into the Context when starting a pipeline.

This changes simplifies the configuration of the registration: a compiler only need to load the dialect for the IR it will emit, and the optimizer is self-contained and load the required Dialects. For example in the Toy tutorial, the compiler only needs to load the Toy dialect in the Context, all the others (linalg, affine, std, LLVM, ...) are automatically loaded depending on the optimization pipeline enabled.
The file was modifiedmlir/examples/toy/Ch3/toyc.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.h
The file was modifiedmlir/include/mlir/IR/MLIRContext.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/test/lib/Transforms/TestAllReduceLowering.cpp
The file was modifiedmlir/unittests/IR/DialectTest.cpp
The file was modifiedmlir/unittests/TableGen/StructsGenTest.cpp
The file was modifiedmlir/unittests/IR/AttributeTest.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/ExecutionEngine/JitRunner.cpp
The file was modifiedmlir/lib/TableGen/Pass.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedflang/unittests/Lower/OpenMPLoweringTest.cpp
The file was modifiedmlir/examples/toy/Ch7/toyc.cpp
The file was modifiedmlir/lib/Pass/Pass.cpp
The file was modifiedmlir/test/lib/Transforms/TestGpuMemoryPromotion.cpp
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/lib/Support/MlirOptMain.cpp
The file was modifiedmlir/lib/Dialect/SCF/Transforms/PassDetail.h
The file was modifiedmlir/lib/Conversion/PassDetail.h
The file was modifiedmlir/unittests/TableGen/OpBuildGen.cpp
The file was modifiedmlir/include/mlir/TableGen/Pass.h
The file was modifiedmlir/lib/Dialect/SDBM/SDBMExpr.cpp
The file was modifiedmlir/examples/toy/Ch2/toyc.cpp
The file was modifiedmlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
The file was modifiedmlir/unittests/SDBM/SDBMTest.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Transforms/PassDetail.h
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/IR/Verifier.cpp
The file was modifiedmlir/lib/Parser/DialectSymbolParser.cpp
The file was modifiedmlir/test/lib/Transforms/TestBufferPlacement.cpp
The file was modifiedmlir/examples/standalone/standalone-opt/standalone-opt.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/lib/TableGen/Dialect.cpp
The file was modifiedmlir/lib/Parser/AttributeParser.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/examples/toy/Ch4/toyc.cpp
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/unittests/IR/OperationSupportTest.cpp
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
The file was modifiedmlir/examples/toy/Ch6/toyc.cpp
The file was modifiedmlir/include/mlir/Support/MlirOptMain.h
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/include/mlir-c/IR.h
The file was modifiedmlir/lib/IR/Dialect.cpp
The file was modifiedmlir/test/SDBM/sdbm-api-test.cpp
The file was modifiedmlir/examples/toy/Ch5/toyc.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/Passes.td
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.td
The file was modifiedmlir/lib/Pass/PassDetail.h
The file was modifiedmlir/unittests/Pass/AnalysisManagerTest.cpp
The file was modifiedmlir/include/mlir/InitAllDialects.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedmlir/test/lib/Transforms/TestLinalgHoisting.cpp
The file was modifiedmlir/tools/mlir-translate/mlir-translate.cpp
The file was modifiedmlir/include/mlir/Pass/PassBase.td
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
The file was modifiedmlir/unittests/Dialect/Quant/QuantizationUtilsTest.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/PassDetail.h
The file was modifiedmlir/unittests/Dialect/SPIRV/DeserializationTest.cpp
The file was modifiedmlir/include/mlir/Pass/PassManager.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/include/mlir/TableGen/Dialect.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMDialect.h
The file was modifiedmlir/lib/IR/MLIRContext.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
The file was modifiedmlir/unittests/Dialect/SPIRV/SerializationTest.cpp
The file was modifiedmlir/include/mlir/IR/Dialect.h
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/test/mlir-opt/commandline.mlir
The file was modifiedmlir/tools/mlir-tblgen/PassGen.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/PassDetail.h
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
Commit 397b3cc9e5aa949fcaaff7743a76e889d29b723c by Stefan Gränitz
[ORC][NFC] Fix a header comment
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithChildProcess/LLJITWithChildProcess.cpp
Commit f974d64b372c5554783369bab901de8f4dee5e02 by Raphael Isemann
[lldb] Deduplicate copy-pasted TypeSystemMap::GetTypeSystemForLanguage

There are two implementations for `TypeSystemMap::GetTypeSystemForLanguage`
which are both identical beside one taking a `Module` and one taking a `Target`
(and then passing that argument to the `TypeSystem::CreateInstance` function).

This merges both implementations into one function with a lambda that wraps the
different calls to `TypeSystem::CreateInstance`.

Reviewed By: #lldb, JDevlieghere

Differential Revision: https://reviews.llvm.org/D82537
The file was modifiedlldb/include/lldb/Symbol/TypeSystem.h
The file was modifiedlldb/source/Symbol/TypeSystem.cpp
Commit 28e1015e327ec56ac4bf93967d3aa2915b215e36 by Stefan Gränitz
[ORC] Fix missing include in OrcRemoteTargetClient.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
Commit e6b1b61054c285efad7bf4ee0a4da53e56944d87 by pavel
[lldb] Fix py3 incompatibility in gdbremote_testcase.py

This didn't cause test failures since this variable is only used during
connection shutdown.
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
Commit fdc6aea3fd822b639baaa5b666fdf7598d08c8de by pavel
[lldb] Check Decl kind when completing -flimit-debug-info types

The search for the complete class definition can also produce entries
which are not of the expected type. This can happen for instance when
there is a function with the same name as the class we're looking up
(which means that the class needs to be disambiguated with the
struct/class tag in most contexts).

Previously we were just picking the first Decl that the lookup returned,
which later caused crashes or assertion failures if it was not of the
correct type. This patch changes that to search for an entry of the
correct type.

Differential Revision: https://reviews.llvm.org/D85904
The file was modifiedlldb/test/API/functionalities/limit-debug-info/onetwo.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.cpp
The file was modifiedlldb/test/API/functionalities/limit-debug-info/one.cpp
The file was modifiedlldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py
The file was modifiedlldb/test/API/functionalities/limit-debug-info/main.cpp
Commit bb4efab9a4d9431dbedb27f04249effd0a73812e by Raphael Isemann
[lldb] Use SBProcess::Continue instead of 'run' command in TestTargetAPI.py

This test is flaky on Green Dragon as it often fails when the process state
is "Invalid" in the assert:
    self.assertEqual(process.GetState(), lldb.eStateExited)
It seems this is related to just doing "run" which apparently invalidates
the Target's process in case it's still running and needs to be restarted.
Just doing 'continue' on the process (and ignoring the error in case it already
finished) prevents that and makes this consistently pass for me.

Just pushing this out to get Green Dragon back online.
The file was modifiedlldb/test/API/python_api/target/TestTargetAPI.py
Commit 0426e28419799c35cf52fe3d773c5bab9928c699 by Vitaly Buka
[NFC][StackSafety] Move out sort from the loop
The file was modifiedllvm/test/Bitcode/thinlto-function-summary-paramaccess.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 4c30d4b4e5f2c2cb80910638e7827f7b85ee5568 by Vitaly Buka
[NFC][StackSafety] Change map key comparison
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 5f55a8193c2cacd8f8c92f50ac8cab59d79254f9 by okuraofvegetable
[Attributor] Implement AAPotentialValues

This patch provides an implementation of `AAPotentialValues`.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D85632
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/willreturn.ll
The file was modifiedllvm/test/Transforms/Attributor/potential.ll
The file was modifiedllvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit d28f67292e04bde4b91146c342d27f989eeb5020 by noreply
[libc] [obvious] Fix typographical error.
The file was modifiedlibc/benchmarks/LibcBenchmark.h
Commit 46ed27ff1b1cd74742511d73a4a43afa97455fe2 by Raphael Isemann
[lldb] Make packetlog_get_dylib_info returns the last full response

In sanitized builds the last packet this function finds for the
TestMacCatalyst and TestPlatformSimulator tests is for the asan runtime.

```
<  69> send packet: $jGetLoadedDynamicLibrariesInfos:{"solib_addresses":[4296048640]}]#3a <
715> read packet: ${"images":[{"load_address":4296048640,"mod_date":0,"pathname":
"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/12.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib",
"uuid":"8E38A2CD-753F-3E0F-8EB0-F4BD5788A5CA",
"min_version_os_name":"macosx","min_version_os_sdk":"10.9",
"mach_header":{"magic":4277009103,"cputype":16777223,"cpusubtype":3,"filetype":6,
"flags":43090053}],"segments":[{"name":"__TEXT","vmaddr":0,"vmsize":565248,"fileoff":0,
"filesize":565248,"maxprot":5}],{"name":"__DATA","vmaddr":565248,"vmsize":13152256,"fileoff":565248,
"filesize":20480,"maxprot":3}],{"name":"__LINKEDIT","vmaddr":13717504,"vmsize":438272,"fileoff":585728,
"filesize":435008,"maxprot":1}]]}]]}]#00
```

This just fetches the last package which has fetch_all_solibs and we know
it will contain the image of our test executable to get the tests running again.
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
Commit 2f01af764b69bb04fe61efe3b3089d96ccd95d0f by marukawa
[VE] Remove obsolete I8/I16 register classes

Remove I8/I16 register classes which are prepared to implement previously
to implement VE ABI.  However, it is possible to implement VE ABI correctly
without them.  Therefore, removing them now.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D85905
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.td
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.cpp
Commit 5f6bee77fad662eaa30b6c617c3c35177bdfcb6d by dantrushin
[Statepoints] Spill GC Ptr regs in FixupStatepoints.

Extend FixupStatepointCallerSaved pass with ability to spill
statepoint GC pointer arguments (optionally allowing them on CSRs).
Special handling is required for invoke statepoints, because at MI
level single landing pad may be shared by multiple statepoints, so
we must ensure we spill landing pad's live-ins into the same stack
slots.

Full statepoint refactoring change set is available at D81603.

Reviewed By: skatkov

Differential Revision: https://reviews.llvm.org/D81647
The file was addedllvm/test/CodeGen/X86/statepoint-fixup-call.mir
The file was addedllvm/test/CodeGen/X86/statepoint-fixup-invoke.mir
The file was addedllvm/test/CodeGen/X86/statepoint-fixup-copy-prop-neg.mir
The file was addedllvm/test/CodeGen/X86/statepoint-fixup-shared-ehpad.mir
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg.mir
The file was modifiedllvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
Commit b395d67a886c4499fab4e93e2a8cec87b71db15a by bjorn.a.pettersson
[Orc] Fix werror for unused variable in noasserts build
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
Commit 07c33487faff3067953d61e5e968b6c3d1b845d6 by johannes
[OpenMP][NFC] Update test check lines with new script version
The file was modifiedclang/test/OpenMP/irbuilder_nested_parallel_for.c
Commit 9240e48a588ccdd766a60a307cf6ea028b3106b6 by johannes
[OpenMP][OMPIRBuilder] Use the source (=directory + filename) for locations

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D85938
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Commit 25ce6341729dab20601787a317ea7c5166c31f15 by llvm-dev
[DemandedBits] Add addition test case from D72423
The file was addedllvm/test/Analysis/DemandedBits/add.ll
Commit c1f9c1c13cff0468964c3f4059b6857aaf818841 by mascasa
[DFSan] Fix parameters to strtoull wrapper.

base and nptr_label were swapped, which meant we were passing nptr's
shadow as the base to the operation.  Usually, the shadow is 0, which
causes strtoull to guess the correct base from the string prefix (e.g.,
0x means base-16 and 0 means base-8), hiding this bug.  Adjust the test
case to expose the bug.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D85935
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/test/dfsan/custom.cpp
Commit 05047f0b36e23373f4840f43d3a3d8fa36d2594c by powerman1st
[ARM][test] Add more tests of two-part immediates

The ARM backend breaks some specific immediates to two parts
in binary operations. And this patch adds more tests
for that.

Reviewed By: samparker

Differential Revision: https://reviews.llvm.org/D84100
The file was removedllvm/test/CodeGen/ARM/add-sub-imm.ll
The file was addedllvm/test/CodeGen/ARM/two-part-imm.ll
Commit 891b2be85d5f8b271c7440b51f7d463fb3e75007 by mascasa
Revert "[NFC][StackSafety] Move out sort from the loop"

This reverts commit 0426e28419799c35cf52fe3d773c5bab9928c699 due to ASan
buildbot failure.
The file was modifiedllvm/test/Bitcode/thinlto-function-summary-paramaccess.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 1c80a6ce5f2217c01fb40bd43bc5bf094c32278a by dantrushin
[Statepoints] FixupStatepoint: properly set isKill on spilled register.

When spilling statepoint meta arg register it is incorrect to blindly
mark it as killed - it may be used in non-meta args (e.g., as call
parameter).
The file was modifiedllvm/test/CodeGen/X86/statepoint-fixup-copy-prop-neg.mir
The file was modifiedllvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
Commit 37ec83fcfc6c7915c51268f578b8e0dadb54c1cf by Jonas Devlieghere
[lldb] Use file to synchronize TestDeepBundle and TestBundleWithDotInFilename

Currently these two tests use an arbitrary wait of 5 seconds for the
inferior to finish setting up. When the test machine is under heavy load
this sometimes is insufficient leading to spurious test failures. This
patch adds synchronization trough a token on the file system. In
addition to making the test more reliable it also makes it much faster
because we no longer have to wait the full 5 seconds if the setup was
completed faster than that.

Differential revision: https://reviews.llvm.org/D85915
The file was modifiedlldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/main.c
The file was modifiedlldb/test/API/macosx/find-dsym/deep-bundle/main.c
The file was modifiedlldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py
The file was modifiedlldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py
Commit fd9187f7469796ad467f9ff519554390491eea99 by rupprecht
[NFC] Silence variables unused in release builds
The file was modifiedllvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
Commit ce439cb1c962360267fb7a94d44ad57053787607 by Jonas Devlieghere
[lldb] Remove Python 2 fallback and only support Python 3

This removes the fallback to Python 2 and makes Python 3 the only
supported configuration. This is the first step to fully migrate to
Python 3 over the coming releases as discussed on the mailing list.

http://lists.llvm.org/pipermail/lldb-dev/2020-August/016388.html

As a reminder, for the current release the test suite and the generated
bindings should remain compatible with Python 2.

Differential revision: https://reviews.llvm.org/D85942
The file was modifiedlldb/cmake/modules/FindPythonInterpAndLibs.cmake

Summary

  1. Fix binaries directory for flang slaves gcc10 and clang10 (details)
Commit 3be3cca19be87164182f5bf8df4ce36c492673f9 by caroline.concatto
Fix binaries directory for flang slaves gcc10 and clang10

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