diff options
| author | Yong He <yonghe@outlook.com> | 2022-11-02 12:12:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-02 12:12:18 -0700 |
| commit | 2e1c15f36b42374455228e37885bdb221f302050 (patch) | |
| tree | 57ab722b87e1ef327860e4293bad9edc53bba965 /source/slang/slang-ir-dce.cpp | |
| parent | fb29bd32cc3404455ff92916a91c517823f486dd (diff) | |
Rework differential conformance dictionary checking. (#2483)
* Rework differential conformance dictionary checking.
* Revert space changes.
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-dce.cpp')
| -rw-r--r-- | source/slang/slang-ir-dce.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/slang/slang-ir-dce.cpp b/source/slang/slang-ir-dce.cpp index 7d677b488..d58e307da 100644 --- a/source/slang/slang-ir-dce.cpp +++ b/source/slang/slang-ir-dce.cpp @@ -361,13 +361,6 @@ bool shouldInstBeLiveIfParentIsLive(IRInst* inst, IRDeadCodeEliminationOptions o case kIROp_WitnessTableEntry: return true; - // Special dictionaries used for differentiable type tracking - // should be kept alive. These are removed by the auto-diff pass, - // once they are used. - case kIROp_DifferentiableTypeDictionaryItem: - case kIROp_DifferentiableTypeDictionary: - return true; - default: break; } |
