-
Notifications
You must be signed in to change notification settings - Fork 746
Open
Labels
bug 🐞Something isn't workingSomething isn't working
Description
What happened?
I got the following error when compiling with --iree-input-demote-f64-to-f32=false
, but it passed without the flag.
repro.mlir:23:10: error: failed to legalize operation 'arith.extf' that was explicitly marked illegal
%4 = arith.extf %extracted_2 : f32 to f64
^
repro.mlir:5:3: note: called from
func.func @test_nonmaxsuppression_single_box(%arg0: tensor<1x1x4xf32>, %arg1: tensor<1x1x1xf32>, %arg2: tensor<1xi64>, %arg3: tensor<1xf32>, %arg4: tensor<1xf32>) -> tensor<1x3xi64> {
^
repro.mlir:23:10: note: see current operation: %99 = "arith.extf"(%98) : (f32) -> f64
%4 = arith.extf %extracted_2 : f32 to f64
^
Repro: https://gist.github.com/jinchen62/4704ad09c0fe20d45fbaa572721ff1f8
Steps to reproduce your issue
iree-compile --iree-hal-target-backends=llvm-cpu --iree-input-demote-f64-to-f32=false repro.mlir -o repro.vmfb
What component(s) does this issue relate to?
No response
Version information
Local build on TOM
Additional context
No response
Metadata
Metadata
Assignees
Labels
bug 🐞Something isn't workingSomething isn't working