HomePhabricator

Teach SCEV to look through returned-argument functions

Authored by hfinkel on Jul 10 2016, 7:48 PM.

Description

Teach SCEV to look through returned-argument functions

When building SCEVs, if a function is known to return its argument, then we can
build the SCEV using the corresponding argument value.

Differential Revision: http://reviews.llvm.org/D9381

llvm-svn: 275037

Details

Committed
hfinkelJul 10 2016, 7:48 PM
Differential Revision
D9381: llvm.noalias - SCEV can look through it
Parents
rG6fd5e1f02bf4: Teach computeKnownBits to look through returned-argument functions
Branches
Unknown
Tags
Unknown