diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2023-02-17 16:22:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-17 16:22:47 -0500 |
| commit | 79049bc7617be0d20f6ed5d9d1dfe75006aa675a (patch) | |
| tree | 882bf8c76e36ee770a8645f2b200bd90d22ec728 /source/slang/slang-ir-ssa.cpp | |
| parent | f253d15a3b2681dfa40491451fcb3f21f1dbe412 (diff) | |
Cleaned up legacy differential type handling + type casting bugfixes (#2660)
Diffstat (limited to 'source/slang/slang-ir-ssa.cpp')
| -rw-r--r-- | source/slang/slang-ir-ssa.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/slang/slang-ir-ssa.cpp b/source/slang/slang-ir-ssa.cpp index 20a8d7d13..d8246edae 100644 --- a/source/slang/slang-ir-ssa.cpp +++ b/source/slang/slang-ir-ssa.cpp @@ -1056,10 +1056,7 @@ bool constructSSA(ConstructSSAContext* context) // Figure out what variables we can promote to // SSA temporaries. - if (!(context->promotableVars.getCount() > 0)) - { - identifyPromotableVars(context); - } + identifyPromotableVars(context); // If none of the variables are promote-able, // then we can exit without making any changes |
