diff options
| author | jarcherNV <jarcher@nvidia.com> | 2025-04-11 14:51:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 21:51:48 +0000 |
| commit | 61a6c211b1587a7b9ed6a24ae1ba6fe0600c80d8 (patch) | |
| tree | b67322ca56975223cc2eb897acc29155928128fd /docs | |
| parent | 88a180ba0aa57b2d0fb4956005db2ea73dc73420 (diff) | |
Add flag to hoist instructions (#6740)
This fixes issue #6654
Only hoist instructions that are optimized by prepareFuncForForwardDiff.
Add flag hoistLoopInvariantInsts to IRSimplificationOptions and set this
to true only if called from prepareFuncForForwardDiff, then only hoist
if the flag is set. Additionally, do not hoist loops if they only have a
single trivial iteration.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
