Ctlz is an intrinsic in LLVM but does not have equivalent operations in SPIR-V.
Including a decomposition gives an alternative path for these platforms.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp | ||
---|---|---|
87 | Can the input not be negative? The variable is called largerThanZero but the comparison is about equality -- would it be better to use a gt predicates? |
Can the input not be negative? The variable is called largerThanZero but the comparison is about equality -- would it be better to use a gt predicates?