diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2025-04-04 14:12:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-04 18:12:27 +0000 |
| commit | 41e7e565eb3dfa13562cbfa3e8641874c2c6d66c (patch) | |
| tree | f3ba43df8fe2a4c8ca4a63c9e9f577d7e0f7a028 /source/slang/slang-emit.cpp | |
| parent | 83a42cb76feb1f702ff730040f359cabc01c571a (diff) | |
Add a loop analysis step to infer the exit values of loop phi parameters. (#6696)
* Initial loop analysis pass
* More changes for a single-pass implication propagation
* Update slang-ir-autodiff-loop-analysis.cpp
* Cleanup + new system for loop analysis
* Fixup bugs in loop analysis
* Remove some relation types to simplify the analysis. Add test
* Remove unused
* Address comments
* Fix issue with continue loops
* Update reverse-loop-exit-value-inference-1.slang
* Update reverse-continue-loop.slang
Diffstat (limited to 'source/slang/slang-emit.cpp')
| -rw-r--r-- | source/slang/slang-emit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 8d7577b52..4eb4719f0 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -1037,7 +1037,10 @@ Result linkAndOptimizeIR( // Report checkpointing information if (codeGenContext->shouldReportCheckpointIntermediates()) + { + simplifyIR(targetProgram, irModule, fastIRSimplificationOptions, sink); reportCheckpointIntermediates(codeGenContext, sink, irModule); + } // Finalization is always run so AD-related instructions can be removed, // even if the AD pass itself is not run. |
