SuccessChanges

Summary

  1. [Analysis] MemoryDepChecker::couldPreventStoreLoadForward - remove dead store. NFCI. (details)
  2. [AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<> for dereferenced pointer. NFCI. (details)
  3. [flang][openacc] Enforce delcare directive restriction (details)
  4. [TableGen] Add field kind to the RecordVal class. (details)
  5. [SplitEdge] Add new parameter to SplitEdge to name the newly created basic block (details)
Commit fa6d8977999096b2a3ae1357aa38ddf73abaf414 by llvm-dev
[Analysis] MemoryDepChecker::couldPreventStoreLoadForward - remove dead store. NFCI.

As we're breaking from the loop when clamping MaxVF, clang static analyzer was warning that the VF iterator was being updated and never used.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit 037b058e41979fa5e6ffd209033dfe72abb97b53 by llvm-dev
[AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

Don't directly dereference a dyn_cast<> - use cast<> so we assert for the correct type.

Also, simplify the for loop to a range loop.

Fixes clang static analyzer warning.
The file was modifiedllvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
Commit b73736a4048172c48b6b5c23d1321f230d442306 by clementval
[flang][openacc] Enforce delcare directive restriction

Add semantic check for most of the restrictions for the declare directive.

Reviewed By: kiranktp

Differential Revision: https://reviews.llvm.org/D92741
The file was modifiedflang/lib/Semantics/resolve-directives.cpp
The file was addedflang/test/Semantics/acc-declare-validity.f90
The file was modifiedflang/lib/Semantics/check-acc-structure.cpp
The file was modifiedflang/test/Semantics/acc-clause-validity.f90
Commit aa7968a87b65f97c1245348f6c2a75fc9e420bb5 by paul
[TableGen] Add field kind to the RecordVal class.

Differential Revision: https://reviews.llvm.org/D93969
The file was modifiedllvm/utils/TableGen/CodeEmitterGen.cpp
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was modifiedllvm/lib/TableGen/JSONBackend.cpp
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
The file was modifiedllvm/include/llvm/TableGen/Record.h
Commit 048f184ee488cdc8dadc0b8f9d1def9e6b469a73 by sidharth.baveja
[SplitEdge] Add new parameter to SplitEdge to name the newly created basic block

Summary:
Currently SplitEdge does not support passing in parameter which allows you to
name the newly created BasicBlock.

This patch updates the function such that the name of the block can be passed
in, if users of this utility decide to do so.

Reviewed By: Whitney, bmahjour, asbirlea, jamieschmeiser

Differential Revision: https://reviews.llvm.org/D94176
The file was modifiedllvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp