SuccessChanges

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

Summary

  1. Revert "Revert "[MIR] Target specific MIR formating and parsing"" (details)
  2. [DAGCombine] Fold the (fma -x, y, -z) to -(fma x, y, z) (details)
  3. [lldb/SWIG] Refactor extensions to be non Python-specific (3/3) (details)
  4. [SCEV] [NFC] add testcase for constant range for addrecexpr with nsw (details)
  5. [APFloat] Fix checked error assert failures (details)
  6. [mlir][VectorOps] Implement strided_slice conversion (details)
  7. [mlir][VectorOps] Implement insert_strided_slice conversion (details)
  8. [ARM][LowOverheadLoops] Update liveness info (details)
  9. [mlir][GPU] introduce utilities for promotion to workgroup memory (details)
  10. [LV] Still vectorise when tail-folding can't find a primary inducation (details)
  11. [DWARFDebugLoc] Tweak error message when resolving offset pairs with no (details)
  12. Revert "[ARM][LowOverheadLoops] Update liveness info" (details)
  13. [Matrix] Implement back-propagation of shape information. (details)
  14. [LoopUtils][NFC] Minor refactoring in getLoopEstimatedTripCount. (details)
  15. [VE] Target stub for NEC SX-Aurora (details)
  16. [Matrix] Propagate and use shape information for loads. (details)
  17. [clangd] Refurbish HoverInfo::present (details)
  18. [Matrix] Update shape propagation to iterate until done. (details)
  19. [lldb] Fix that TestNoSuchArch.py was passing for the wrong reason (details)
  20. Fix MSVC unhandled enum warning. NFCI. (details)
  21. [clang-tidy] For checker `readability-misleading-indentation` update (details)
  22. [ARM][MVE] Don't unroll intrinsic loops. (details)
  23. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  24. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  25. [lldb/DWARF] Add is_dwo member to DWARFUnit (details)
  26. [lldb/DWARF] Fix mixed v4+v5 location lists (details)
  27. Fix "pointer is null" static analyzer warning. NFCI. (details)
  28. Fix "pointer is null" static analyzer warning. NFCI. (details)
  29. [NFC][ARM] LowOverheadLoop comments (details)
  30. [Concepts] Function trailing requires clauses (details)
  31. [mlir] fix test failure in EDSC/builder-api-test (details)
  32. [lldb] Modernize OptionValue::SetValueChangedCallback (details)
  33. [InstCombine] Use minimal FMF in testcase for Z / (1.0 / Y) => (Y * Z); (details)
  34. [ARM][MVE] MVE-I should not be disabled by -mfpu=none (details)
  35. [InstSimplify] select Cond, true, false --> Cond (details)
Commit de3d0ee023cb14c06d5be01369ef8db4cbfa16b4 by daniel_l_sanders
Revert "Revert "[MIR] Target specific MIR formating and parsing""
There was an unguarded dereference of MF in a function that permitted
nullptr. Fixed
This reverts commit 71d64f72f934631aa2f12b9542c23f74f256f494.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.raw.buffer.load.ll
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MIRParser/MIParser.h
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
The file was modifiedllvm/include/llvm/CodeGen/PseudoSourceValue.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was addedllvm/include/llvm/CodeGen/MIRFormatter.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.struct.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
The file was modifiedllvm/unittests/CodeGen/MachineOperandTest.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modifiedllvm/lib/Target/TargetMachine.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.image.load.1d.ll
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.image.sample.1d.ll
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.h
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.struct.buffer.store.ll
The file was modifiedllvm/include/llvm/CodeGen/MachineOperand.h
Commit d48ac7d54d8a096677c84cfb2928400e05b918ea by qshanz
[DAGCombine] Fold the (fma -x, y, -z) to -(fma x, y, z)
This is a positive combination as long as the NEG is NOT free, as we are
reducing the number of NEG from two to one.
Differential Revision: https://reviews.llvm.org/D72312
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fma-combine.ll
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
The file was modifiedllvm/test/CodeGen/PowerPC/combine-fneg.ll
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
The file was modifiedllvm/test/CodeGen/PowerPC/repeated-fp-divisors.ll
Commit 51bdd98b8a52d07004bcaddff26caf376a1c32bf by Jonas Devlieghere
[lldb/SWIG] Refactor extensions to be non Python-specific (3/3)
The current SWIG extensions for the string conversion operator is Python
specific because it uses the PythonObjects. This means that the code
cannot be reused for other SWIG supported languages such as Lua.
This reimplements the extensions in a more generic way that can be
reused. It uses a SWIG macro to reduce code duplication.
Differential revision: https://reviews.llvm.org/D72377
The file was modifiedlldb/scripts/interface/SBType.i
The file was modifiedlldb/scripts/Python/python-extensions.swig
The file was modifiedlldb/scripts/interface/SBValue.i
The file was modifiedlldb/scripts/interface/SBSymbolContext.i
The file was modifiedlldb/scripts/interface/SBValueList.i
The file was modifiedlldb/scripts/interface/SBTypeSynthetic.i
The file was modifiedlldb/scripts/interface/SBSection.i
The file was modifiedlldb/scripts/interface/SBProcess.i
The file was modifiedlldb/scripts/interface/SBThread.i
The file was modifiedlldb/scripts/interface/SBTypeCategory.i
The file was modifiedlldb/scripts/interface/SBTypeFormat.i
The file was modifiedlldb/scripts/interface/SBWatchpoint.i
The file was modifiedlldb/scripts/interface/SBSymbol.i
The file was modifiedlldb/scripts/interface/SBSymbolContextList.i
The file was modifiedlldb/scripts/interface/SBTypeNameSpecifier.i
The file was modifiedlldb/scripts/interface/SBTypeFilter.i
The file was modifiedlldb/scripts/interface/SBTypeSummary.i
The file was modifiedlldb/scripts/interface/SBTypeEnumMember.i
Commit 4ebb589629b0d3de0827cab179338836ebb3a8b6 by czhengsz
[SCEV] [NFC] add testcase for constant range for addrecexpr with nsw
flag
The file was modifiedllvm/test/Analysis/ScalarEvolution/range_nw_flag.ll
Commit 24b326cc610dfdccdd50bc78505ec228d96c8e7a by ehudkatz
[APFloat] Fix checked error assert failures
`APFLoat::convertFromString` returns `Expected` result, which must be
"checked" if the LLVM_ENABLE_ABI_BREAKING_CHECKS preprocessor flag is
set. To mark an `Expected` result as "checked" we must consume the
`Error` within. In many cases, we are only interested in knowing if an
error occured, without the need to examine the error info. This is
achieved, easily, with the `errorToBool()` API.
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
The file was modifiedllvm/include/llvm/ADT/StringRef.h
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
The file was modifiedllvm/lib/Support/StringRef.cpp
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
Commit 65678d938431c90408afa8d255cbed3d8ed8273f by ntv
[mlir][VectorOps] Implement strided_slice conversion
Summary: This diff implements the progressive lowering of strided_slice
to either:
1. extractelement + insertelement for the 1-D case
2. extract + optional strided_slice + insert for the n-D case.
This combines properly with the other conversion patterns to lower all
the way to LLVM.
Appropriate tests are added.
Reviewers: ftynse, rriddle, AlexEichenberger, andydavis1, tetuante
Reviewed By: andydavis1
Subscribers: merge_guards_bot, mehdi_amini, jpienaar, burmako, shauheen,
antiagainst, arpith-jacob, mgester, lucyrfox, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72310
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/include/mlir/IR/Attributes.h
Commit 2d515e49d89c0738ccef8f1733d5f9afe00ee979 by ntv
[mlir][VectorOps] Implement insert_strided_slice conversion
Summary: This diff implements the progressive lowering of
insert_strided_slice. Two cases appear: 1. when the source and dest
vectors have different ranks, extract the dest subvector at the proper
offset and reduce to case 2. 2. when they have the same rank N:
a. if the source and dest type are the same, the insertion is trivial:
    just forward the source
b. otherwise, iterate over all N-1 D subvectors and create an
    extract/insert_strided_slice/insert replacement, reducing the
problem
    to vecotrs of the same N-1 rank.
This combines properly with the other conversion patterns to lower all
the way to LLVM.
Reviewers: ftynse, rriddle, AlexEichenberger, andydavis1, tetuante,
nicolasvasilache
Reviewed By: andydavis1
Subscribers: merge_guards_bot, mehdi_amini, jpienaar, burmako, shauheen,
antiagainst, arpith-jacob, mgester, lucyrfox, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72317
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Commit e93e0d413f3afa1df5c5f88df546bebcd1183155 by sam.parker
[ARM][LowOverheadLoops] Update liveness info
After expanding the pseudo instructions, update the liveness info. We do
this in a post-order traversal of the loop, including its exit blocks
and preheader(s).
Differential Revision: https://reviews.llvm.org/D72131
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/while.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-guards.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-lr-terminator.mir
The file was modifiedllvm/lib/CodeGen/LivePhysRegs.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wlstp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/disjoint-vcmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt-2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-start-after-def.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-use.mir
Commit 08778d8c4fd8a6519c7f27bfa6b09c47262cb844 by zinenko
[mlir][GPU] introduce utilities for promotion to workgroup memory
Introduce a set of function that promote a memref argument of a
`gpu.func` to workgroup memory using memory attribution. The promotion
boils down to additional loops performing the copy from the original
argument to the attributed memory in the beginning of the function, and
back at the end of the function using all available threads. The loop
bounds are specified so as to adapt to any size of the workgroup. These
utilities are intended to compose with other existing utilities (loop
coalescing and tiling) in cases where the distribution of work across
threads is uneven, e.g. copying a 2D memref with only the threads along
the "x" dimension. Similarly, specialization of the kernel to specific
launch sizes should be implemented as a separate pass combining constant
propagation and canonicalization.
Introduce a simple attribute-driven pass to test the promotion
transformation since we don't have a heuristic at the moment.
Differential revision: https://reviews.llvm.org/D71904
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/lib/Dialect/GPU/CMakeLists.txt
The file was addedmlir/lib/Dialect/GPU/Transforms/MemoryPromotion.cpp
The file was modifiedmlir/lib/IR/Block.cpp
The file was addedmlir/include/mlir/Dialect/GPU/MemoryPromotion.h
The file was addedmlir/test/Dialect/GPU/promotion.mlir
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUDialect.h
The file was modifiedmlir/include/mlir/IR/Block.h
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was addedmlir/test/lib/Transforms/TestGpuMemoryPromotion.cpp
Commit 8f1887456ab4ba24a62ccb19d0d04b08972a0289 by sjoerd.meijer
[LV] Still vectorise when tail-folding can't find a primary inducation
variable
This addresses a vectorisation regression for tail-folded loops that are
counting down, e.g. loops as simple as this:
  void foo(char *A, char *B, char *C, uint32_t N) {
   while (N > 0) {
     *C++ = *A++ + *B++;
      N--;
   }
}
These are loops that can be vectorised, but when tail-folding is
requested, it can't find a primary induction variable which we do need
for predicating the loop. As a result, the loop isn't vectorised at all,
which it is able to do when tail-folding is not attempted. So, this adds
a check for the primary induction variable where we decide how to lower
the scalar epilogue. I.e., when there isn't a primary induction
variable, a scalar epilogue loop is allowed
(i.e. don't request tail-folding) so that vectorisation could still be
triggered.
Having this check for the primary induction variable make sense anyway,
and in addition, in a follow-up of this I will look into discovering
earlier the primary induction variable for counting down loops, so that
this can also be tail-folded.
Differential revision: https://reviews.llvm.org/D72324
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was addedllvm/test/Transforms/LoopVectorize/ARM/tail-folding-counting-down.ll
The file was addedllvm/test/Transforms/LoopVectorize/tail-folding-counting-down.ll
Commit 0541a9d4e7f85c1f08f27fe0c0cae293bbb3903a by pavel
[DWARFDebugLoc] Tweak error message when resolving offset pairs with no
base address
The previous message mentioned DW_LLE_offset_pair, but this is
incorrect/confusing because we can get this message even with DWARF4
(which does not use DW_LLE encodings). This happens because DWARF<=4
location entries are "upgraded" to DWARF v5 during parsing.
The new error message refrains from referencing specific constants.
Fixes pr44482.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit 1cba2612399eaf5ad67f173ab69db0b1b0328fcb by sam.parker
Revert "[ARM][LowOverheadLoops] Update liveness info"
This reverts commit e93e0d413f3afa1df5c5f88df546bebcd1183155.
There's some ordering problems on some on the buildbots which needs
investigating.
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-start-after-def.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-guards.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-use.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/while.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/disjoint-vcmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt-2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wlstp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-lr-terminator.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
The file was modifiedllvm/lib/CodeGen/LivePhysRegs.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
Commit 459ad8e97e07c823181cd457f2c2ac08f3896e37 by flo
[Matrix] Implement back-propagation of shape information.
This patch extends the shape propagation for matrix operations to also
propagate the shape of instructions to their operands.
Reviewers: anemet, Gerolf, reames, hfinkel, andrew.w.kaylor
Reviewed By: anemet
Differential Revision: https://reviews.llvm.org/D70899
The file was addedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-backwards-unsupported.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was addedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-backward.ll
Commit f0abe820eebf47a3e9b9d0daf9f995d65db186bc by evgueni.brevnov
[LoopUtils][NFC] Minor refactoring in getLoopEstimatedTripCount.
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/include/llvm/Support/MathExtras.h
Commit 00c6e98409f98c3093aab4b1bfbc25c5b54731d0 by simon.moll
[VE] Target stub for NEC SX-Aurora
Summary: This patch registers the 've' target: the NEC SX-Aurora TSUBASA
Vector Engine.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D69103
The file was addedllvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.h
The file was addedllvm/test/CodeGen/VE/lit.local.cfg
The file was addedllvm/lib/Target/VE/TargetInfo/LLVMBuild.txt
The file was modifiedllvm/CODE_OWNERS.TXT
The file was addedllvm/lib/Target/VE/MCTargetDesc/LLVMBuild.txt
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was addedllvm/lib/Target/VE/TargetInfo/CMakeLists.txt
The file was addedllvm/test/CodeGen/VE/target_support.ll
The file was addedllvm/lib/Target/VE/LLVMBuild.txt
The file was addedllvm/lib/Target/VE/VETargetMachine.cpp
The file was modifiedllvm/lib/Target/LLVMBuild.txt
The file was addedllvm/lib/Target/VE/CMakeLists.txt
The file was addedllvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
The file was addedllvm/lib/Target/VE/TargetInfo/VETargetInfo.cpp
The file was addedllvm/lib/Target/VE/VETargetMachine.h
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was addedllvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.cpp
The file was addedllvm/lib/Target/VE/VE.h
Commit 7adf6644f50a60a25f81c976b0f3a08320a63665 by flo
[Matrix] Propagate and use shape information for loads.
This patch extends to shape propagation to also include load
instructions and implements shape aware lowering for vector loads.
Reviewers: anemet, Gerolf, reames, hfinkel, andrew.w.kaylor
Reviewed By: anemet
Differential Revision: https://reviews.llvm.org/D70900
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-backward.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/bigger-expressions-double.ll
Commit 287a874d1c460302677a1530a75d94bae4d4a348 by kadircet
[clangd] Refurbish HoverInfo::present
Summary: Improves basic hover presentation logic to include more info.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71555
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/test/hover.test
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit ccf24225e3f2356ebf0e73bb114a831bf1721222 by flo
[Matrix] Update shape propagation to iterate until done.
This patch updates the shape propagation to iterate until no new shape
information is discovered.
As initial seed for the forward propagation, we use the matrix intrinsic
instructions. Both propagateShapeForward and propagateShapeBackward
return new work lists, with the instructions to be used for the next
iteration. When propagating forward, we record all instructions we added
new shape information for. When propagating backward, we record all
users of instructions we added new shape information for.
Reviewers: anemet, Gerolf, reames, hfinkel, andrew.w.kaylor
Reviewed By: anemet
Differential Revision: https://reviews.llvm.org/D70901
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was addedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-multiple-iterations.ll
Commit 782ad91cc423bf602718e2bf9ffc59e55350463f by Raphael Isemann
[lldb] Fix that TestNoSuchArch.py was passing for the wrong reason
The command here failed due to the type in 'create' but the expect did
not actually check for the error message. This fixes the typo and adds a
check for the actuall error message we should see.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py
Commit 0d5407987a36445f21f122656edccbb0d9234f62 by llvm-dev
Fix MSVC unhandled enum warning. NFCI.
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit 795c38eb4df636d434a9821efecbfeb41ecba843 by abpostelnicu
[clang-tidy] For checker `readability-misleading-indentation` update
tests.
Summary: In D72333 we've introduced support for `if constexpr` but the
test for uninstantiated template was not ready to land on windows
platform since this target uses `-fdelayed-template-parsing` by default.
This patch addresses this by passing `-fno-delayed-template-parsing` to
the test.
Reviewers: JonasToth
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72438
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-misleading-indentation.cpp
Commit 15c7fa4d11eeb50095ae571c645427b9a267bdee by sam.parker
[ARM][MVE] Don't unroll intrinsic loops.
We don't unroll vector loops for MVE targets, but we miss the case when
loops only contain intrinsic calls. So just move the logic a bit to
catch this case.
Differential Revision: https://reviews.llvm.org/D72440
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/Transforms/LoopUnroll/ARM/mve-nounroll.ll
Commit e3e72a2619ccec9654ef9ad45e1e926841fbaa58 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Assert that the pointers are non-null before dereferencing them.
The file was modifiedclang/lib/CodeGen/CGObjCGNU.cpp
Commit e315ce2bd3a5347ab58d50fab2d449e8a4e60e00 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately below and castAs will perform the null assertion for us.
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
Commit 9bb01efa49ca7f069bc7acba7e4c9bf64d972e79 by pavel
[lldb/DWARF] Add is_dwo member to DWARFUnit
Summary: A skeleton unit can easily be detected by checking the
m_dwo_symbol_file member, but we cannot tell a split unit from a normal
unit from the
"inside", which is sometimes useful.
This patch adds a m_is_dwo member to enable this, and align the code
with llvm::DWARFUnit. Right now it's only used to avoid creating a split
unit inside another split unit (which removes one override from
SymbolFileDWARFDwo and brings us a step closer to deleting it), but my
main motivation is fixing the handling of location lists in mixed v4&v5
files. This comes in a separate patch.
Reviewers: JDevlieghere, aprantl, clayborg
Subscribers: dblaikie, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71750
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFTypeUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
Commit cd5da94d80b2b0f2bdb2d0157e24705a4cbd2a4e by pavel
[lldb/DWARF] Fix mixed v4+v5 location lists
Summary: Our code was expecting that a single (symbol) file contains
only one kind of location lists. This is not correct (on non-apple
platforms, at least) as a file can compile units with different dwarf
versions.
This patch moves the deteremination of location list flavour down to the
compile unit level, fixing this problem. I have also tried to rougly
align the code with the llvm DWARFUnit. Fully matching the API is not
possible because of how lldb's DWARFExpression lives separately from the
rest of the DWARF code, but this is at least a step in the right
direction.
Reviewers: JDevlieghere, aprantl, clayborg
Subscribers: dblaikie, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71751
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was addedlldb/test/Shell/SymbolFile/DWARF/debug_loc_and_loclists.s
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/include/lldb/Expression/DWARFExpression.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
Commit d462185e8daa49889c31c8f5568749e379a5ddf9 by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Use cast<> instead of dyn_cast<> since we know that the pointer should
be valid (and is dereferenced immediately below).
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Commit 25dd99fab205619ef90d0da23bcfba3c9f762e5e by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Use cast<> instead of dyn_cast<> since we know that the pointer should
be valid (and is dereferenced immediately).
The file was modifiedllvm/lib/IR/Verifier.cpp
Commit 9c91d79dadc660cb6a0ec736389341debd8cd118 by sam.parker
[NFC][ARM] LowOverheadLoop comments
Add a comment describing the dependencies of the pass.
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit b65b1f322bd88513586a4539d2b5f18aeb698f3f by saar
[Concepts] Function trailing requires clauses
Function trailing requires clauses now parsed, supported in overload
resolution and when calling, referencing and taking the address of
functions or function templates.
Differential Revision: https://reviews.llvm.org/D43357
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.order/var-template-partial-specializations.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/p4.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was addedclang/test/CXX/over/over.match/over.match.viable/p3.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/test/Parser/cxx-concepts-requires-clause.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was addedclang/test/CXX/over/over.over/p4-2a.cpp
The file was modifiedclang/lib/AST/DeclPrinter.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaTemplateVariadic.cpp
The file was addedclang/include/clang/Sema/SemaConcept.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/CXX/dcl/dcl.decl/p3.cpp
The file was modifiedclang/include/clang/AST/ASTLambda.h
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.closure/p3.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/test/Parser/cxx-concepts-ambig-constraint-expr.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/func-template-decl.cpp
The file was addedclang/test/CXX/over/over.match/over.match.best/p1-2a.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was addedclang/test/SemaTemplate/instantiate-requires-clause.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.order/class-template-partial-specializations.cpp
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was addedclang/test/CXX/class.derived/class.virtual/p6.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/mixed-constraints.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/function-templates.cpp
The file was modifiedclang/include/clang/Sema/Overload.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was addedclang/test/CXX/temp/temp.explicit/p8.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/var-template-decl.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.order/function-templates.cpp
Commit 4a83f1e171b73b819bcdb486e363b409d25fc629 by inouehrs
[mlir] fix test failure in EDSC/builder-api-test
This patch fixes a test failure on a non-intel (PowerPC64) box. The two
affine.load are independent and hence llvm may reorder them. The CHECK
lines are modified for supporting reordered case.
Differential Revision: https://reviews.llvm.org/D72435
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
Commit 5c4661b7784115cb330996b3a6461c5927339aef by pavel
[lldb] Modernize OptionValue::SetValueChangedCallback
instead of a function pointer + void*, take a std::function. This
removes a bunch of repetitive, unsafe void* casts.
The file was modifiedlldb/include/lldb/Interpreter/Property.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Interpreter/OptionValueProperties.cpp
The file was modifiedlldb/include/lldb/lldb-private-interfaces.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Interpreter/Property.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValue.h
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValueProperties.h
Commit 032a9393a739a1ef8c30979e2493971207c3c397 by spatel
[InstCombine] Use minimal FMF in testcase for Z / (1.0 / Y) => (Y * Z);
NFC
Patch by: @raghesh (Raghesh Aloor)
Differential Revision: https://reviews.llvm.org/D72431
The file was modifiedllvm/test/Transforms/InstCombine/fdiv.ll
Commit 173b711e83d7b61a46f55eb44f03ea98f69a1dd6 by momchil.velikov
[ARM][MVE] MVE-I should not be disabled by -mfpu=none
Architecturally, it's allowed to have MVE-I without an FPU, thus
-mfpu=none should not disable MVE-I, or moves to/from FP-registers.
This patch removes `+/-fpregs` from features unconditionally added to
target feature list, depending on FPU and moves the logic to Clang
driver, where the negative form (`-fpregs`) is conditionally added to
the target features list for the cases of `-mfloat-abi=soft`, or
`-mfpu=none` without either `+mve` or `+mve.fp`. Only the negative form
is added by the driver, the positive one is derived from other features
in the backend.
Differential Revision: https://reviews.llvm.org/D71843
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-shiftcost.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update2.mir
The file was modifiedllvm/test/CodeGen/ARM/softfp-constant-comparison.ll
The file was modifiedllvm/lib/Support/ARMTargetParser.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-vldn.ll
The file was modifiedclang/test/CodeGen/arm-target-features.c
The file was modifiedclang/test/Driver/arm-mfpu.c
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
Commit f53b38d12a7b9c6754d5bc91483efab935b5c012 by spatel
[InstSimplify] select Cond, true, false --> Cond
This is step 1 of damage control assuming that we need to remove several
over-reaching folds for select-of-booleans because they can cause
miscompiles as shown in D72396.
The scalar case seems obviously safe: https://rise4fun.com/Alive/jSj
And I don't think there's any danger for vectors either - if the
condition is poisoned, then the select must be poisoned too, so undef
elements don't make any difference.
Differential Revision: https://reviews.llvm.org/D72412
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/select.ll