llvm-project/mlir/test
Alex Zinenko 7c89a225cf ConvertToCFG: support min/max in loop bounds.
The recently introduced `select` operation enables ConvertToCFG to support
min(max) in loop bounds.  Individual min(max) is implemented as
`cmpi "lt"`(`cmpi "gt"`) followed by a `select` between the compared values.
Multiple results of an `affine_apply` operation extracted from the loop bounds
are reduced using min(max) in a sequential manner.  While this may decrease the
potential for instruction-level parallelism, it is easier to recognize for the
following passes, in particular for the vectorizer.

PiperOrigin-RevId: 224376233
2019-03-29 14:19:52 -07:00
..
IR Strided DMA support for DmaStartOp 2019-03-29 14:18:37 -07:00
Target LLVM IR Lowering: support multi-value returns. 2019-03-29 14:15:56 -07:00
Transforms ConvertToCFG: support min/max in loop bounds. 2019-03-29 14:19:52 -07:00