[llvm-commits] [llvm] r51145 - /llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp
Bill Wendling
isanbard at gmail.com
Thu May 15 13:37:52 PDT 2008
On Thu, May 15, 2008 at 4:23 AM, Duncan Sands <baldrick at free.fr> wrote:
> Author: baldrick
> Date: Thu May 15 06:22:50 2008
> New Revision: 51145
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51145&view=rev
> Log:
> Use of UINT_MAX requires climits, at least when
> compiling with gcc 4.3.
>
> Modified:
> llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp
>
> Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp?rev=51145&r1=51144&r2=51145&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp (original)
> +++ llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp Thu May 15 06:22:50 2008
> @@ -12,6 +12,7 @@
> // counts of loops easily.
> //===----------------------------------------------------------------------===//
>
> +#include <climits>
> #define DEBUG_TYPE "loop-unroll"
> #include "llvm/IntrinsicInst.h"
> #include "llvm/Transforms/Scalar.h"
>
Normally, system includes go at the end of the list of llvm includes.
Is there a reason to put "climits" first?
-bw
More information about the llvm-commits
mailing list