| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Add flag to hoist instructions (#6740) | jarcherNV | 2025-04-11 |
| 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. | |||
