[llvm-commits] [llvm] r51083 - in /llvm/trunk: include/llvm/Analysis/LoopInfo.h lib/Transforms/Scalar/LoopUnroll.cpp lib/Transforms/Utils/UnrollLoop.cpp

Eric Christopher echristo at apple.com
Tue May 13 20:06:37 PDT 2008


On May 13, 2008, at 5:24 PM, Dan Gohman wrote:

> Author: djg
> Date: Tue May 13 19:24:14 2008
> New Revision: 51083
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51083&view=rev
> Log:
> Split the loop unroll mechanism logic out into a utility function.
> Patch by Matthijs Kooijman!

This broke building in a couple of different ways:

a) no header:

/Volumes/Data/sources/llvm-clean/lib/Transforms/Scalar/LoopUnroll.cpp: 
23:46: error: llvm/Transforms/Utils/UnrollLoop.h: No such file or  
directory

b) getting the complaint that UnrollLoop needs to be declared within  
namespace llvm.

/Volumes/Data/sources/llvm-clean/lib/Transforms/Scalar/LoopUnroll.cpp:  
In member function ‘virtual  
bool<unnamed>::LoopUnroll::runOnLoop(llvm::Loop*,  
llvm::LPPassManager&)’:
/Volumes/Data/sources/llvm-clean/lib/Transforms/Scalar/LoopUnroll.cpp: 
138: error: ‘UnrollLoop’ was not declared in this scope


-eric



More information about the llvm-commits mailing list