HomePhabricator

[IndVars, RLEV] Support rewriting exit values in loops without known exits…

Authored by reames on Jul 31 2019, 2:15 PM.

Description

[IndVars, RLEV] Support rewriting exit values in loops without known exits (prep work)

This is a prepatory patch for future work on support exit value rewriting in loops with a mixture of computable and non-computable exit counts. The intention is to be "mostly NFC" - i.e. not enable any interesting new transforms - but in practice, there are some small output changes.

The test differences are caused by cases wherewhere getSCEVAtScope can simplify a single entry phi without needing any knowledge of the loop.

llvm-svn: 367485

Details

Committed
reamesJul 31 2019, 2:15 PM
Parents
rG04bdb25046e2: [NFC] allow creating error strings from a Twine
Branches
Unknown
Tags
Unknown