commit | c757decb04d8535fd806b9bce1c2fe5e52c228dc | [log] [tgz] |
---|---|---|
author | David Sehr <sehr@google.com> | Fri Nov 04 15:48:34 2016 -0700 |
committer | David Sehr <sehr@google.com> | Wed Nov 09 15:14:51 2016 -0800 |
tree | 8800f743cdfc30a37279d918f3947d3ec694ef66 | |
parent | 11bbc7fd5b4ed64d13c5d21ae9c8b686cf24bcbb [diff] |
Do not inline loops without exit edges Fixes an issue with LinearOrder after inlining a function containing a loop that has no exit edge. The failure is due to incorrect loop information being computed for blocks that are not on a path to the inlined function's return. They should not be considered part of the caller's enclosing loop, but are today. Bug: 32547653 Test: run-test --host 478-checker-inline-noreturn Change-Id: I9694a1cb861430051c801d07f7ce29752332cba5