HomePhabricator

[SCEV] Cap the number of instructions scanned when infering flags

Authored by reames on Oct 3 2021, 4:14 PM.

Description

[SCEV] Cap the number of instructions scanned when infering flags

This addresses a comment from review on D109845. The concern was raised that an unbounded scan would be expensive. Long term plan is to cache this search - likely reusing the existing mechanism for loop side effects - but let's be simple and conservative for now.

Details

Committed
reamesOct 3 2021, 4:14 PM
Parents
rG35ab211c3753: [SCEV] Use trivial bound on defining scope of all SCEVs when computing flags
Branches
Unknown
Tags
Unknown