commit | 02f0b379f56319eb49424bdfb96d567454cc77c5 | [log] [tgz] |
---|---|---|
author | Philip Reames <listmail@philipreames.com> | Tue Jun 11 23:21:24 2019 |
committer | Philip Reames <listmail@philipreames.com> | Tue Jun 11 23:21:24 2019 |
tree | adf76b99c91767f585fd01d1d4eef5b29a9a7dae | |
parent | 0e9b1d2a20c5cad342ffa9344df02d1d9dbb08a6 [diff] |
Fix a bug in getSCEVAtScope w.r.t. non-canonical loops The issue is that if we have a loop with multiple predecessors outside the loop, the code was expecting to merge them and only return if equal, but instead returned the first one seen. I have no idea if this actually tripped anywhere. I noticed it by accident when reading the code and have no idea how to go about constructing a test case. llvm-svn: 363112