Added conversion pattern for SPIR-V FunctionCallOp. Based on specification, it returns no results or a single result, so can be mapped directly to LLVM dialect's llvm.call.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D83030
[MLIR][SPIRVToLLVM] SPIR-V function call conversion pattern ClosedPublic Authored by georgemitenkov on Jul 2 2020, 3:33 AM.
Details Summary Added conversion pattern for SPIR-V FunctionCallOp. Based on specification, it returns no results or a single result, so can be mapped directly to LLVM dialect's llvm.call.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 2 2020, 3:44 AM Closed by commit rG8119a374bc3a: [MLIR][SPIRVToLLVM] SPIR-V function call conversion pattern (authored by georgemitenkov, committed by antiagainst). · Explain WhyJul 2 2020, 9:43 AM This revision was automatically updated to reflect the committed changes.
georgemitenkov added inline comments.
Revision Contents
Diff 275151 mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
mlir/test/Conversion/SPIRVToLLVM/func-to-llvm.mlir
|
nit: Is this-> really necessary here?