[Mlir-commits] [mlir] [MLIR][MathDialect] fix fp32 promotion crash when encounters scf.if (PR #104451)
Krzysztof Drewniak
llvmlistbot at llvm.org
Fri Aug 16 09:23:00 PDT 2024
================
@@ -83,3 +83,16 @@ func.func @sequences(%arg0: f16) -> f16 {
%1 = math.sin %0 : f16
return %1 : f16
}
+
+// CHECK-LABEL: @promote_in_if_block
+func.func @promote_in_if_block(%arg0: bf16, %arg1: bf16, %arg2: i1) -> bf16 {
+ // CHECK: [[EXTF0:%.+]] = arith.extf
+ %0 = scf.if %arg2 -> bf16 {
----------------
krzysz00 wrote:
Can we check that the `if` is still here?
https://github.com/llvm/llvm-project/pull/104451
More information about the Mlir-commits
mailing list