OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eada62
)
ifdef out unneeded if statement.
author
Evan Cheng
<evan.cheng@apple.com>
Sun, 15 Feb 2009 03:20:37 +0000
(
03:20
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sun, 15 Feb 2009 03:20:37 +0000
(
03:20
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64575
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index
db5479b
..
9aa5fe2
100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-437,9
+437,11
@@
static bool getSCEVStartAndStride(const SCEVHandle &SH, Loop *L,
Start = SE->getAddExpr(Start, AddRec->getOperand(0));
+#ifndef NDEBUG
if (!isa<SCEVConstant>(AddRec->getOperand(1)))
DOUT << "[" << L->getHeader()->getName()
<< "] Variable stride: " << *AddRec << "\n";
+#endif
Stride = AddRec->getOperand(1);
return true;