Currently the conversion of elementwise ops only checks for scalar index
types when checking for bitwidth emulation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D146307  
[mlir][spirv] Allow vectors of index types in elementwise conversions ClosedPublic Authored by qedawkins on Mar 17 2023, 10:03 AM. 
Details Summary Currently the conversion of elementwise ops only checks for scalar index 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Mar 17 2023, 10:17 AM This revision was landed with ongoing or failed builds.Mar 17 2023, 10:37 AM Closed by commit rG72e8b286f03c: [mlir][spirv] Allow vectors of index types in elementwise conversions (authored by qedawkins).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 506135 mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp
 mlir/lib/Conversion/SPIRVCommon/Pattern.h
 mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||