projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1dbcd8
)
Use of UINT_MAX requires climits, at least when
author
Duncan Sands
<baldrick@free.fr>
Thu, 15 May 2008 11:22:50 +0000
(11:22 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Thu, 15 May 2008 11:22:50 +0000
(11:22 +0000)
compiling with gcc 4.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51145
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopUnroll.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopUnroll.cpp
b/lib/Transforms/Scalar/LoopUnroll.cpp
index ad8cfd4eeb2aea59250a31c4180a5fd4b7a404d1..aa1c7e736362eeb964b66a28ce8ab2c6deb47a80 100644
(file)
--- a/
lib/Transforms/Scalar/LoopUnroll.cpp
+++ b/
lib/Transforms/Scalar/LoopUnroll.cpp
@@
-12,6
+12,7
@@
// counts of loops easily.
//===----------------------------------------------------------------------===//
+#include <climits>
#define DEBUG_TYPE "loop-unroll"
#include "llvm/IntrinsicInst.h"
#include "llvm/Transforms/Scalar.h"