[llvm-commits] [llvm] r51145 - /llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp
Duncan Sands
baldrick at free.fr
Thu May 15 04:23:05 PDT 2008
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"
More information about the llvm-commits
mailing list