We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module attributes {} { func.func @fptoui(%arg0 : f32) -> i32 { %0 = arith.fptoui %arg0 : f32 to i32 return %0 : i32 } }
mlir-opt --convert-arith-to-spirv
produces the error below
error: failed to legalize operation 'arith.fptoui' that was explicitly marked illegal %0 = arith.fptoui %arg0 : f32 to i32
Expected output:
module { func.func @fptoui(%arg0: f32) -> i32 { %0 = spirv.ConvertFToU %arg0 : f32 to i32 return %0 : i32 } }
The text was updated successfully, but these errors were encountered:
https://reviews.llvm.org/D141582
Sorry, something went wrong.
@llvm/issue-subscribers-mlir-spirv
Resolved by e866fb8
stevesuzuki-arm
No branches or pull requests
produces the error below
Expected output:
The text was updated successfully, but these errors were encountered: