diff options
| author | Yong He <yonghe@outlook.com> | 2023-03-28 11:12:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-28 11:12:40 -0700 |
| commit | e22b4dbb1bed1393fc028b87b8ff6ff30e1b73f3 (patch) | |
| tree | 5fa276d207921d07eb56cc3a990477777fa33898 /source/slang/slang-ir-cleanup-void.cpp | |
| parent | 0a6926003fd2300858e3089fe82f421543852395 (diff) | |
Small fixes and cleanups on CUDA/CPP codegen. (#2746)
* Small fixes and cleanups on CUDA/CPP codegen.
* Disable `legalizeEmptyTypes` for now.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-cleanup-void.cpp')
| -rw-r--r-- | source/slang/slang-ir-cleanup-void.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-ir-cleanup-void.cpp b/source/slang/slang-ir-cleanup-void.cpp index 78ca823e5..47d982950 100644 --- a/source/slang/slang-ir-cleanup-void.cpp +++ b/source/slang/slang-ir-cleanup-void.cpp @@ -139,6 +139,9 @@ namespace Slang case kIROp_GetTupleElement: case kIROp_GetResultError: case kIROp_GetResultValue: + case kIROp_Call: + case kIROp_UpdateElement: + case kIROp_GetTargetTupleElement: if (inst->getDataType()->getOp() == kIROp_VoidType) { IRBuilder builder(module); |
