^bb(%lhs : f32, %rhs : f32):
"gpu.yield"(%lhs) : (f32) -> ()
}) {op = "add"} : (f32) -> (f32)
+ return
}
// -----
^bb(%lhs : f32):
"gpu.yield"(%lhs) : (f32) -> ()
}) : (f32) -> (f32)
+ return
}
// -----
^bb(%lhs : f32, %rhs : i32):
"gpu.yield"(%lhs) : (f32) -> ()
}) : (f32) -> (f32)
+ return
}
// -----
^bb(%lhs : f32, %rhs : f32):
"gpu.yield"(%lhs, %rhs) : (f32, f32) -> ()
}) : (f32) -> (f32)
+ return
}
// -----
%one = constant 1 : i32
"gpu.yield"(%one) : (i32) -> ()
}) : (f32) -> (f32)
+ return
}
// -----
^bb(%lhs : f32, %rhs : f32):
return
}) : (f32) -> (f32)
+ return
}
// -----