mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Move prototype to IPO.h instead of Scalar.h
Make sure that the file interface header (IPO.h) is included first remove dead #incldue git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -14,12 +14,11 @@
 | 
				
			|||||||
//
 | 
					//
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "llvm/Transforms/IPO.h"
 | 
				
			||||||
#include "llvm/Module.h"
 | 
					#include "llvm/Module.h"
 | 
				
			||||||
#include "llvm/Pass.h"
 | 
					#include "llvm/Pass.h"
 | 
				
			||||||
#include "llvm/Analysis/LoopInfo.h"
 | 
					#include "llvm/Analysis/LoopInfo.h"
 | 
				
			||||||
#include "llvm/Transforms/Scalar.h"
 | 
					 | 
				
			||||||
#include "llvm/Transforms/Utils/FunctionUtils.h"
 | 
					#include "llvm/Transforms/Utils/FunctionUtils.h"
 | 
				
			||||||
#include <vector>
 | 
					 | 
				
			||||||
using namespace llvm;
 | 
					using namespace llvm;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace {
 | 
					namespace {
 | 
				
			||||||
@@ -64,6 +63,6 @@ bool LoopExtractor::runOnFunction(Function &F) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/// createLoopExtractorPass 
 | 
					/// createLoopExtractorPass 
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
FunctionPass* llvm::createLoopExtractorPass() {
 | 
					Pass* llvm::createLoopExtractorPass() {
 | 
				
			||||||
  return new LoopExtractor();
 | 
					  return new LoopExtractor();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user