d055a4e100dfd8019bd232f6fc79b4d8b97b4ce3
MLIR supports 'for' loops with lower(upper) bound defined by taking a maximum(minimum) of a list of expressions, but does not have first-class affine constructs for the maximum(minimum). All these expressions must have affine provenance, similarly to a single-expression bound. Add support for constructing such loops using EDSC. The expression factory function is called `edsc::MaxMinFor` to (1) highlight that the maximum(minimum) operation is applied to the lower(upper) bound expressions and (2) differentiate it from a `edsc::For` that creates multiple perfectly nested loops (and should arguably be called `edsc::ForNest`). PiperOrigin-RevId: 234785996
Description
Full LLVM 23.1.5 fork for TMS34010 (compiler target + clang bit-address changes)
3.2 GiB
0 Stars
1 Watchers
0 Forks
Languages
LLVM
42.2%
C++
29.9%
C
12.6%
Assembly
10.2%
MLIR
1.7%
Other
2.9%