diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 20:27:59 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 20:27:59 +0000 |
commit | 32a6e33624347bce9bb10cb71d6cc25258c300db (patch) | |
tree | c74d9e87e4296dd5f31ecabc51c8aac559c8a39a /gcc/sese.h | |
parent | a73166c0283f01194c93c6c065192b3aaedefed1 (diff) | |
download | gcc-32a6e33624347bce9bb10cb71d6cc25258c300db.tar.gz |
Scevs could be expressions without chrecs and still be scev_analyzable_p.
2010-07-15 Sebastian Pop <sebastian.pop@amd.com>
* sese.h (scev_analyzable_p): Scevs could be expressions without
chrecs and still be scev_analyzable_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163144 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sese.h')
-rw-r--r-- | gcc/sese.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/sese.h b/gcc/sese.h index 1502cbe97f9..f10030c67a8 100644 --- a/gcc/sese.h +++ b/gcc/sese.h @@ -398,7 +398,8 @@ scev_analyzable_p (tree def, sese region) return !chrec_contains_undetermined (scev) && TREE_CODE (scev) != SSA_NAME - && evolution_function_is_affine_p (scev); + && (tree_does_not_contain_chrecs (scev) + || evolution_function_is_affine_p (scev)); } #endif |