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:
ec8eee2
)
Print correct instruction in dump.
author
Dale Johannesen
<dalej@apple.com>
Wed, 29 Apr 2009 22:57:20 +0000
(22:57 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Wed, 29 Apr 2009 22:57:20 +0000
(22:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70427
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 a6795a72ef9b17524e97c5b40810dfce36c0e94e..2dc62823ec441c3d1bf8e640da1faa671fb4695d 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-1808,7
+1808,7
@@
void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride,
DOUT << " Examining use ";
DEBUG(WriteAsOperand(*DOUT, UsersToProcess.back().OperandValToReplace,
/*PrintType=*/false));
- DOUT << " in Inst: " << *
Inst
;
+ DOUT << " in Inst: " << *
(User.Inst)
;
// If this instruction wants to use the post-incremented value, move it
// after the post-inc and use its value instead of the PHI.