Depending on the target environment, we may need to emulate certain
types, which can cause issue with bitcast.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140437
[mlir][spirv] Fail vector.bitcast conversion with different bitwidth ClosedPublic Authored by antiagainst on Dec 20 2022, 3:16 PM.
Details Summary Depending on the target environment, we may need to emulate certain
Diff Detail
Event TimelineThomasRaoux added inline comments. This revision is now accepted and ready to land.Dec 28 2022, 10:32 AM Closed by commit rG56c069887b95: [mlir][spirv] Fail vector.bitcast conversion with different bitwidth (authored by antiagainst). · Explain WhyDec 29 2022, 3:44 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 485649 mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
|
you can use getSizeInBits() instead.