diff options
| author | Yong He <yonghe@outlook.com> | 2020-07-23 13:47:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 13:47:12 -0700 |
| commit | fed4292a581364b611a82a0f6c1c1c95f82dfeb2 (patch) | |
| tree | f4e50a0d448f2710313a05b5def07a1c0a3b67b3 /source/slang/slang-ir.cpp | |
| parent | e93d3a443934b50fb983f77306a72e9c695bd5b9 (diff) | |
Run SSA pass to clean up temporary variables during generics lowering. (#1447)
* Run SSA pass to clean up generic temporary variables during lowering.
* Fix `undefined` emitting logic.
* revert dumpir control flag
* Defer fold decision of `undefined` values after special case logic for GLSL and HLSL.
* Update expected test result.
* Manually update raygen.slang.glsl to minimize change.
* fix formatting
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-ir.cpp')
| -rw-r--r-- | source/slang/slang-ir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index fc4b71138..f551dcbba 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -5151,6 +5151,7 @@ namespace Slang return false; case kIROp_Nop: + case kIROp_undefined: case kIROp_Specialize: case kIROp_lookup_interface_method: case kIROp_getAddr: |
