When providing with a spirv module as input where no conversion happens
the code didn't defend against broken invariant.
We'll fail the pass here, but it's not clear if it is the right thing
or if the module should just be ignored.
Fixes #59971
Paths
| Differential D141856
Fix crash in Spirv -lower-host-to-llvm pass ClosedPublic Authored by mehdi_amini on Jan 16 2023, 8:27 AM.
Details Summary When providing with a spirv module as input where no conversion happens We'll fail the pass here, but it's not clear if it is the right thing Fixes #59971
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 16 2023, 10:34 AM This revision was landed with ongoing or failed builds.Jan 16 2023, 1:07 PM Closed by commit rGffd3a19e653f: Fix crash in Spirv -lower-host-to-llvm pass (authored by mehdi_amini). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 489632 mlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
|