commit | 4b467ed97bc5886fb800209c0ee94df10163b88d | [log] [tgz] |
---|---|---|
author | Mingyao Yang <mingyao@google.com> | Thu Nov 19 17:04:22 2015 -0800 |
committer | Mingyao Yang <mingyao@google.com> | Tue Dec 08 17:02:15 2015 -0800 |
tree | 13b2d0b144c65e91243f3aa50ce9514276e52c64 | |
parent | eb5ddd7b02ce2d25d4f28f85a13aac628526e1c1 [diff] |
Simplify and rename IsLoopInvariant() test. Simplify IsLoopInvariant() test. Also rename it to IsDefinedOutOfTheLoop() so there is no ambiguity for example whether a instruction after the loop counts as a loop invariant. It's up to the caller to make the interpretation. Change-Id: I999139032b0e4d815dd1e2276f2bd428cf558686