Cast unary intrinsics to expected type
Regenerate tests