FailedChanges

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

Summary

  1. [clangd] Force delayed-template-parsing off in code completion. (details)
  2. [mlir][Pass] Add a tablegen backend for defining Pass information (details)
  3. [mlir][Pass] Move the registration of dialect passes to tablegen (details)
  4. [mlir][Pass] Move the registration of conversion passes to tablegen (details)
  5. [mlir][Pass] Add support for generating pass utilities via tablegen (details)
  6. [mlir][Pass] Add support for generating pass documention from the tablegen definition (details)
  7. [lldb] Inherit host environment when running shell commands (details)
  8. [yaml2obj] - Add NBucket and NChain fields for the SHT_HASH section. (details)
  9. [Alignment][NFC] Use Align in SelectionDAG::getMemIntrinsicNode (details)
  10. [lldb] [PECOFF] Only use PECallFrameInfo on the one supported architecture (details)
  11. [X86] Do not assume types are legal in getFauxShuffleMask (details)
  12. [NFC] [PowerPC] Add test for frsp elimination (details)
  13. [LSR] add testcase for wrongly phi node elimination - NFC (details)
  14. Revert "[LSR] add testcase for wrongly phi node elimination - NFC" (details)
  15. [X86][SSE] Handle basic inversion of PTEST/TESTP operands (PR38522) (details)
  16. [Transforms][SROA] Promote allocas with mem2reg for scalable types (details)
  17. [clangd] Run semaCodeComplete only with a preamble (details)
  18. [LSR] re-add testcase for wrongly phi node elimination - NFC (details)
  19. [GVNSink] Simplify code. NFC. (details)
  20. [lldb][NFC] Modernize TestExprChar (details)
  21. Silent failing TestWatchpointCount.py aarch64/linux (details)
  22. [Target][ARM] Change VPTMaskValues to the correct encoding (details)
  23. [Target][ARM] Improvements to the VPT Block Insertion Pass (details)
  24. [clangd-vscode] NFC; Improve wording in documentation and update VSCode tasks (details)
  25. [Alignment][NFC] Convert MIR Yaml to MaybeAlign (details)
  26. Revert "[LSR] re-add testcase for wrongly phi node elimination - NFC" (details)
  27. [ARM] Extra vmull loop tests. NFC (details)
  28. Fix "control reaches end of non-void function" warning. NFCI. (details)
  29. [X86][SSE] matchShuffleWithPACK - generalize zero/signbits matching for any packed src type (details)
  30. [NFC] run clang format on the file llvm/include/llvm/MC/MCDirectives.h (details)
  31. [Alignment][NFC] Convert SelectionDAG::InferPtrAlignment to MaybeAlign (details)
  32. [ARM] Silence warning in Release builds (details)
  33. Fix unused variable warnings. NFCI. (details)
  34. Fix operator precedence warning. NFCI. (details)
  35. [RISCV] Support RISC-V ELF attributes sections in llvm-readobj. (details)
  36. [Alignment][NFC] Transition to MachineFrameInfo::getObjectAlign() (details)
  37. [libc++abi] Fix remote execution of .sh.cpp tests (details)
  38. [X86][SSE] combinePTESTCC - fold TESTZ(X,~Y) -> TESTC(Y,X) (details)
  39. [Alignment][NFC] Remove remaining uses of MachineFrameInfo::setObjectAlignment (details)
  40. [Alignment][NFC] Mark IRTranslator::getMemOpAlignment deprecated (details)
  41. Replace output file name in test with %t (details)
  42. [MLIR] Implement LoopLikeInterface for loop.parallel (details)
  43. [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. (details)
  44. [LegalizeTypes][RISCV] Correctly sign-extend comparison for ATOMIC_CMP_XCHG (details)
  45. [libc++] Handle SSH errors more gracefully and make sure we clean up the tmp directory (details)
  46. clagn-tidy/doc: Add a link to readability-static-accessed-through-instance from readability-convert-member-functions-to-static (details)
  47. [llvm-readobj] - Do not crash when SHT_HASH table is broken. (details)
  48. [ELF] Print symbols with non-default versions for better "undefined symbol" diagnostics (details)
  49. [WebAssembly] Fix subregion relationship in CFGSort (details)
  50. [analyzer] RetainCountChecker: Add a suppression for OSSymbols. (details)
  51. [ELF] Propagate LMA offset to sections with neither AT() nor AT> (details)
  52. [libc++] SSH: Properly handle test-executables that are not the first argument (details)
  53. [clang] CodeGen: Make getOrEmitProtocol public for Swift (details)
  54. [lld] NFC: fix trivial typos in comments (details)
  55. [libc++] SSH: Use -p when scp'ing to preserve modes and modification times (details)
  56. [mlir] Modify GPU to SPIR-V conversion to respect (details)
  57. AMDGPU: Fix consistently backwards logic for default denormal mode (details)
  58. HIP: Link correct denormal mode library (details)
  59. [WebAssembly] Rename SIMD min/max/avgr intrinsics for consistency (details)
  60. [OPENMP50]Add initial support for OpenMP 5.0 iterator. (details)
  61. AMDGPU/GlobalISel: Change intrinsic ID for _L to _LZ opt (details)
  62. AMDGPU/GlobalISel: Switch test to checking final ISA (details)
  63. [llvm-locstats] Fix labels on x-axis of comparison chart (details)
  64. [MLIR][NFC] loop transforms/analyis utils cleanup / modernize (details)
  65. [MLIR][NFC] clean up affine data copy test case (details)
  66. Add LLVM_ATTRIBUTE_UNUSED to function used only in assert (NFC) (details)
  67. Remove linking all targets from `mlir-opt` (NFC) (details)
  68. [mlir][Linalg][Doc] Minor doc fixes (details)
  69. AMDGPU: Fix broken check lines (details)
  70. [InstCombine] Use replaceOperand() in div transforms (details)
  71. [InstCombine] Erase old instruction when replacing extractelements (details)
  72. [Attributor] Make attributor aware of aligned_alloc for heap to stack conversion (details)
  73. [GVN] Make GVN aware of aligned_alloc (details)
  74. [NewGVN] Make NewGVN aware of aligned_alloc (details)
  75. [SimplifyLibCalls] Erase replaced instructions (details)
  76. Revert "[InstCombine] Erase old instruction when replacing extractelements" (details)
  77. Fix PR45371: SeparateConstOffsetFromGEP clean up bookkeeping (details)
  78. Revert "[OPENMP50]Add initial support for OpenMP 5.0 iterator." (details)
  79. [InstCombine] add tests for negate with xor operand; NFC (details)
  80. [InstCombine] enhance freelyNegateValue() by handling xor (details)
  81. [libc] Add sigfillset and sigdelset (details)
  82. [ORC] Add JITDylib name to debugging output when defining symbols. (details)
  83. [ORC] Don't require a null-terminator on MemoryBuffers for objects in archives. (details)
  84. [globalisel][legalizer] Fix DebugLoc bugs caught by a prototype lost-location verifier (details)
  85. [source maps] Ensure all valid source maps are added instead of failing with the first invalid one (details)
  86. [intel-pt] Implement a basic test case (details)
  87. DebugInfo: Defaulted non-type template parameters of bool type (details)
  88. Updating the documentation for the noescape attribute. (details)
  89. Revert "[intel-pt] Implement a basic test case" (details)
  90. [libc++] SSH: Create a tarball of dependencies and scp that instead (details)
  91. [intel-pt] Implement a basic test case (details)
  92. Revert "[intel-pt] Implement a basic test case" (details)
  93. [mlir] Move LLVMPassIncGen to LLVMIR/Transforms/CMakeLists.txt (details)
Commit 038f03cb5ef5d44676cbde06560ed2668f4a7acc by sam.mccall
[clangd] Force delayed-template-parsing off in code completion.

Summary:
It prevents code completion entirely in affected method bodies.
The main reason it's turned on is for compatibility with headers, so we turn it
off for the main file only. This is allowed because it's a compatible langopt.

Fixes https://github.com/clangd/clangd/issues/302

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77176
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
Commit 8155e41ac6196f035875229ee4fc5f2e3bfb4855 by riddleriver
[mlir][Pass] Add a tablegen backend for defining Pass information

This will greatly simplify a number of things related to passes:
* Enables generation of pass registration
* Enables generation of boiler plate pass utilities
* Enables generation of pass documentation

This revision focuses on adding the basic structure and adds support for generating the registration for passes in the Transforms/ directory. Future revisions will add more support and move more passes over.

Differential Revision: https://reviews.llvm.org/D76656
The file was modifiedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was addedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was addedmlir/include/mlir/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/SymbolDCE.cpp
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was modifiedmlir/lib/Transforms/ViewRegionGraph.cpp
The file was modifiedmlir/lib/Transforms/CSE.cpp
The file was modifiedmlir/lib/Pass/PassRegistry.cpp
The file was addedmlir/include/mlir/Pass/PassBase.td
The file was modifiedmlir/lib/Transforms/PipelineDataTransfer.cpp
The file was modifiedmlir/lib/TableGen/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/LocationSnapshot.cpp
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was addedmlir/lib/TableGen/Pass.cpp
The file was addedmlir/tools/mlir-tblgen/PassGen.cpp
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/include/mlir/Pass/PassRegistry.h
The file was modifiedmlir/include/mlir/Transforms/LocationSnapshot.h
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/include/mlir/CMakeLists.txt
The file was addedmlir/include/mlir/TableGen/Pass.h
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/lib/Transforms/ParallelLoopCollapsing.cpp
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/LoopCoalescing.cpp
Commit e3d834a54afa65c615b8eb839f4fe5dbaf53e3e8 by riddleriver
[mlir][Pass] Move the registration of dialect passes to tablegen

This generates a Passes.td for all of the dialects that have transformation passes. This removes the need for global registration for all of the dialect passes.

Differential Revision: https://reviews.llvm.org/D76657
The file was addedmlir/include/mlir/Dialect/Quant/Passes.td
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
The file was addedmlir/include/mlir/Dialect/GPU/Passes.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Quantizer/Transforms/RemoveInstrumentationPass.cpp
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
The file was addedmlir/include/mlir/Quantizer/Transforms/Passes.td
The file was addedmlir/include/mlir/Quantizer/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Quantizer/Transforms/Passes.h
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.h
The file was addedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was addedmlir/include/mlir/Dialect/FxpMathOps/Passes.td
The file was addedmlir/include/mlir/Dialect/SPIRV/Passes.td
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
The file was modifiedmlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/LegalizeForExport.cpp
The file was modifiedmlir/lib/Quantizer/Transforms/InferQuantizedTypesPass.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Affine/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/GPU/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/FxpMathOps/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/LLVMIR/Transforms/Passes.td
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnrollAndJam.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
The file was modifiedmlir/include/mlir/Dialect/FxpMathOps/Passes.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
The file was modifiedmlir/lib/Dialect/Quant/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Dialect/FxpMathOps/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/DecorateSPIRVCompositeTypeLayoutPass.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/lib/Quantizer/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LoopOps/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/CMakeLists.txt
The file was addedmlir/include/mlir/Quantizer/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopSpecialization.cpp
The file was modifiedmlir/include/mlir/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was addedmlir/include/mlir/Dialect/Affine/Passes.td
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp
The file was addedmlir/include/mlir/Dialect/LoopOps/Passes.td
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/include/mlir/Dialect/Quant/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
Commit 3dddd8969f4d5bb05d65c6014934e24795843182 by riddleriver
[mlir][Pass] Move the registration of conversion passes to tablegen

This removes the need to statically register conversion passes, and also puts all of the conversions within one centralized file.

Differential Revision: https://reviews.llvm.org/D76658
The file was modifiedmlir/lib/Conversion/StandardToLLVM/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
The file was modifiedmlir/include/mlir/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPUPass.h
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/CMakeLists.txt
The file was addedmlir/include/mlir/Conversion/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToVulkan/CMakeLists.txt
The file was modifiedmlir/include/mlir/Conversion/VectorToLoops/ConvertVectorToLoops.h
The file was modifiedmlir/include/mlir/InitAllPasses.h
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToROCDL/CMakeLists.txt
The file was addedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Conversion/LoopToStandard/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/AffineToStandard/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToNVVM/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
Commit 9a277af2d429e1d53f65417400583d5ea66d3ed1 by riddleriver
[mlir][Pass] Add support for generating pass utilities via tablegen

This revision adds support for generating utilities for passes such as options/statistics/etc. that can be inferred from the tablegen definition. This removes additional boilerplate from the pass, and also makes it easier to remove the reliance on the pass registry to provide certain things(e.g. the pass argument).

Differential Revision: https://reviews.llvm.org/D76659
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/lib/Transforms/SymbolDCE.cpp
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp
The file was modifiedmlir/lib/Transforms/Canonicalizer.cpp
The file was modifiedmlir/include/mlir/Pass/PassBase.td
The file was modifiedmlir/include/mlir/TableGen/Pass.h
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/lib/Transforms/PipelineDataTransfer.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/lib/Transforms/MemRefDataFlowOpt.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/lib/Conversion/LoopToStandard/LoopToStandard.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/lib/Transforms/CSE.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/tools/mlir-tblgen/PassGen.cpp
The file was modifiedmlir/lib/Transforms/LocationSnapshot.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnrollAndJam.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/LegalizeForExport.cpp
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopSpecialization.cpp
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRVPass.cpp
The file was modifiedmlir/lib/Quantizer/Transforms/RemoveInstrumentationPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Transforms/ParallelLoopCollapsing.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/Transforms/LoopCoalescing.cpp
The file was modifiedmlir/lib/Transforms/ViewRegionGraph.cpp
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/lib/Quantizer/Transforms/InferQuantizedTypesPass.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.td
The file was modifiedmlir/include/mlir/Dialect/LoopOps/Passes.td
The file was modifiedmlir/lib/Quantizer/Transforms/AddDefaultStatsTestPass.cpp
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
The file was modifiedmlir/lib/TableGen/Pass.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 9be4be3e53270fc12b184773203b9aa6eb4ad92b by riddleriver
[mlir][Pass] Add support for generating pass documention from the tablegen definition

Summary:
This revision adds support for auto-generating pass documentation, replacing the need to manually keep Passes.md up-to-date. This matches the behavior already in place for dialect and interface documentation.

Differential Revision: https://reviews.llvm.org/D76660
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/include/mlir/Conversion/CMakeLists.txt
The file was modifiedmlir/include/mlir/Quantizer/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/include/mlir/Dialect/FxpMathOps/CMakeLists.txt
The file was addedmlir/tools/mlir-tblgen/PassDocGen.cpp
The file was modifiedmlir/include/mlir/Dialect/LoopOps/CMakeLists.txt
The file was modifiedmlir/include/mlir/Transforms/CMakeLists.txt
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/CMakeLists.txt
The file was modifiedmlir/docs/Passes.md
The file was modifiedmlir/include/mlir/Dialect/Quant/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Affine/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/GPU/CMakeLists.txt
Commit 0ec88d031ad5abcd78068a8377494ec84ea6a1e1 by pavel
[lldb] Inherit host environment when running shell commands

Summary:
On most hosts we were running shell commands with an empty environment.
The only exception was windows, which was inheriting the host enviroment
mostly by accident.

Running the commands in an empty environment does not sound like a
sensible default, so this patch changes Host::RunShellCommand to inherit
the host environment.  This impacts both commands run via
SBPlatform::Run (in case of host platforms), as well as the "platform
shell" CLI command.

Reviewers: jingham, friss

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77123
The file was addedlldb/test/API/python_api/sbplatform/main.cpp
The file was modifiedlldb/source/Host/common/Host.cpp
The file was addedlldb/test/API/python_api/sbplatform/Makefile
The file was addedlldb/test/API/python_api/sbplatform/TestSBPlatform.py
Commit 93fc0ba145c2f9619d3174c95cacda5d4a0a2815 by grimar
[yaml2obj] - Add NBucket and NChain fields for the SHT_HASH section.

These fields allows to override nchain and nbucket fields of a SHT_HASH section.

Differential revision: https://reviews.llvm.org/D76834
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/hash-section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
Commit c7468c1696ff3273167d14d764b36e990d7642a5 by gchatelet
[Alignment][NFC] Use Align in SelectionDAG::getMemIntrinsicNode

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: jholewinski, nemanjai, hiraditya, kbarton, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77149
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit aa786b881fc89a2a9883bff77912f2053126f95b by martin
[lldb] [PECOFF] Only use PECallFrameInfo on the one supported architecture

The RuntimeFunction struct, which PECallFrameInfo interprets, has a
different layout and differnet semantics on all architectures.

Differential Revision: https://reviews.llvm.org/D77000
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
Commit ef49895da894c56397879e3cb9a03f35d079617a by bjorn.a.pettersson
[X86] Do not assume types are legal in getFauxShuffleMask

Summary:
Make sure we do not assert on value types not being
simple in getFauxShuffleMask when analysing operations
such as "v8i16 = truncate v8i24".

Reviewers: RKSimon

Reviewed By: RKSimon

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77136
The file was addedllvm/test/CodeGen/X86/shuffle-combine-crash-3.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit d8b51789fd63491ae806f53f43df8d2024dbaf19 by qiucofan
[NFC] [PowerPC] Add test for frsp elimination
The file was addedllvm/test/CodeGen/PowerPC/mi-simplify-code.mir
Commit dbf5e4f6c7f76d8086b01efed5c37dced3eed4b6 by shchenz
[LSR] add testcase for wrongly phi node elimination - NFC
The file was addedllvm/test/Transforms/LoopStrengthReduce/phi-unknownscev.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
Commit 8b8cd150a4a176cd971c604f92de76acdae4a301 by shchenz
Revert "[LSR] add testcase for wrongly phi node elimination - NFC"

This reverts commit dbf5e4f6c7f76d8086b01efed5c37dced3eed4b6.
The testcase has different behaviour on PowerPC and X86.
The file was removedllvm/test/Transforms/LoopStrengthReduce/phi-unknownscev.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
Commit 918ccb64b02281355a6226fe8af07dc40e8ff9e3 by llvm-dev
[X86][SSE] Handle basic inversion of PTEST/TESTP operands (PR38522)

PTEST/TESTP sets EFLAGS as:
TESTZ: ZF = (Op0 & Op1) == 0
TESTC: CF = (~Op0 & Op1) == 0
TESTNZC: ZF == 0 && CF == 0

If we are inverting the 0'th operand of a PTEST/TESTP instruction we can adjust the comparisons to correct handle the inversion implicitly.

Additionally, for "TESTZ" (ZF) cases, the allones case, PTEST(X,-1) can be simplified to PTEST(X,X).

We can expand this for the TESTZ(X,~Y) pattern and also handle KTEST/KORTEST in the future.

Differential Revision: https://reviews.llvm.org/D76984
The file was modifiedllvm/test/CodeGen/X86/combine-testps.ll
The file was modifiedllvm/test/CodeGen/X86/combine-ptest.ll
The file was modifiedllvm/test/CodeGen/X86/combine-testpd.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 84aa6cf1a9fe7c2d1c35b27ba6fbf1ee36a09a71 by cullen.rhodes
[Transforms][SROA] Promote allocas with mem2reg for scalable types

Summary:
Aggregate types containing scalable vectors aren't supported and as far
as I can tell this pass is mostly concerned with optimisations on
aggregate types, so the majority of this pass isn't very useful for
scalable vectors.

This patch modifies SROA such that mem2reg is run on allocas with
scalable types that are promotable, but nothing else such as slicing is
done.

The use of TypeSize in this pass has also been updated to be explicitly
fixed size. When invoking the following methods in DataLayout:

    * getTypeSizeInBits
    * getTypeStoreSize
    * getTypeStoreSizeInBits
    * getTypeAllocSize

we now called getFixedSize on the resultant TypeSize. This is quite an
extensive change with around 50 calls to these functions, and also the
first change of this kind (being explicit about fixed vs scalable
size) as far as I'm aware, so feedback welcome.

A test is included containing IR with scalable vectors that this pass is
able to optimise.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D76720
The file was addedllvm/test/Transforms/SROA/scalable-vectors.ll
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 43aa04eb7a617ee75dfcbbe2d395b8208e66c0e0 by kadircet
[clangd] Run semaCodeComplete only with a preamble

Summary:
It is used by code completion and signature help. Code completion
already uses a special no-compile mode for missing preambles, so this change is
a no-op for that.

As for signature help, it already blocks for a preamble and missing it implies
clang has failed to parse the preamble and retrying it in signature help likely
will fail again. And even if it doesn't, request latency will be too high to be
useful as parsing preambles is expensive.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77204
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ClangdTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.h
Commit f25a1b4f58d66805257a05f13e8581551574ce22 by shchenz
[LSR] re-add testcase for wrongly phi node elimination - NFC

Retest the case on X86/SystemZ/AArch64/PowerPC
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
The file was addedllvm/test/Transforms/LoopStrengthReduce/phi-unknownscev.ll
Commit 66b9f5f7f0d26d789f74ddc8a99d0e446d17a22c by benny.kra
[GVNSink] Simplify code. NFC.
The file was modifiedllvm/lib/Transforms/Scalar/GVNSink.cpp
Commit 9beba4245a77ae75db874146036b77fb76398e4c by Raphael Isemann
[lldb][NFC] Modernize TestExprChar
The file was modifiedlldb/test/API/commands/expression/char/TestExprsChar.py
Commit c9d15880542ef483470ee33dbd055b68396d4537 by omair.javaid
Silent failing TestWatchpointCount.py aarch64/linux

Skip TestWatchpointCount.py for aarch64-linux to fix lldb aarch64 linux buildbot.

http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
Commit dad848280d3b740524803595d463510e1090ab59 by pierre.vanhoutryve
[Target][ARM] Change VPTMaskValues to the correct encoding

VPTMaskValue was using the "instruction" encoding to represent the masks
(= the same encoding as the one used by the instructions in an object file),
but it is only used to build MCOperands, so it should use the MCOperand
encoding of the masks, which is slightly different.

Differential Revision: https://reviews.llvm.org/D76139
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Target/ARM/Utils/ARMBaseInfo.h
Commit 2effe8f5e72ac94286445c0fdfd2cad6999f4cb4 by pierre.vanhoutryve
[Target][ARM] Improvements to the VPT Block Insertion Pass

This allows the MVE VPT Block insertion pass to remove VPNOTs in
order to create more complex VPT blocks such as TE, TEET, TETE, etc.

Differential Revision: https://reviews.llvm.org/D75993
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-threshold.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-3-blocks-kill-vpr.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-nots.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-block-elses.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-not.ll
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.h
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
Commit db3d64eebbe0aad87631c6fada01b06753377a44 by kbobyrev
[clangd-vscode] NFC; Improve wording in documentation and update VSCode tasks

Summary:
VSCode tasks are updated to the latest supported versions: deprecated
values are removed and replaced by their new counterparts.

Reviewers: hokein

Reviewed By: hokein

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76595
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/tsconfig.json
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/.vscode/tasks.json
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/src/extension.ts
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/.vscode/launch.json
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/DEVELOPING.md
Commit bf573bea19eabb41ed35c31b0d187c7068172bfa by gchatelet
[Alignment][NFC] Convert MIR Yaml to MaybeAlign

Summary:
Although it may look like non NFC it is. especially the MIRParser may set `0` to the MachineFrameInfo and MachineFunction, but they all deal with `Align` internally and assume that `0` means `1`.
https://github.com/llvm/llvm-project/blob/93fc0ba145c2f9619d3174c95cacda5d4a0a2815/llvm/include/llvm/CodeGen/MachineFrameInfo.h#L483

This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77203
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
Commit e344f8b9db4c173a5a268c52820e7ccf078ebe3b by shchenz
Revert "[LSR] re-add testcase for wrongly phi node elimination - NFC"

This reverts commit f25a1b4f58d66805257a05f13e8581551574ce22.
ARM and hexagon fail at the new added case.
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
The file was removedllvm/test/Transforms/LoopStrengthReduce/phi-unknownscev.ll
Commit a0c537834ae86a586aa0a17bc2e48d13c4515a3d by david.green
[ARM] Extra vmull loop tests. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vmull-loop.ll
Commit 43eca880c6eda10fd191c4e9e04bf04830c9c6f2 by llvm-dev
Fix "control reaches end of non-void function" warning. NFCI.
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
Commit 481413d3940402fdbef9f19963430e75409dc148 by llvm-dev
[X86][SSE] matchShuffleWithPACK - generalize zero/signbits matching for any packed src type

First step toward making use of canLowerByDroppingEvenElements to match chains of PACKSS/PACKUS for compaction shuffles.

At the moment we still only match a single stage but the MatchPACK is now more general.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 65e0079f21aeb5126bfaee18d3feedbb911c1da8 by diggerlin
[NFC] run clang format on the file llvm/include/llvm/MC/MCDirectives.h

SUMMARY:

run clang format on the file llvm/include/llvm/MC/MCDirectives.h

Reviewers: Jason liu
Subscribers: rupprecht, seiyai,hiraditya

Differential Revision: https://reviews.llvm.org/D77170
The file was modifiedllvm/include/llvm/MC/MCDirectives.h
Commit 3a78f44daf37bd16ae69eea06a1b45428e33f16f by gchatelet
[Alignment][NFC] Convert SelectionDAG::InferPtrAlignment to MaybeAlign

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77212
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit b605c56b0fac74584156f058da19496b6d7cae8f by benny.kra
[ARM] Silence warning in Release builds

llvm/lib/Target/ARM/MVEVPTBlockPass.cpp:175:37: error: unused variable 'BlockBeg' [-Werror,-Wunused-variable]
  MachineBasicBlock::instr_iterator BlockBeg = Iter;
                                    ^
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
Commit 552e46ea1efd94669b16d2b31439525bf7d7cc80 by llvm-dev
Fix unused variable warnings. NFCI.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit be7a233e93767a12cc8aa6be94488c3ec8324529 by llvm-dev
Fix operator precedence warning. NFCI.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 501522b5b2a1b2620370c2885da7caa7ed3b5c73 by kai.wang
[RISCV] Support RISC-V ELF attributes sections in llvm-readobj.

Enable llvm-readobj to handle RISC-V ELF attribute sections.

Differential Revision: https://reviews.llvm.org/D75833
The file was addedllvm/test/tools/llvm-readobj/ELF/RISCV/invalid-attr-version.test
The file was modifiedllvm/unittests/Support/ELFAttributeParserTest.cpp
The file was addedllvm/test/tools/llvm-readobj/ELF/RISCV/invalid-attr-section-size.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/lib/Support/ELFAttributeParser.cpp
The file was addedllvm/test/MC/RISCV/attribute-with-option.s
The file was addedllvm/test/tools/llvm-readobj/ELF/RISCV/attribute.s
The file was addedllvm/test/tools/llvm-readobj/ELF/RISCV/section-types.test
The file was addedllvm/test/tools/llvm-readobj/ELF/RISCV/validate-attr-section.test
The file was addedllvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg
Commit 1dffa2550b535c17998b0f9362a0997b3950b970 by gchatelet
[Alignment][NFC] Transition to MachineFrameInfo::getObjectAlign()

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, jrtc27, atanasyan, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77215
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/CodeGen/StackSlotColoring.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitTracker.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/CodeGen/LocalStackSlotAllocation.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/CodeGen/RegisterScavenging.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedllvm/lib/CodeGen/StackColoring.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MipsRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Commit fee0026fc7eb077d7808915fd30693883db2fd1d by Louis Dionne
[libc++abi] Fix remote execution of .sh.cpp tests

This aims to fix test failures on the following buildbots:

- http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l
- http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64

Differential Revision: https://reviews.llvm.org/D77190
The file was modifiedlibcxx/utils/ssh.py
The file was modifiedlibcxx/utils/libcxx/test/format.py
The file was modifiedlibcxxabi/test/incomplete_type.sh.cpp
The file was modifiedlibcxx/utils/libcxx/compiler.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit eb8880562e693dd1e5a0bd332687ff6e20b272d4 by llvm-dev
[X86][SSE] combinePTESTCC - fold TESTZ(X,~Y) -> TESTC(Y,X)
The file was modifiedllvm/test/CodeGen/X86/combine-ptest.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-testps.ll
The file was modifiedllvm/test/CodeGen/X86/combine-testpd.ll
Commit fc63c4d8ce68deca5036fda0df4a7695c16dab03 by gchatelet
[Alignment][NFC] Remove remaining uses of MachineFrameInfo::setObjectAlignment

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77217
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit c6c045cb7ae34e1da338479e4e25a679216ab585 by gchatelet
[Alignment][NFC] Mark IRTranslator::getMemOpAlignment deprecated

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77218
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
Commit 51d594d33c25dcea52d1b21c6695a2dc561ef74e by rosica
Replace output file name in test with %t
The file was modifiedlld/test/wasm/lto/incompatible.ll
Commit a67cd71acdb0cd636097a74ec80e2f23ef301ada by tpopp
[MLIR] Implement LoopLikeInterface for loop.parallel

Summary:
This is to allow optimizations like loop invariant code motion to work
on the ParallelOp.

Additional small cleanup on the ForOp implementation of
LoopLikeInterface and the test file of loop-invariant-code-motion.

Differential Revision: https://reviews.llvm.org/D77128
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
The file was modifiedmlir/test/Transforms/loop-invariant-code-motion.mlir
The file was modifiedmlir/include/mlir/Dialect/LoopOps/LoopOps.td
Commit e3033c0ce5517efddbf92a079ad1e0ca4868591f by puyan
[llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists.

Prior to this change the clang interface stubs format resembled
something ending with a symbol list like this:

Symbols:
   a: { Type: Func }

This was problematic because we didn't actually want a map format and
also because we didn't like that an empty symbol list required
"Symbols: {}". That is to say without the empty {} llvm-ifs would crash
on an empty list.

With this new format it is much more clear which field is the symbol
name, and instead the [] that is used to express an empty symbol vector
is optional, ie:

Symbols:
- { Name: a, Type: Func }

or

Symbols: []

or

Symbols:

This further diverges the format from existing llvm-elftapi. This is a
good thing because although the format originally came from the same
place, they are not the same in any way.

Differential Revision: https://reviews.llvm.org/D76979
The file was modifiedclang/test/InterfaceStubs/template-template-parm-decl.cpp
The file was modifiedclang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was modifiedllvm/test/tools/llvm-ifs/conflict-weak.ifs
The file was modifiedclang/test/InterfaceStubs/inline.c
The file was modifiedllvm/test/tools/llvm-ifs/strong.ifs
The file was modifiedclang/test/InterfaceStubs/object.c
The file was modifiedclang/test/InterfaceStubs/var-template-specialization-decl.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test3.c
The file was modifiedllvm/test/tools/llvm-ifs/Inputs/strong-mismatch-size.ifs
The file was modifiedllvm/test/tools/llvm-ifs/object-function-size-weak-combo.ifs
The file was modifiedclang/test/InterfaceStubs/object.ifs
The file was modifiedclang/test/InterfaceStubs/indirect-field-decl.cpp
The file was modifiedclang/include/clang/Frontend/FrontendActions.h
The file was modifiedllvm/test/tools/llvm-ifs/default-empty.ifs
The file was addedclang/test/InterfaceStubs/empty.c
The file was modifiedclang/test/InterfaceStubs/cxxdeduction-guide.cpp
The file was modifiedllvm/test/tools/llvm-ifs/conflict-size.ifs
The file was modifiedllvm/test/tools/llvm-ifs/watchos-tbd.ifs
The file was modifiedclang/test/InterfaceStubs/conflict-type.ifs
The file was modifiedclang/test/InterfaceStubs/non-type-template-parm-decl.cpp
The file was modifiedclang/test/InterfaceStubs/unresolved-using-typename.cpp
The file was modifiedllvm/test/tools/llvm-ifs/tvos-tbd.ifs
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was modifiedclang/test/InterfaceStubs/constructor-using-shadow.cpp
The file was modifiedclang/test/InterfaceStubs/blocks.c
The file was addedllvm/test/tools/llvm-ifs/empty2.ifs
The file was modifiedllvm/test/tools/llvm-ifs/object.ifs
The file was modifiedllvm/test/tools/llvm-ifs/version-ok.ifs
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedllvm/test/tools/llvm-ifs/empty1.ifs
The file was modifiedclang/test/InterfaceStubs/func.ifs
The file was modifiedclang/test/InterfaceStubs/hidden-class-inheritance.cpp
The file was modifiedllvm/test/tools/llvm-ifs/weak.ifs
The file was modifiedclang/test/InterfaceStubs/class-template-partial-specialization.cpp
The file was modifiedllvm/test/tools/llvm-ifs/ios-tbd.ifs
The file was modifiedclang/test/InterfaceStubs/ppc.cpp
The file was modifiedclang/test/InterfaceStubs/lambda.cpp
The file was modifiedclang/test/InterfaceStubs/trycatch.cpp
The file was modifiedllvm/test/tools/llvm-ifs/macos-tbd.ifs
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was modifiedllvm/test/tools/llvm-ifs/func.ifs
The file was modifiedllvm/test/tools/llvm-ifs/conflict-type.ifs
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was modifiedclang/test/InterfaceStubs/namespace-alias.cpp
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-version.ifs
The file was modifiedclang/test/InterfaceStubs/template-namespace-function.cpp
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-format.ifs
The file was modifiedclang/test/InterfaceStubs/bad-format.cpp
The file was modifiedclang/test/InterfaceStubs/cxx-conversion.cpp
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-triple.ifs
The file was modifiedclang/include/clang/Frontend/FrontendOptions.h
The file was modifiedclang/test/InterfaceStubs/template-constexpr.cpp
The file was modifiedllvm/test/tools/llvm-ifs/Inputs/strong-mismatch-type.ifs
The file was modifiedclang/test/InterfaceStubs/namespace.cpp
The file was modifiedllvm/test/tools/llvm-ifs/weak-mismatch.ifs
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/InterfaceStubs/usings.cpp
The file was modifiedclang/test/InterfaceStubs/weak.cpp
Commit 616289ed29225c0ddfe5699c7fdf42a0fcbe0ab4 by jrtc27
[LegalizeTypes][RISCV] Correctly sign-extend comparison for ATOMIC_CMP_XCHG

Summary:
Currently, the comparison argument used for ATOMIC_CMP_XCHG is legalised
with GetPromotedInteger, which leaves the upper bits of the value
undefind. Since this is used for comparing in an LR/SC loop with a
full-width comparison, we must sign extend it. We introduce a new
getExtendForAtomicCmpSwapArg to complement getExtendForAtomicOps, since
many targets have compare-and-swap instructions (or pseudos) that
correctly handle an any-extend input, and the existing function
determines the extension of the result, whereas we are concerned with
the input.

This is related to https://reviews.llvm.org/D58829, which solved the
issue for ATOMIC_CMP_SWAP_WITH_SUCCESS, but not the simpler
ATOMIC_CMP_SWAP.

Reviewers: asb, lenary, efriedma

Reviewed By: asb

Subscribers: arichardson, hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, jfb, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, evandro, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74453
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
Commit 64acef386ec662c5faea8d7c86b6d53ad7bfd9ae by Louis Dionne
[libc++] Handle SSH errors more gracefully and make sure we clean up the tmp directory
The file was modifiedlibcxx/utils/ssh.py
Commit c6a65bb93f218dbdec98f51952a309afda5608ea by sylvestre
clagn-tidy/doc: Add a link to readability-static-accessed-through-instance from readability-convert-member-functions-to-static
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-convert-member-functions-to-static.rst
Commit f527e6f2e11dcda8e71c21138fa15e3a3b9e9917 by grimar
[llvm-readobj] - Do not crash when SHT_HASH table is broken.

We have scenarios when the logic of --elf-hash-histogram/--hash-symbols/--hash-table
options might crash when given a broken hash table.

This patch adds pre-checks for tables for these 3 options
and provides test cases.

Differential revision: https://reviews.llvm.org/D77147
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-histogram.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-table.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-symbols.test
Commit f2036a15d3714fc9cfc8935634814d1c4e4263fa by maskray
[ELF] Print symbols with non-default versions for better "undefined symbol" diagnostics

When reporting an "undefined symbol" diagnostic:

* We don't print @ for the reference.
* We don't print @ or @@ for the definition. https://bugs.llvm.org/show_bug.cgi?id=45318

This can lead to confusing diagnostics:

```
// foo may be foo@v2
ld.lld: error: undefined symbol: foo
>>> referenced by t1.o:(.text+0x1)
// foo may be foo@v1 or foo@@v1
>>> did you mean: foo
>>> defined in: t.so
```

There are 2 ways a symbol in symtab may get truncated:

* A @@ definition may be truncated *early* by SymbolTable::insert().
  The name ends with a '\0'.
* A @ definition/reference may be truncated *later* by Symbol::parseSymbolVersion().
  The name ends with a '@'.

This patch detects the second case and improves the diagnostics. The first case is
not improved but the second case is sufficient to make diagnostics not confusing.

Reviewed By: ruiu

Differential Revision: https://reviews.llvm.org/D76999
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/ELF/Symbols.cpp
The file was addedlld/test/ELF/undef-suggest-version.s
Commit c87b5e7e22b2df92021ac5fcc69160901a5841a9 by aheejin
[WebAssembly] Fix subregion relationship in CFGSort

Summary:
The previous code for determining the innermost region in CFGSort was
not correct. We determine subregion relationship by domination of their
headers, i.e., if region A's header dominates region B's header, B is a
subregion of A. Previously we assumed that if a BB belongs to both a
loop and an exception, the region with fewer number of BBs is the
innermost one. This may not be true, because while WebAssemblyException
contains BBs in all its subregions (loops or exceptions), MachineLoop
may not, because MachineLoop does not contain BBs that don't have a path
to its header even if they are dominated by its header.

                Loop header  <---|
                    |            |
              Exception header   |
                    | \          |
                    A  B         |
                    |   \        |
                    |    C       |
                    |            |
                Loop latch       |
                    |            |
                    -------------|

For example, in this CFG, the loop does not contain B and C, because
they don't have a path back to the loops header. But for CFGSort we
consider the exception here belongs to the loop and the exception should
be a subregion of the loop and scheduled together.

So here we should use `WE->contains(ML->getHeader())` (but not
`ML->contains(WE->getHeader())`, for the stated region above).

This also fixes some comments and deletes `Regions` vector in
`RegionInfo` class, which was not used anywere.

Reviewers: dschuff

Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77181
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
Commit 3500cc8d891bb3825bb3275affe6db8b12f2f695 by Artem Dergachev
[analyzer] RetainCountChecker: Add a suppression for OSSymbols.

OSSymbol objects are particular XNU OSObjects that aren't really
reference-counted. Therefore you cannot do any harm by over- or
under-releasing them.
The file was modifiedclang/lib/Analysis/RetainSummaryManager.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
Commit bb4a36ea280283cb980cff07a81601d1ff3b81ba by maskray
[ELF] Propagate LMA offset to sections with neither AT() nor AT>

Fixes https://bugs.llvm.org/show_bug.cgi?id=45313
Also fixes linkerscript/{at4.s,overlay.test} LMA address issues exposed by
011b785505b1f6d315a93fd0a0409576ad8d1805.
Related: D74297

This patch improves emulation of GNU ld's heuristics on the difference
between the LMA and the VMA:
https://sourceware.org/binutils/docs/ld/Output-Section-LMA.html#Output-Section-LMA

New test linkerscript/lma-offset.s (based on at4.s) demonstrates some behaviors.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D76995
The file was addedlld/test/ELF/linkerscript/lma-offset.s
The file was modifiedlld/test/ELF/linkerscript/map-file2.test
The file was modifiedlld/docs/ELF/linker_script.rst
The file was removedlld/test/ELF/linkerscript/at4.s
The file was modifiedlld/test/ELF/linkerscript/loadaddr.s
The file was modifiedlld/test/ELF/linkerscript/overlay.test
The file was modifiedlld/ELF/LinkerScript.cpp
Commit 0489d39ead2b8ced20ba73ba4fda066d54deeb73 by Louis Dionne
[libc++] SSH: Properly handle test-executables that are not the first argument

If a ShTest has for example another command in front of the test
executable it wants to execute, ssh.py needs to properly translate
the path of that test executable to the executable on the remote host.
For example, running '%{exec} ! %t.exe', we can't assume that the
test-executable is the first argument after '%{exec}'.
The file was modifiedlibcxx/utils/ssh.py
Commit 153dadf3a3ca3c47f8c0fb718ec96616a05e42fd by aschwaighofer
[clang] CodeGen: Make getOrEmitProtocol public for Swift

Summary:
Swift would like to use clang's apis to emit protocol declarations.

This commits adds the public API:

```
emitObjCProtocolObject(CodeGenModule &CGM, const ObjCProtocolDecl *p);
```

rdar://60888524

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77077
The file was modifiedclang/include/clang/CodeGen/CodeGenABITypes.h
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
The file was modifiedclang/lib/CodeGen/CGObjCRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGObjCGNU.cpp
The file was modifiedclang/lib/CodeGen/CGObjCRuntime.h
Commit 7c5fcb3591b57b77c079700d7b12c2ecfd995818 by ishizaki
[lld] NFC: fix trivial typos in comments

Differential Revision: https://reviews.llvm.org/D72339
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/arm-exidx-add-missing.s
The file was modifiedlld/ELF/CallGraphSort.cpp
The file was modifiedlld/test/mach-o/parse-literals-error.yaml
The file was modifiedlld/test/ELF/Inputs/undef-bad-debug.s
The file was modifiedlld/test/ELF/invalid/broken-relaxation-x64.test
The file was modifiedlld/test/ELF/ppc64-local-dynamic.s
The file was modifiedlld/test/ELF/executable-undefined-ignoreall.s
The file was modifiedlld/test/wasm/undefined-entry.test
The file was modifiedlld/lib/ReaderWriter/MachO/GOTPass.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
The file was modifiedlld/wasm/Symbols.h
The file was modifiedlld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
The file was modifiedlld/ELF/SyntheticSections.h
The file was modifiedlld/test/ELF/linkerscript/subalign.s
The file was modifiedlld/ELF/Arch/PPC64.cpp
The file was modifiedlld/test/ELF/allow-multiple-definition.s
The file was modifiedlld/test/ELF/warn-backrefs.s
The file was modifiedlld/test/wasm/entry-signature.ll
The file was modifiedlld/lib/ReaderWriter/MachO/TLVPass.cpp
The file was modifiedlld/test/wasm/signature-mismatch-unknown.ll
The file was modifiedlld/test/wasm/lto/signature-mismatch.ll
The file was modifiedlld/test/ELF/icf-absolute2.s
The file was modifiedlld/test/wasm/lto/undef.ll
The file was modifiedlld/wasm/Symbols.cpp
The file was modifiedlld/test/ELF/pack-dyn-relocs.s
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedlld/test/mach-o/error-simulator-vs-macosx.yaml
The file was modifiedlld/test/wasm/export-optional-lazy.ll
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/ELF/ScriptLexer.cpp
The file was modifiedlld/include/lld/Core/Reference.h
The file was modifiedlld/test/ELF/mips-sto-pic-flag.s
The file was modifiedlld/test/ELF/ppc64-split-stack-prologue-adjust-success.s
The file was modifiedlld/test/ELF/lto/common4.ll
The file was modifiedlld/test/ELF/linkerscript/align1.test
The file was modifiedlld/test/COFF/secidx-absolute.s
The file was modifiedlld/test/wasm/visibility-hidden.ll
Commit 160b01c9ef6768d4a135bdf27c46ceadb0bc5070 by Louis Dionne
[libc++] SSH: Use -p when scp'ing to preserve modes and modification times
The file was modifiedlibcxx/utils/ssh.py
Commit 9b31e595d717f70f1a5d95542bb71e6f053439f0 by ravishankarm
[mlir] Modify GPU to SPIR-V conversion to respect
spv.interface_var_abi attributes if it exists already.

Differential Revision: https://reviews.llvm.org/D77195
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
Commit 6593360ee760c0c98cf7fb05be70aa4ea455a42a by arsenm2
AMDGPU: Fix consistently backwards logic for default denormal mode

I forgot to squash this into c9d65a48af1d7bbfed7e785613cc9d9acf71821b
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
Commit 4ea3650c212ae471657d3a253cd424ce9d1316ac by arsenm2
HIP: Link correct denormal mode library

This wasn't respecting the flush mode based on the default, and also
wasn't correctly handling the explicit
-fno-cuda-flush-denormals-to-zero overriding the mode.
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
Commit 95fac2e46b73c67495dbdb43ef178d33281c05ec by tlively
[WebAssembly] Rename SIMD min/max/avgr intrinsics for consistency

Summary:
The convention for the wasm_simd128.h intrinsics is to have the
integer sign in the lane interpretation rather than as a suffix. This
PR changes the names of the integer min, max, and avgr intrinsics to
match this convention.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77185
The file was modifiedclang/lib/Headers/wasm_simd128.h
Commit f08df464ae89972a777c0a7e299a2c153a9829d8 by a.bataev
[OPENMP50]Add initial support for OpenMP 5.0 iterator.

Added basic parsing/semantic analysis/(de)serialization support for
iterator expression introduced in OpenMP 5.0.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/include/clang/AST/ComputeDependence.h
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/include/clang/AST/BuiltinTypes.def
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/test/OpenMP/task_depend_messages.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/ExprOpenMP.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/AST/ComputeDependence.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/test/OpenMP/task_ast_print.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/AST/TextNodeDumper.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/OpenMP/depobj_messages.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/AST/NSAPI.cpp
The file was modifiedclang/lib/AST/TypeLoc.cpp
Commit 5e4e8d038820ab28050c8f242830cb00d5dc2f1a by arsenm2
AMDGPU/GlobalISel: Change intrinsic ID for _L to _LZ opt

Still should handle the other case changes the opcode this way.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.a16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MIMGInstructions.td
Commit 68e283940a31378e0e61f6f7bbbdfbb3af74794a by arsenm2
AMDGPU/GlobalISel: Switch test to checking final ISA

The naming convention is for unprefixed .ll tests to check the final
ISA instructions.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.ll
Commit 3a7865df626c061fa72cb731f0af763254ed3beb by Vedant Kumar
[llvm-locstats] Fix labels on x-axis of comparison chart

Summary:
This change makes the labels on the x-axis of a comparison chart look
like: "0%", "(0%, 10%)", "[10%, 20%)", and so on.

Previously, each label was the same (a concatenation of all the possible
coverage buckets).

Reviewers: djtodoro

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77155
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
Commit 68316afb29ca5bda0538bc69f96eebdff3954b48 by uday
[MLIR][NFC] loop transforms/analyis utils cleanup / modernize

Modernize/cleanup code in loop transforms utils - a lot of this code was
written prior to the currently available IR support / code style. This
patch also does some variable renames including inst -> op, comment
updates, turns getCleanupLoopLowerBound into a local function.

Differential Revision: https://reviews.llvm.org/D77175
The file was modifiedmlir/lib/Analysis/LoopAnalysis.cpp
The file was modifiedmlir/include/mlir/Analysis/LoopAnalysis.h
The file was modifiedmlir/lib/Transforms/PipelineDataTransfer.cpp
The file was modifiedmlir/include/mlir/Transforms/LoopUtils.h
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
Commit 572890f1d3933bb8756a3cabd5574201f8ce807c by uday
[MLIR][NFC] clean up affine data copy test case

Capture maps to test better; drop unnecessary matches

Differential Revision: https://reviews.llvm.org/D77196
The file was modifiedmlir/test/Dialect/Affine/affine-data-copy.mlir
Commit 0dd21130efcd33e063155bba9af67517d59305c6 by joker.eph
Add LLVM_ATTRIBUTE_UNUSED to function used only in assert (NFC)
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
Commit b8c260c38d0ae93f8ae037fc1e9b94695b06d7ec by joker.eph
Remove linking all targets from `mlir-opt` (NFC)

There is no need to directly depends on this from mlir-opt, some library
may transitively depend on a subset of the targets when enabled (like
NVPTX for Cuda codegen tests) but this is handled by CMake already.
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
Commit c4c20376f7ee78a8ed06415a61b65a7e32d94556 by ntv
[mlir][Linalg][Doc] Minor doc fixes
The file was modifiedmlir/docs/Dialects/Linalg.md
Commit 3f465d0d362849b64951bca6bbe1403403b408d8 by Matthew.Arsenault
AMDGPU: Fix broken check lines
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll
The file was modifiedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/vect-ptr-ptr-size-mismatch.ll
Commit 4b35c816ef7afd9e39da621174c1b03b2f325830 by nikita.ppv
[InstCombine] Use replaceOperand() in div transforms

To make sure the old operand is DCEd.

NFC apart from worklist order.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit d40368fdb5e1b90e68b1078f32c283aa800238be by nikita.ppv
[InstCombine] Erase old instruction when replacing extractelements

As we are not returning the result of replaceInstUsesWith(),
so we need to clean up ourselves.

NFC apart from worklist order.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit c4499e333337ef67f30d81eefd044816a8cf6f29 by uday
[Attributor] Make attributor aware of aligned_alloc for heap to stack conversion

Make the attributor pass aware of aligned_alloc for converting heap
allocations to stack ones.

Depends on D76971.

Differential Revision: https://reviews.llvm.org/D76974
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 4cf70af94fbe910e64fa1d36cdd5bf7e46785795 by uday
[GVN] Make GVN aware of aligned_alloc

Make the GVN pass aware of aligned_alloc.

Depends on D76974.

Differential Revision: https://reviews.llvm.org/D76975
The file was modifiedllvm/test/Transforms/GVN/malloc-load-removal.ll
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
Commit 6ee11c3b0f3605fa45dd7457b650b2d9d1c6ea74 by uday
[NewGVN] Make NewGVN aware of aligned_alloc

Make the New GVN pass aware of aligned_alloc.

Depends on D76975.

Differential Revision: https://reviews.llvm.org/D76976
The file was modifiedllvm/test/Transforms/NewGVN/malloc-load-removal.ll
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
Commit 2a77544ad5911a38f81c0300385033fced1cc66d by nikita.ppv
[SimplifyLibCalls] Erase replaced instructions

After RAUWing an instruction, also erase it. This makes sure we
don't perform extra InstCombine iterations to clean up the garbage.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit 50a3e8738a90cfd4915b24c33782cf6a87216b78 by nikita.ppv
Revert "[InstCombine] Erase old instruction when replacing extractelements"

This reverts commit d40368fdb5e1b90e68b1078f32c283aa800238be.

llvm-clang-x86_64-expensive-checks-debian failure looks related.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit 1148f004fa35f1b74942bb1f578763d9dd79aa4a by jroelofs
Fix PR45371: SeparateConstOffsetFromGEP clean up bookkeeping

find() was altering the UserChain, even in cases where it subsequently
discovered that the resulting constant was a 0. This confuses
rebuildWithoutConstOffset() when it attempts to walk the chain later, since it
is expected that the chain itself be a path down the use-def edges of an
expression.
The file was addedllvm/test/Transforms/SeparateConstOffsetFromGEP/pr45371-find-either-reset.ll
The file was modifiedllvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
Commit c028472fa1f0e20cc87cfa47d87fe0dd65fea830 by a.bataev
Revert "[OPENMP50]Add initial support for OpenMP 5.0 iterator."

This reverts commit f08df464ae89972a777c0a7e299a2c153a9829d8 to fix the
bug with serialization support for iterator expression.
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/AST/BuiltinTypes.def
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/AST/TextNodeDumper.h
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/include/clang/AST/ComputeDependence.h
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/AST/ComputeDependence.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
The file was modifiedclang/test/OpenMP/task_depend_messages.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/include/clang/AST/ExprOpenMP.h
The file was modifiedclang/test/OpenMP/depobj_messages.cpp
The file was modifiedclang/test/OpenMP/task_ast_print.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/AST/NSAPI.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
Commit 8431dbacd495e51f5bbb46d1af9042520098cd75 by spatel
[InstCombine] add tests for negate with xor operand; NFC
The file was modifiedllvm/test/Transforms/InstCombine/sub-of-negatible.ll
Commit 3d9004879118c734fd9a5e112fb2bf22cf647668 by spatel
[InstCombine] enhance freelyNegateValue() by handling xor

Negation is equivalent to bitwise-not + 1, so try to convert more
subtracts into adds using this relationship:
0 - (A ^ C) => ((A ^ C) ^ -1) + 1 => A ^ ~C + 1

I doubt this will recover the regression noted in rGf2fbdf76d8d0,
but seems like we're going to need to improve here and/or revive D68408?

Alive2 proofs:
http://volta.cs.utah.edu:8080/z/Re5tMU
http://volta.cs.utah.edu:8080/z/An-uns

Differential Revision: https://reviews.llvm.org/D77230
The file was modifiedllvm/test/Transforms/InstCombine/sub-of-negatible.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 123a5328f919bab8ea1344c05e9edc2c506c9d51 by alexbrachetmialot
[libc] Add sigfillset and sigdelset

Summary: Add's `sigfillset` and `sigdelset` which will be used in D76676.

Reviewers: sivachandra, PaulkaToast

Reviewed By: sivachandra

Subscribers: mgorny, MaskRay, tschuett, libc-commits

Differential Revision: https://reviews.llvm.org/D76936
The file was addedlibc/src/signal/linux/sigdelset.cpp
The file was addedlibc/test/src/signal/sigfillset_test.cpp
The file was addedlibc/src/signal/linux/sigfillset.cpp
The file was addedlibc/src/signal/sigfillset.h
The file was modifiedlibc/src/signal/linux/CMakeLists.txt
The file was addedlibc/src/signal/sigdelset.h
The file was modifiedlibc/src/signal/linux/signal.h
The file was modifiedlibc/test/src/signal/CMakeLists.txt
The file was addedlibc/test/src/signal/sigdelset_test.cpp
Commit 53e2380881076492b9124d726b6f38a7669c61cd by Lang Hames
[ORC] Add JITDylib name to debugging output when defining symbols.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
Commit 8e5a8f620cc2ac2805fce77eddea3405329f90df by Lang Hames
[ORC] Don't require a null-terminator on MemoryBuffers for objects in archives.

The MemoryBuffer::getMemBuffer method's RequiresNullTerminator parameter
defaults to true, but object files are not null terminated so we need to
explicitly pass false here.
The file was removedllvm/test/ExecutionEngine/OrcLazy/Inputs/basic-object-source.ll
The file was addedllvm/test/ExecutionEngine/OrcLazy/Inputs/bar-return-i32-call-foo.ll
The file was addedllvm/test/ExecutionEngine/OrcLazy/Inputs/foo-return-i32-0.ll
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/basic-object-file-loading.ll
The file was modifiedllvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/static-library-support.ll
Commit e65e677ee4eed83a31503b1a7db3fca56f617eae by daniel_l_sanders
[globalisel][legalizer] Fix DebugLoc bugs caught by a prototype lost-location verifier

The legalizer has a tendency to lose DebugLoc's when expanding or
combining instructions. The verifier that detected these isn't ready
for upstreaming yet but this patch fixes the cases that came up when
applying it to our out-of-tree backend's CodeGen tests.

This pattern comes up a few more times in this file and probably in
the backends too but I'd prefer to fix the others separately (and
preferably when the lost-location verifier detects them).
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 30350c254106ce25b16b13f05e713ceb2b15ce09 by waltermelon
[source maps] Ensure all valid source maps are added instead of failing with the first invalid one

Summary:
Several lldb-vscode users have noticed that when a source map rule is invalid (because a folder doesn't exist anymore), the rest of the source maps from their configurations are not applied.
This happens because lldb-vscode executes a single "settings set target.source-map" command with all the source maps and LLDB processes them one by one until one fails.

Instead of doing this, we can process in LLDB all the source map rules and apply the valid ones instead of failing fast.

Reviewers: clayborg, labath, kusmour, aadsm

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77186
The file was modifiedlldb/source/Interpreter/OptionValuePathMappings.cpp
The file was modifiedlldb/test/API/functionalities/source-map/TestTargetSourceMap.py
Commit f1242ec54306c5fbdc9a907e936be899a0ad21ee by walter erquinigo
[intel-pt] Implement a basic test case

Summary:
Depends on D76872.

There was no test for the Intel PT support on LLDB, so I'm creating one, which
will help making progress on solid grounds.

The test is skipped if the Intel PT plugin library is not built.

Reviewers: clayborg, labath, kusmour, aadsm

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77107
The file was addedlldb/test/API/tools/intel-features/intel-pt/test/Makefile
The file was modifiedlldb/tools/intel-features/intel-pt/cli-wrapper-pt.cpp
The file was addedlldb/test/API/tools/intel-features/intel-pt/test/main.cpp
The file was addedlldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py
Commit db92719c1d17f5052e7cd1309b0e1e92240f47be by dblaikie
DebugInfo: Defaulted non-type template parameters of bool type

Caused an assertion due to mismatched bit widths - this seems like the
right API to use for a possibly width-varying equality test. Though
certainly open to some post-commit review feedback if there's a more
suitable way to do this comparison/test.
The file was modifiedclang/test/CodeGenCXX/debug-info-template-parameter.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 6e916b5860950fee2661ded847abe551f5259ec4 by aaron
Updating the documentation for the noescape attribute.

A question came up from a glibc maintainer as to whether it was permissible to
free a pointer marked [[clang::noescape]], and after investigation, I
determined that this is allowed. This updates the documentation in case others
have the same question.
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 8ba8a4a14d417abd4a104c0f8b5ec289ed0a1b16 by walter erquinigo
Revert "[intel-pt] Implement a basic test case"

This reverts commit f1242ec54306c5fbdc9a907e936be899a0ad21ee.
The file was removedlldb/test/API/tools/intel-features/intel-pt/test/main.cpp
The file was modifiedlldb/tools/intel-features/intel-pt/cli-wrapper-pt.cpp
The file was removedlldb/test/API/tools/intel-features/intel-pt/test/Makefile
The file was removedlldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py
Commit 92e563bc05d425c4667c44ce363f5db39cc3a25b by Louis Dionne
[libc++] SSH: Create a tarball of dependencies and scp that instead

The benefit of doing this is that we can now handle directories that
contain symlinks and other arbitrary things, such as the static_test_env
required by filesystem tests.

As a fly-by fix, we also accumulate several commands to perform over SSH
and execute them at once instead of SSHing several times. This should be
faster on average.
The file was modifiedlibcxx/utils/ssh.py
Commit c911cc6c49394909a335c8d7baffcfd8bdcc424b by walter erquinigo
[intel-pt] Implement a basic test case

Summary:
Depends on D76872.

There was no test for the Intel PT support on LLDB, so I'm creating one, which
will help making progress on solid grounds.

The test is skipped if the Intel PT plugin library is not built.

Reviewers: clayborg, labath, kusmour, aadsm

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77107
The file was addedlldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py
The file was modifiedlldb/tools/intel-features/intel-pt/cli-wrapper-pt.cpp
The file was addedlldb/test/API/tools/intel-features/intel-pt/test/Makefile
The file was addedlldb/test/API/tools/intel-features/intel-pt/test/main.cpp
Commit 064c634ef3d44e7b50db86ec0d1f64e718b6dfe4 by walter erquinigo
Revert "[intel-pt] Implement a basic test case"

This reverts commit c911cc6c49394909a335c8d7baffcfd8bdcc424b.
The file was modifiedlldb/tools/intel-features/intel-pt/cli-wrapper-pt.cpp
The file was removedlldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py
The file was removedlldb/test/API/tools/intel-features/intel-pt/test/Makefile
The file was removedlldb/test/API/tools/intel-features/intel-pt/test/main.cpp
Commit 8bf1583b71d7ecd857ddb8286e3ae59a2418747d by riddleriver
[mlir] Move LLVMPassIncGen to LLVMIR/Transforms/CMakeLists.txt

This fixes a build error with the make generator for a missing
sub-directory.
The file was addedmlir/include/mlir/Dialect/LLVMIR/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt