SuccessChanges

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

Summary

  1. [mlir][IR] Remove references to BuiltinOps from IR/ (details)
  2. [mlir][Pass] Remove the restriction that PassManager can only run on ModuleOp (details)
  3. [mlir][Parser] Don't hardcode the use of ModuleOp in the parser (details)
  4. P0857R0: Parse a requires-clause after an explicit (details)
  5. [RISCV] Rename FPCCToExtend->FPOpToExpand and FPOpToExtend->FPOpToExpand. NFC (details)
  6. Frontend: Remove redundant call to CompilerInstance::setFileManager, NFC (details)
  7. Use MlirStringRef in StandardAttributes.h (details)
  8. [WebAssembly] Fixed Writer::createInitMemoryFunction to work for wasm64 (details)
  9. [mlir][IR] Add explicit default constructor to OwningModuleRef to appease MSVC (details)
  10. [NewPM] Support --print-before/after in NPM (details)
  11. [SmallVector] Allow SmallVector<T> (details)
  12. [mlir][vector][avx512] move avx512 lowering pass into general vector lowering (details)
  13. ADT: Support copying of IntrusiveRefCntPtr objects (details)
  14. [X86] Unbind the ebx with GOT address in regcall calling convention (details)
  15. [mlir][NFC] Remove Function.h and Module.h in favor of BuiltinOps.h (details)
  16. [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h (details)
  17. [mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h (details)
  18. Support: Change InMemoryFileSystem::addFileNoOwn to take a MemoryBufferRef, NFC (details)
  19. [lld][WebAssembly] Set memory limits correctly for PIC + shared memory (details)
  20. [mac/lld] Run tests with -fatal_warnings by default (details)
  21. Use isIgnored instead of checking pass name (details)
  22. IntrusiveRefCntPtr: Ensure RefCount is initialized during ThreadSafeRefCountedBase copy construction (details)
  23. [dfsan] Support passing non-i16 shadow values in TLS mode (details)
  24. [NFC] [Clang] Fix ppc64le vaarg OpenMP test in CodeGen (details)
  25. [tools] Update update_test_prefix.py to handle %s after prefixes (details)
  26. PR48383: Disallow decltype(auto) in pseudodestructor calls (details)
  27. Fix -allow-deprecated-dag-overlap in test/CodeGen/dso-local-executable.c (details)
  28. [IndVars] Quick fix LHS/RHS bug (details)
  29. Return "[IndVars] ICmpInst should not prevent IV widening" (details)
  30. [PowerPC] Pre-commit neg abs test for vector. NFC. (details)
  31. [mlir][Linalg] Handle fusion on tensors for projected permutation. (details)
  32. [JumpThreading] Call eraseBlock when folding a conditional branch (details)
  33. [clang] Add a C++17 deduction guide testcase. (details)
  34. [lldb][NFC] Rename TypeSystemClangForExpressions to ScratchTypeSystemClang (details)
  35. [NARY-REASSOCIATE] Simplify traversal logic by post deleting dead instructions (details)
  36. [NFC][NARY-REASSOCIATE] Restructure code to aviod isPotentiallyReassociatable (details)
  37. [clang] [Headers] Use the corresponding _aligned_free or __mingw_aligned_free in _mm_free (details)
  38. [libcxx] Implement c++2a char8_t input/output of std::filesystem::path (details)
  39. [libcxx] [test] Add a test for conversions between wchar_t, utf8, char16_t, char32_t and windows native narrow code pages (details)
  40. [X86] Regenerate midpoint-int.ll tests (details)
  41. [X86] Remove unnecessary bitcast. NFC. (details)
  42. [DAGCombiner] Use const APInt& for getConstantOperandAPInt results. NFCI. (details)
  43. [PowerPC] Fix the regression caused by commit 9c588f53fc42 (details)
  44. [lldb][NFC] Rename TypeSystemClang::GetScratch to ScratchTypeSystemClang::GetForTarget (details)
  45. [llvm-readobj] - Report unique warnings in printProgramHeaders. (details)
  46. [lldb] Remove LLDB session dir and just store test traces in the respective test build directory (details)
  47. [yaml2obj,obj2yaml] - Make Symbol::Section field optional. (details)
  48. [X86] Let VBMI2 non-VLX targets still use funnel shifts instructions (details)
Commit 672cc75cceda12e67915643566362f832edcb66d by riddleriver
[mlir][IR] Remove references to BuiltinOps from IR/

There isn't a good reason for anything within IR to specifically reference any of the builtin operations. The only place that had a good reason in the past was AsmPrinter, but the behavior there doesn't need to hardcode ModuleOp anymore.

Differential Revision: https://reviews.llvm.org/D92448
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROpsSupport.h
The file was modifiedmlir/include/mlir/IR/MLIRContext.h
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinOps.td
The file was modifiedmlir/lib/IR/MLIRContext.cpp
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedmlir/include/mlir/IR/Builders.h
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
Commit 00c6ef8628a6ee062d5104692a92d5e000dd7c05 by riddleriver
[mlir][Pass] Remove the restriction that PassManager can only run on ModuleOp

This was a somewhat important restriction in the past when ModuleOp was distinctly the top-level container operation, as well as before the pass manager had support for running nested pass managers natively. With these two issues fading away, there isn't really a good reason to enforce that a ModuleOp is the thing running within a pass manager. As such, this revision removes the restriction and allows for users to pass in the name of the operation that the pass manager will be scheduled on.

The only remaining dependency on BuiltinOps from Pass after this revision is due to FunctionPass, which will be resolved in a followup revision.

Differential Revision: https://reviews.llvm.org/D92450
The file was modifiedmlir/lib/Pass/IRPrinting.cpp
The file was modifiedmlir/lib/Pass/PassManagerOptions.cpp
The file was modifiedmlir/lib/Pass/Pass.cpp
The file was modifiedmlir/include/mlir/Pass/PassManager.h
The file was modifiedmlir/include/mlir/Pass/AnalysisManager.h
Commit b57980309a699a47a46b5b5749b36fea06eaaf33 by riddleriver
[mlir][Parser] Don't hardcode the use of ModuleOp in the parser

This was important when ModuleOp was the only top level operation, but that isn't necessarily the case anymore. This is one of the last remaining aspects of the infrastructure that is hardcoded to ModuleOp.

Differential Revision: https://reviews.llvm.org/D92605
The file was addedmlir/include/mlir/IR/OwningOpRef.h
The file was modifiedmlir/include/mlir/Parser.h
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVModule.h
The file was modifiedmlir/include/mlir/IR/BuiltinOps.h
The file was removedmlir/include/mlir/IR/OwningOpRefBase.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
Commit eccc734a69c0c012ae3160887b65a535b35ead3e by richard
P0857R0: Parse a requires-clause after an explicit
template-parameter-list in a lambda.

This implements one of the missing parts of P0857R0. Mark it as not done
on the cxx_status page given that it's still incomplete.
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/test/SemaTemplate/concepts.cpp
The file was modifiedclang/include/clang/Sema/ScopeInfo.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/www/cxx_status.html
Commit 3fcdf9ca78cbba69ab20d43009826403c2d4c110 by craig.topper
[RISCV] Rename FPCCToExtend->FPOpToExpand and FPOpToExtend->FPOpToExpand. NFC

These are used to call setOperationAction/setCondCodeAction with
the Expand action so it seems that Expand is a better name than
Extend.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 99b823c2eba391877a0fcd6bc5f03f0d9f0077cb by Duncan P. N. Exon Smith
Frontend: Remove redundant call to CompilerInstance::setFileManager, NFC

`ASTUnit::Parse` sets up the `FileManager` earlier in the same function,
ensuring `ASTUnit::getFileManager()` matches `Clang->getFileManager()`.
Remove the later call to `setFileManager(getFileManager())` since it
does nothing.

Differential Revision: https://reviews.llvm.org/D90888
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
Commit 5f65c4a8e6a9fbcbf45ff4cdf0b4815795dd4845 by 989903+GeorgeLyon
Use MlirStringRef in StandardAttributes.h
The file was modifiedmlir/include/mlir-c/StandardAttributes.h
The file was modifiedmlir/lib/CAPI/IR/StandardAttributes.cpp
The file was modifiedmlir/test/CAPI/ir.c
Commit fd65e4815cb2019c5e02679ede0c5f6fbd7e19ad by aardappel
[WebAssembly] Fixed Writer::createInitMemoryFunction to work for wasm64

Differential Revision: https://reviews.llvm.org/D92348
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/WriterUtils.h
The file was modifiedlld/test/wasm/data-segments.ll
The file was modifiedlld/test/wasm/data-segment-merging.ll
The file was modifiedlld/wasm/WriterUtils.cpp
Commit 96efe90fe7c347c503cd6ade200da7a3e94f7b41 by riddleriver
[mlir][IR] Add explicit default constructor to OwningModuleRef to appease MSVC
The file was modifiedmlir/include/mlir/IR/BuiltinOps.h
Commit 2f0de582949d1c9b5beff591b3735b6c02c45033 by aeubanks
[NewPM] Support --print-before/after in NPM

This changes --print-before/after to be a list of strings rather than
legacy passes. (this also has the effect of not showing the entire list
of passes in --help-hidden after --print-before/after, which IMO is
great for making it less verbose).

Currently PrintIRInstrumentation passes the class name rather than pass
name to llvm::shouldPrintBeforePass(), meaning
llvm::shouldPrintBeforePass() never functions as intended in the NPM.
There is no easy way of converting class names to pass names outside of
within an instance of PassBuilder.

This adds a map of pass class names to their short names in
PassRegistry.def within PassInstrumentationCallbacks. It is populated
inside the constructor of PassBuilder, which takes a
PassInstrumentationCallbacks.

Add a pointer to PassInstrumentationCallbacks inside
PrintIRInstrumentation and use the newly created map.

This is a bit hacky, but I can't think of a better way since the short
id to class name only exists within PassRegistry.def. This also doesn't
handle passes not in PassRegistry.def but rather added via
PassBuilder::registerPipelineParsingCallback().

llvm/test/CodeGen/Generic/print-after.ll doesn't seem very useful now
with this change.

Reviewed By: ychen, jamieschmeiser

Differential Revision: https://reviews.llvm.org/D87216
The file was addedllvm/lib/IR/PrintPasses.cpp
The file was addedllvm/include/llvm/IR/PrintPasses.h
The file was modifiedllvm/include/llvm/Passes/StandardInstrumentations.h
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
The file was addedllvm/test/Other/print-before-after.ll
The file was modifiedllvm/lib/IR/CMakeLists.txt
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp
The file was modifiedllvm/lib/IR/IRPrintingPasses.cpp
The file was modifiedllvm/lib/Analysis/LoopPass.cpp
The file was modifiedllvm/lib/Analysis/LoopInfo.cpp
The file was removedllvm/test/CodeGen/Generic/print-after.ll
The file was modifiedllvm/lib/IR/PassInstrumentation.cpp
The file was modifiedllvm/include/llvm/IR/PassInstrumentation.h
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
The file was modifiedllvm/include/llvm/IR/IRPrintingPasses.h
The file was modifiedllvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
The file was modifiedllvm/test/Other/loop-pass-printer.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit ae9fd5578e8ab59bcffe1fd2b6a91531dff5bde6 by silvasean
[SmallVector] Allow SmallVector<T>

This patch adds a capability to SmallVector to decide a number of
inlined elements automatically. The policy is:

- A minimum of 1 inlined elements, with more as long as
sizeof(SmallVector<T>) <= 64.
- If sizeof(T) is "too big", then trigger a static_assert: this dodges
the more pathological cases

This is expected to systematically improve SmallVector use in the
LLVM codebase, which has historically been plagued by semi-arbitrary /
cargo culted N parameters, often leading to bad outcomes due to
excessive sizeof(SmallVector<T, N>). This default also makes
programming more convenient by avoiding edit/rebuild cycles due to
forgetting to type the N parameter.

Differential Revision: https://reviews.llvm.org/D92522
The file was modifiedllvm/unittests/ADT/SmallVectorTest.cpp
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
The file was modifiedllvm/docs/ProgrammersManual.rst
Commit c95acf052b53e5c18e380b8632e7de24b5e65dbe by ajcbik
[mlir][vector][avx512] move avx512 lowering pass into general vector lowering

A separate AVX512 lowering pass does not compose well with the regular
vector lowering pass. As such, it is at risk of code duplication and
lowering inconsistencies. This change removes the separate AVX512 lowering
pass and makes it an "option" in the regular vector lowering pass
(viz. vector dialect "augmented" with AVX512 dialect).

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D92614
The file was modifiedmlir/lib/Dialect/AVX512/CMakeLists.txt
The file was modifiedmlir/test/Conversion/AVX512ToLLVM/convert-to-llvm.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.h
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/include/mlir/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.h
The file was addedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
Commit 2e83ccc2ee333389110659f3cb313968a0c970d4 by dblaikie
ADT: Support copying of IntrusiveRefCntPtr objects

This was partially supported but untested for RefCountedBase (the
implicit copy assignment would've been problematic - so delete that) and
unsupported (would not have compiled, because std::atomic is
non-copyable) for ThreadSafeRefCountedBase (implement similar support
to RefCountedBase)

Fix the test that had a copy ctor for the derived object but called
RefCountBase's default ctor from that copy ctor - which meant it wasn't
actually testing RefCountBase's copy semantics.
The file was modifiedllvm/include/llvm/ADT/IntrusiveRefCntPtr.h
The file was modifiedllvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp
Commit f2e292446334de01403cddb9132ae06cc4475175 by xiang1.zhang
[X86] Unbind the ebx with GOT address in regcall calling convention

No register can be allocated for indirect call when it use regcall calling
convention and passed 5/5+ args.
For example:
call vreg (ag1, ag2, ag3, ag4, ag5, ...) --> 5 regs (EAX, ECX, EDX, ESI, EDI)
used for pass args, 1 reg (EBX )used for hold GOT point, so no regs can be
allocated to vreg.

The Intel386 architecture provides 8 general purpose 32-bit registers. RA
mostly use 6 of them (EAX, EBX, ECX, EDX, ESI, EDI). 5 of this regs can be
used to pass function arguments (EAX, ECX, EDX, ESI, EDI).
EBX used to hold the GOT pointer when making function calls via the PLT.
ESP and EBP usually be "reserved" in register allocation.

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D91020
The file was addedllvm/test/CodeGen/X86/x86-regcall-got.ll
The file was addedllvm/test/CodeGen/X86/tailregccpic.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e66c2e259f8140373ee73ceffe1e913483b711b5 by riddleriver
[mlir][NFC] Remove Function.h and Module.h in favor of BuiltinOps.h

The definitions of ModuleOp and FuncOp are now within BuiltinOps.h, making the individual files obsolete.

Differential Revision: https://reviews.llvm.org/D92622
The file was removedmlir/include/mlir/IR/Module.h
The file was removedmlir/include/mlir/IR/Function.h
The file was modifiedmlir/lib/Rewrite/ByteCode.cpp
The file was modifiedmlir/include/mlir/Transforms/BufferUtils.h
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransferOpTransforms.cpp
Commit 09f7a55fad924b894fadef0f0edccffdfda7838a by riddleriver
[mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h

This is part of a larger refactoring the better congregates the builtin structures under the BuiltinDialect. This also removes the problematic "standard" naming that clashes with the "standard" dialect, which is not defined within IR/. A temporary forward is placed in StandardTypes.h to allow time for downstream users to replaced references.

Differential Revision: https://reviews.llvm.org/D92435
The file was modifiedmlir/lib/IR/TypeDetail.h
The file was modifieddebuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/lib/IR/TypeUtilities.cpp
The file was modifiedflang/include/flang/Lower/Mangler.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/Dialect/Quant/Utils/QuantizeUtils.cpp
The file was modifiedmlir/lib/IR/Types.cpp
The file was addedmlir/include/mlir-c/BuiltinTypes.h
The file was modifiedmlir/examples/toy/Ch4/mlir/MLIRGen.cpp
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Quant/Utils/UniformSupport.cpp
The file was modifiedmlir/lib/IR/AttributeDetail.h
The file was modifiedmlir/test/Bindings/Python/ir_types.py
The file was modifiedmlir/test/lib/Dialect/Tosa/TosaTestPasses.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantTypes.h
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h
The file was modifiedmlir/include/mlir/Dialect/Quant/UniformSupport.h
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.h
The file was modifiedmlir/examples/toy/Ch7/include/toy/Dialect.h
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.h
The file was modifiedflang/lib/Lower/ConvertType.cpp
The file was modifiedmlir/include/mlir/Dialect/CommonFolders.h
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
The file was modifiedmlir/lib/IR/AffineMap.cpp
The file was modifiedmlir/lib/IR/Value.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was addedmlir/lib/CAPI/IR/BuiltinTypes.cpp
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/docs/ShapeInference.md
The file was modifiedmlir/include/mlir/Dialect/Async/IR/Async.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was modifiedmlir/lib/IR/BuiltinDialect.cpp
The file was modifiedmlir/unittests/TableGen/OpBuildGen.cpp
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantTypes.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/TypeParser.cpp
The file was addedmlir/lib/IR/BuiltinTypes.cpp
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/examples/toy/Ch3/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
The file was modifiedmlir/lib/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
The file was modifiedmlir/lib/Dialect/PDL/IR/PDL.cpp
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/lib/ExecutionEngine/JitRunner.cpp
The file was modifiedmlir/lib/Interfaces/InferTypeOpInterface.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefStrideCalculation.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/MLIRGen.cpp
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/Dialect.h
The file was modifiedmlir/include/mlir/IR/Matchers.h
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/unittests/IR/AttributeTest.cpp
The file was modifiedmlir/examples/toy/Ch4/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/examples/toy/Ch2/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/MLIRGen.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/Dialect.cpp
The file was modifiedmlir/include/mlir/IR/Builders.h
The file was modifiedmlir/include/mlir/Interfaces/ViewLikeInterface.h
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/lib/CAPI/IR/StandardAttributes.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
The file was modifiedmlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
The file was modifiedmlir/unittests/IR/OperationSupportTest.cpp
The file was modifiedmlir/lib/IR/OperationSupport.cpp
The file was modifiedmlir/docs/Rationale/Rationale.md
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/docs/Dialects/LLVM.md
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOps.h
The file was modifiedmlir/lib/Parser/TypeParser.cpp
The file was removedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/examples/toy/Ch4/include/toy/Dialect.h
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/utils/gdb-scripts/prettyprinters.py
The file was modifiedmlir/lib/CAPI/IR/CMakeLists.txt
The file was modifiedmlir/examples/toy/Ch3/mlir/MLIRGen.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUDialect.h
The file was modifiedmlir/lib/Interfaces/ControlFlowInterfaces.cpp
The file was removedmlir/lib/CAPI/IR/StandardTypes.cpp
The file was modifiedmlir/unittests/TableGen/StructsGenTest.cpp
The file was modifiedmlir/examples/toy/Ch5/include/toy/Dialect.h
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/TypeDetail.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgTypes.cpp
The file was modifiedmlir/lib/Parser/AttributeParser.cpp
The file was modifiedflang/lib/Lower/RTBuilder.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/MLIRGen.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.h
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantOps.cpp
The file was removedmlir/include/mlir-c/StandardTypes.h
The file was modifiedmlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp
The file was modifiedmlir/include/mlir/Interfaces/VectorInterfaces.h
The file was modifiedmlir/lib/Dialect/Traits.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/docs/Dialects/SPIR-V.md
The file was modifiedmlir/include/mlir/IR/FunctionSupport.h
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/lib/Parser/DialectSymbolParser.cpp
The file was modifiedmlir/unittests/Dialect/Quant/QuantizationUtilsTest.cpp
The file was addedmlir/include/mlir/IR/BuiltinTypes.h
The file was modifiedmlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
The file was modifiedmlir/examples/toy/Ch2/mlir/MLIRGen.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
Commit c7cae0e4fa4e1ed4bdca186096a408578225fc2b by riddleriver
[mlir][Attributes][NFC] Move all builtin Attribute classes to BuiltinAttributes.h

This mirrors the file structure of Types.

Differential Revision: https://reviews.llvm.org/D92499
The file was modifiedmlir/include/mlir/Interfaces/DecodeAttributesInterfaces.h
The file was modifiedmlir/lib/IR/AttributeDetail.h
The file was modifiedmlir/lib/IR/CMakeLists.txt
The file was addedmlir/lib/CAPI/IR/BuiltinAttributes.cpp
The file was modifiedmlir/include/mlir/Dialect/CommonFolders.h
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedflang/include/flang/Optimizer/Dialect/FIRType.h
The file was addedmlir/lib/IR/BuiltinAttributes.cpp
The file was modifiedmlir/lib/CAPI/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
The file was modifiedmlir/test/CAPI/ir.c
The file was addedmlir/include/mlir/IR/BuiltinAttributes.h
The file was removedmlir/lib/CAPI/IR/StandardAttributes.cpp
The file was modifiedmlir/include/mlir/Bindings/Python/Attributes.td
The file was modifiedmlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/docs/CAPI.md
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was addedmlir/include/mlir-c/BuiltinAttributes.h
The file was modifiedmlir/include/mlir/IR/Operation.h
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/include/mlir/Transforms/LoopUtils.h
The file was modifiedmlir/lib/IR/AffineMap.cpp
The file was removedmlir/include/mlir-c/StandardAttributes.h
The file was modifiedmlir/unittests/IR/AttributeTest.cpp
The file was modifiedmlir/lib/IR/BuiltinTypes.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVAttributes.h
The file was modifiedmlir/lib/IR/Attributes.cpp
Commit e763e032f8bbf5a4da60d099b1df4cd16e44e139 by Duncan P. N. Exon Smith
Support: Change InMemoryFileSystem::addFileNoOwn to take a MemoryBufferRef, NFC

Found this by chance when looking at the InMemoryFileSystem API, seems
like an easy cleanup.

Differential Revision: https://reviews.llvm.org/D90893
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedclang/tools/clang-format/ClangFormat.cpp
Commit 1bb79875e4b8f9018142a5155ca3f7df37778419 by sbc
[lld][WebAssembly] Set memory limits correctly for PIC + shared memory

Don't early return from layoutMemory in PIC mode before we have set the
memory limits.

This matters in particular with shared-memory + PIC because shared
memories require maximum size.

Secondly, when we need a maximum, but the user does not supply one,
default to MAX_INT rather than 0 (defaulting to zero is completely
useless and means that building with -shared didn't previously work at
all without --maximum-memory, because zero is never big enough).

This is part of an ongoing effort to enable dynamic linking with
threads in emscripten.

See https://github.com/emscripten-core/emscripten/issues/3494

Differential Revision: https://reviews.llvm.org/D92528
The file was modifiedlld/test/wasm/shared-memory.yaml
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/test/wasm/shared.ll
Commit 305852686bf52037f81c0582400ceddb5e8844b3 by thakis
[mac/lld] Run tests with -fatal_warnings by default

This helps us catch cases where we add support for a flag but forget to
remove HelpHidden from Options.td.

More explicit alternative to D92455

Differential Revision: https://reviews.llvm.org/D92575
The file was modifiedlld/test/MachO/fatal-warnings.s
The file was modifiedlld/test/MachO/lit.local.cfg
The file was modifiedlld/test/MachO/load-commands.s
The file was modifiedlld/test/MachO/x86-64-reloc-unsigned.s
Commit 0173eb0faf7ba500865d9e043685c37fc00cf679 by aeubanks
Use isIgnored instead of checking pass name

In preparation for https://reviews.llvm.org/D92616 which will remove
angle brackets from pass manager/adaptor names.

Reviewed By: dexonsmith, thakis

Differential Revision: https://reviews.llvm.org/D92625
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
Commit c98a7ab1b1d647492554872e395b2ae5763fd23e by dblaikie
IntrusiveRefCntPtr: Ensure RefCount is initialized during ThreadSafeRefCountedBase copy construction

Post commit feedback on 2e83ccc2ee33 from Nathan James!
The file was modifiedllvm/include/llvm/ADT/IntrusiveRefCntPtr.h
Commit 80e326a8c4cfae770c10d7bb3d0ae291011bd91f by jianzhouzh
[dfsan] Support passing non-i16 shadow values in TLS mode

This is a child diff of D92261.

It extended TLS arg/ret to work with aggregate types.

For a function
  t foo(t1 a1, t2 a2, ... tn an)
Its arguments shadow are saved in TLS args like
  a1_s, a2_s, ..., an_s
TLS ret simply includes r_s. By calculating the type size of each shadow
value, we can get their offset.

This is similar to what MSan does. See __msan_retval_tls and __msan_param_tls
from llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp.

Note that this change does not add test cases for overflowed TLS
arg/ret because this is hard to test w/o supporting aggregate shdow
types. We will be adding them after supporting that.

Reviewed-by: morehouse

Differential Revision: https://reviews.llvm.org/D92440
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/call.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/fast16labels.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/arith.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/load.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/select.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/phi.ll
The file was modifiedllvm/test/Instrumentation/DataFlowSanitizer/callback.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
Commit 9378a366b2b256ebd1b2763141f683ab9b48c303 by qiucofan
[NFC] [Clang] Fix ppc64le vaarg OpenMP test in CodeGen

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D92544
The file was removedclang/test/Driver/ppc-openmp-f128.c
The file was modifiedclang/test/CodeGen/ppc64le-varargs-f128.c
Commit e51c2d6a747d8c85dee711edd3a766f036635da0 by mtrofin
[tools] Update update_test_prefix.py to handle %s after prefixes

Sometimes the check-prefixes is followed by %s, and we want to keep a
white space before it.

Differential Revision: https://reviews.llvm.org/D92542
The file was modifiedllvm/utils/update_test_prefix.py
Commit c4af1c8d939b21ac7deb631887fc26db7451c592 by dblaikie
PR48383: Disallow decltype(auto) in pseudodestructor calls
The file was modifiedclang/test/SemaCXX/cxx1y-deduced-return-type.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit dec1bbb47cda3098c1621f780f10cee3fd91e7b1 by i
Fix -allow-deprecated-dag-overlap in test/CodeGen/dso-local-executable.c
The file was modifiedclang/test/CodeGen/dso-local-executable.c
Commit 3df0daceb2c684c8bd704595e70c08500bb051ed by mkazantsev
[IndVars] Quick fix LHS/RHS bug

The code relies on fact that LHS is the NarrowDef but never
really checks it. Adding the conservative restrictive check,
will follow-up with handling of case where RHS is a NarrowDef.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Commit 12b6c5e68282be7beac597300cf90a9d6ae3e1dd by mkazantsev
Return "[IndVars] ICmpInst should not prevent IV widening"

This reverts commit 4bd35cdc3ae1874c6d070c5d410b3f591de54ee6.

The patch was reverted during the investigation. The investigation
shown that the patch did not cause any trouble, but just exposed
the existing problem that is addressed by the previous patch
"[IndVars] Quick fix LHS/RHS bug". Returning without changes.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
Commit f5d52916ce34f68a2fb4de69844f1b51b6bd0a13 by lkail
[PowerPC] Pre-commit neg abs test for vector. NFC.
The file was modifiedllvm/test/CodeGen/PowerPC/neg-abs.ll
Commit f5f1a5c2448e31f3c7e6f85b378372a02f8d3e43 by hanchung
[mlir][Linalg] Handle fusion on tensors for projected permutation.

In the past, the reshape op can be folded only if the indexing map is
permutation in consumer's usage. We can relax to condition to be projected
permutation.

This patch still limits the fusion for scalar cases. Scalar case is a corner
case, because we need to decide where to put extra dims.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D92466
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/test/Dialect/Linalg/reshape_fusion.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
Commit e2fc11cf9f6cd801b5f3bf94541561829ff02f77 by kazu
[JumpThreading] Call eraseBlock when folding a conditional branch

This patch teaches the jump threading pass to call BPI->eraseBlock
when it folds a conditional branch.

Without this patch, BranchProbabilityInfo could end up with stale edge
probabilities for the basic block containing the conditional branch --
one edge probability with less than 1.0 and the other for a removed
edge.

Differential Revision: https://reviews.llvm.org/D92608
The file was addedllvm/test/Transforms/JumpThreading/thread-prob-4.ll
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was addedllvm/test/Transforms/JumpThreading/thread-prob-5.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-prob-6.ll
Commit 5b9fc44d8128717ef2f219b061c018abb85c717f by hokein.wu
[clang] Add a C++17 deduction guide testcase.

From https://bugs.llvm.org/show_bug.cgi?id=47219.

It was crashing before the commit 1e14588d0f68.

Differential Revision: https://reviews.llvm.org/D92573
The file was addedclang/test/PCH/cxx17-deduction-guide-decl.cpp
Commit 973f3907a471eee85c35f7d283fe2de91ce953e2 by Raphael Isemann
[lldb][NFC] Rename TypeSystemClangForExpressions to ScratchTypeSystemClang

We keep referring to the single object created by this class as
'scratch AST/Context/TypeSystem' so at this point we might as well rename the
class. It's also not involved at all in expression evaluation, so the
'ForExpressions' prefix is a bit misleading.
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
Commit f61c29b3a725a620c67355a519788a96be5d5651 by ybrevnov
[NARY-REASSOCIATE] Simplify traversal logic by post deleting dead instructions

Currently we delete optimized instructions as we go. That has several negative consequences. First it complicates traversal logic itself. Second if newly generated instruction has been deleted the traversal is repeated from scratch.

But real motivation for the change is upcoming change with support for min/max reassociation. Here we employ SCEV expander to generate code. As a result newly generated instructions may be inserted not right before original instruction (because SCEV may do hoisting) and there is no way to know 'next' instruction.

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D88285
The file was modifiedllvm/test/Transforms/NaryReassociate/pr24301.ll
The file was modifiedllvm/lib/Transforms/Scalar/NaryReassociate.cpp
Commit 061cebb46f6c484322719f906a16ebc7a1bc5fff by ybrevnov
[NFC][NARY-REASSOCIATE] Restructure code to aviod isPotentiallyReassociatable

Currently we have to duplicate the same checks in isPotentiallyReassociatable and tryReassociate. With simple pattern like add/mul this may be not a big deal. But the situation gets much worse when I try to add support for min/max. Min/Max may be represented by several instructions and can take different forms. In order reduce complexity for upcoming min/max support we need to restructure the code a bit to avoid mentioned code duplication.

Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D88286
The file was modifiedllvm/include/llvm/Transforms/Scalar/NaryReassociate.h
The file was modifiedllvm/lib/Transforms/Scalar/NaryReassociate.cpp
Commit c17fdca1883ddee94c6b7e055428d4445ab13e42 by martin
[clang] [Headers] Use the corresponding _aligned_free or __mingw_aligned_free in _mm_free

Differential Revision: https://reviews.llvm.org/D92570
The file was modifiedclang/lib/Headers/mm_malloc.h
Commit 6be11e35d5397ae1c117eb840a969585fdd7d08d by martin
[libcxx] Implement c++2a char8_t input/output of std::filesystem::path

This implements the std::filesystem parts of P0482 (which is already
marked as in progress), and applies the actions that are suggested
in P1423.

Differential Revision: https://reviews.llvm.org/D90222
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/docs/Cxx2aStatusPaperStatus.csv
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was modifiedlibcxx/test/support/filesystem_test_helper.h
The file was modifiedlibcxx/include/filesystem
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/named_overloads.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
Commit 0b71bf793924301d53cf01eeb0a27e96fea17791 by martin
[libcxx] [test] Add a test for conversions between wchar_t, utf8, char16_t, char32_t and windows native narrow code pages

Differential Revision: https://reviews.llvm.org/D91133
The file was addedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.charconv.pass.cpp
Commit 9c766b8418b9b0a4196014f5a2e983d98f33eeef by llvm-dev
[X86] Regenerate midpoint-int.ll tests

Replace X32 check prefixes with X86 - X32 is generally used for gnux triple tests
The file was modifiedllvm/test/CodeGen/X86/midpoint-int.ll
Commit 8eedd18fcb9d5d3cad887bd0d2c165ab3a47347b by llvm-dev
[X86] Remove unnecessary bitcast. NFC.

The X86ISD::SUBV_BROADCAST node is already VT
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 6f4ee6f87060a88d09db4706b6a6483d459cc3b4 by llvm-dev
[DAGCombiner] Use const APInt& for getConstantOperandAPInt results. NFCI.

Avoid unnecessary instantiation.

Noticed while removing unnecessary autos
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit c25b039e211441033069c7046324d2f76de37bed by qshanz
[PowerPC] Fix the regression caused by commit 9c588f53fc42

Add a TypeLegal check for MVT::i1 and add the test.
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
Commit 594308c7ad07b4cea20f41d915aa81794e909654 by Raphael Isemann
[lldb][NFC] Rename TypeSystemClang::GetScratch to ScratchTypeSystemClang::GetForTarget

Also add some documentation while I'm at it.
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSDictionary.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSString.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSArray.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/NSError.cpp
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
The file was modifiedlldb/source/Plugins/Language/ObjC/NSException.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit 5c650d3d9b03a59fa547a0414fbd3a6942c25395 by grimar
[llvm-readobj] - Report unique warnings in printProgramHeaders.

This converts `reportWarning` -> `reportUniqueWarning`

Differential revision: https://reviews.llvm.org/D92568
The file was modifiedllvm/test/tools/llvm-readobj/ELF/program-headers.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit e97b991eef63663d1f635813fe375354edb7b51a by Raphael Isemann
[lldb] Remove LLDB session dir and just store test traces in the respective test build directory

Test runs log some of their output to files inside the LLDB session dir. This
session dir is shared between all tests, so all the tests have to make sure they
choose a unique file name inside that directory. We currently choose by default
`<test-class-name>-<test-method-name>` as the log file name. However, that means
that if not every test class in the test suite has a unique class name, then we
end up with a race condition as two tests will try to write to the same log
file.

I already tried in D83767 changing the format to use the test file basename
instead (which we already require to be unique for some other functionality),
but it seems the code for getting the basename didn't work on Windows.

This patch instead just changes that dotest stores the log files in the build
directory for the current test. We know that directory is unique for this test,
so no need to generate some unique file name now. Also removes all the
environment vars and parameters related to the now unused session dir.

The new log paths now look like this for a failure in 'TestCppOperators`:
```
./lldb-test-build.noindex/lang/cpp/operators/TestCppOperators.test_dwarf/Failure.log
./lldb-test-build.noindex/lang/cpp/operators/TestCppOperators.test_dsym/Failure.log
./lldb-test-build.noindex/lang/cpp/operators/TestCppOperators.test_gmodules/Failure.log
```

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D92498
The file was modifiedlldb/test/API/CMakeLists.txt
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/test/API/lit.cfg.py
The file was modifiedlldb/test/API/lit.site.cfg.py.in
The file was modifiedlldb/examples/test/.lldb-loggings
The file was modifiedlldb/examples/test/usage-lldb-loggings
Commit 7ac06444b8baead56301562fbfecbcedbdf30ecd by grimar
[yaml2obj,obj2yaml] - Make Symbol::Section field optional.

This is similar to what we did earlier for fields of the Section class.

When a field is optional we can use the =<none> syntax in macros.

This was splitted from D92478.

Differential revision: https://reviews.llvm.org/D92565
The file was modifiedllvm/test/tools/yaml2obj/ELF/dynamic-symbols.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
Commit df1ddc42345356f575088c4c80f9cf54d1461e6f by llvm-dev
[X86] Let VBMI2 non-VLX targets still use funnel shifts instructions
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll