commit | 67a71b5306c42f1d56a0d58635432b86206c2a9a | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Mon Apr 12 04:48:00 2010 +0000 |
committer | Eric Christopher <echristo@apple.com> | Mon Apr 12 04:48:00 2010 +0000 |
tree | 0237623f45392f1c26d4ec8a14e859f329ed759a | |
parent | 58c2587ed8e2cd0928a959dbb213bdcc028b1213 [diff] |
Verify function prototypes before trying to optimize functions. We also need TargetData, just return false if we don't have it. Update testcases accordingly. Fixes PR6807. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101011 91177308-0d34-0410-b5e6-96231b3b80d8