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:
8c14740
)
Fix ScalarEvolution::print to print a value for any Instruction with
author
Dan Gohman
<gohman@apple.com>
Thu, 30 Apr 2009 01:30:18 +0000
(
01:30
+0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 30 Apr 2009 01:30:18 +0000
(
01:30
+0000)
a SCEVable type, not just integer types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70463
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 8ecdd11d13a5c06837f84365e78cad228e81d172..5302ea87de8c0bf6769479d7eb20edfd35d68250 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-3315,7
+3315,7
@@
void ScalarEvolution::print(raw_ostream &OS, const Module* ) const {
OS << "Classifying expressions for: " << F->getName() << "\n";
for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I)
- if (
I->getType()->isInteger(
)) {
+ if (
isSCEVable(I->getType()
)) {
OS << *I;
OS << " --> ";
SCEVHandle SV = SE.getSCEV(&*I);