blob: 58add394babdc80d59ba6125b564dc04316be49b [file] [log] [blame]
func.func @bitcast() {
%input = util.unfoldable_constant dense<0> : tensor<4xi32>
%result = "mhlo.bitcast_convert"(%input) : (tensor<4xi32>) -> tensor<4xf32>
check.expect_eq_const(%result, dense<0.0> : tensor<4xf32>) : tensor<4xf32>
return
}