From a92dc193971daec428337dad437f08b8b2e5ceaf Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 31 May 2003 23:30:52 +0000 Subject: [PATCH] Fix bug: CBackend/2003-05-31-MissingStructName.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6495 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IPA/FindUsedTypes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/IPA/FindUsedTypes.cpp b/lib/Analysis/IPA/FindUsedTypes.cpp index 0916ab8c65f..51d1b419f30 100644 --- a/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/lib/Analysis/IPA/FindUsedTypes.cpp @@ -45,6 +45,7 @@ bool FindUsedTypes::run(Module &m) { IncorporateType(I->getType()); for (Module::iterator MI = m.begin(), ME = m.end(); MI != ME; ++MI) { + IncorporateType(MI->getType()); const Function &F = *MI; // Loop over all of the instructions in the function, adding their return