SuccessChanges

Summary

  1. [RISCV] Add vector integer min/max ISel patterns (details)
  2. Sema::BuildCallExpr - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI. (details)
  3. SystemZTargetLowering::lowerDYNAMIC_STACKALLOC - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI. (details)
  4. MemProfiler::insertDynamicShadowAtFunctionEntry - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI. (details)
  5. Inform the consumer on invalid template instantiations. (details)
Commit 1d4411e9ea0ea7b8460e40d2d596cafafc84be33 by fraser
[RISCV] Add vector integer min/max ISel patterns

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D94012
The file was addedllvm/test/CodeGen/RISCV/rvv/vmax-sdnode-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vmax-sdnode-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/vmaxu-sdnode-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vminu-sdnode-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vmin-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vmin-sdnode-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vmaxu-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vminu-sdnode-rv64.ll
Commit 6725860d21a03741d6c3331ab0560416bb19e068 by llvm-dev
Sema::BuildCallExpr - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

We're immediately dereferencing the casted pointer, so use cast<> which will assert instead of dyn_cast<> which can return null.

Fixes static analyzer warning.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 52e448974b2ec826c8af429c370c4d6e79ce5747 by llvm-dev
SystemZTargetLowering::lowerDYNAMIC_STACKALLOC - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

We're immediately dereferencing the casted pointer, so use cast<> which will assert instead of dyn_cast<> which can return null.

Fixes static analyzer warning.
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Commit 84d5768d97635602225f5056da96b058e588b2f5 by llvm-dev
MemProfiler::insertDynamicShadowAtFunctionEntry - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

We're immediately dereferencing the casted pointer, so use cast<> which will assert instead of dyn_cast<> which can return null.

Fixes static analyzer warning.
The file was modifiedllvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Commit 02eb8e20b51b3ea263bbfe696241b8541c72ee7a by v.g.vassilev
Inform the consumer on invalid template instantiations.

Some clients which want to track state need the information whether a template
was instantiated and made invalid.

Differential revision: https://reviews.llvm.org/D92248
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp