Instead of using the TypeConverter infer the value of the alloca created based on the init value. This will allow some ambiguous types like multidimensional vectors to be converted correctly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp | ||
---|---|---|
188 | Maybe add some context for this so that coming back to this later, we can know why it was done this way. |
Comment Actions
Thanks Mahesh for the review. I added extra context explaining why we do it that way and we can revisit later.
mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp | ||
---|---|---|
188 | Good point. Added more context. |
Maybe add some context for this so that coming back to this later, we can know why it was done this way.