[VPlan] Fix use-after-free when iterating over live-ins directly.
getLiveIns returns an iterator to members of a dense map. The loop may
create new live-ins, which can trigger re-allocation of the underlying
dense map, causing use-after-free accesses for the iterator.
Make sure we iterate over a copy of the live-ins to avoid
use-after-free.
Fixes https://github.com/llvm/llvm-project/issues/173222.
[SLP]Fix def-after-use crash for gathered split nodes
If the split node is marked as a gather node after non-profitable
analysis, need to exclude it from the list of split nodes and include
into the list of gather/buildvector nodes
Fixes report from https://github.com/llvm/llvm-project/pull/162018#issuecomment-3701928745
[UniformityAnalysis] Remove an incorrect assertion in uniformity analysis
The join block could be not a header of a cycle, as shown in the newly added test case.
Fixes #170048.
[mlir][spirv] Clean up casts. NFC. (#174115)
Drop the `llvm::` namespace prefix where needlessly used. These were
introduced by clang-tidy when we migrated from cast member functions to
free functions.
[flang] Emit warnings, not errors, for bad subscripts in dead code (#174040)
When semantics is checking expressions in known dead branches of IF
constructs, errors should not be fatal; emit warnings instead, and allow
them to be disabled.
Fixes https://github.com/llvm/llvm-project/issues/171844.