commit | 5614769d557600fda3cf73b481581fe32fbff258 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Sat Jul 16 01:18:53 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Sat Jul 16 01:18:53 2011 +0000 |
tree | 27ff3f8d500d97e124d7d03858c3a8dd52e173d1 | |
parent | 6f684b0becc4c1b2ece3ec6dcecf30b19343128d [diff] |
indvars: fix a pass-sensitivity issue that would hit the SCEVExpander assertion I added in r135333. Check for the existence of a preheader before expanding a recurrence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135335 91177308-0d34-0410-b5e6-96231b3b80d8