SuccessChanges

Summary

  1. [RISCV] Fill out basic integer RVV ISel patterns (details)
  2. [SLP] replace local reduction enum with RecurrenceKind; NFCI (details)
  3. [mlir][python] Add FlatSymbolRef attribute. (details)
Commit f7f09e2b1c897f0b42be72939d0c97dcfd1577f7 by fraser
[RISCV] Fill out basic integer RVV ISel patterns

This complements the existing RVV ISel patterns for arithmetic, bitwise
and shifts with the remaining operations in those categories: sub, and,
xor, sra.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D93852
The file was addedllvm/test/CodeGen/RISCV/rvv/vsub-sdnode-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vand-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vrsub-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vxor-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vsra-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vrsub-sdnode-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vsub-sdnode-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vxor-sdnode-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vand-sdnode-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vsra-sdnode-rv32.ll
Commit 21a3a0225d84cd35227fc9d4d08234918a54f8d3 by spatel
[SLP] replace local reduction enum with RecurrenceKind; NFCI

I'm not sure if the SLP enum was created before the IVDescriptor
RecurrenceDescriptor / RecurrenceKind existed, but the code in
SLP is now redundant with that class, so it just makes things
more complicated to have both. We eventually call LoopUtils
createSimpleTargetReduction() to create reduction ops, so we
might as well standardize on those enum names.

There's still a question of whether we need to use TTI::ReductionFlags
vs. MinMaxRecurrenceKind, but that can be another clean-up step.

Another option would just be to flatten the enums in RecurrenceDescriptor
into a single enum. There isn't much benefit (smaller switches?) to
having a min/max subset.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit df7ddeea668af7b25ee01f282fd8e6b388155103 by stellaraccident
[mlir][python] Add FlatSymbolRef attribute.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D93909
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/test/Bindings/Python/ir_attributes.py