| 77 | } |
| 78 | |
| 79 | mlir::Value ValueBuilderHelper::min(mlir::Value lhs, mlir::Value rhs) { |
| 80 | mlir::Value cmp = m_builder.create<mlir::CmpFOp>( |
| 81 | m_location, mlir::CmpFPredicate::OLT, lhs, rhs); |
| 82 | return m_builder.create<mlir::SelectOp>(m_location, cmp, lhs, rhs); |
| 83 | } |
| 84 | |
| 85 | /* ===================== constant functions ===================== */ |
| 86 |
no outgoing calls
no test coverage detected