commit | 6b9cb84f8c3c35d7d753aba1143371dc0d0a9ee3 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Aug 25 20:17:19 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Aug 25 20:17:19 2010 +0000 |
tree | a56de1fe3bb6004161fa00b7550effd24e7048c5 | |
parent | 7b83c26051b0474fb5f8b73ba6e74bd4f40324ba [diff] [blame] |
Add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112080 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index 2e86abf..96b7f4d 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -1986,6 +1986,7 @@ } while(OpNum != Record.size()); const Type *ReturnType = F->getReturnType(); + // Handle multiple return values. FIXME: Remove in LLVM 3.0. if (Vs.size() > 1 || (ReturnType->isStructTy() && (Vs.empty() || Vs[0]->getType() != ReturnType))) {