diff options
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
-rw-r--r-- | gcc/tree-scalar-evolution.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c index d88bb1aa861..325654bac1b 100644 --- a/gcc/tree-scalar-evolution.c +++ b/gcc/tree-scalar-evolution.c @@ -3124,6 +3124,14 @@ scev_initialize (void) } } +/* Return true if SCEV is initialized. */ + +bool +scev_initialized_p (void) +{ + return scalar_evolution_info != NULL; +} + /* Cleans up the information cached by the scalar evolutions analysis in the hash table. */ |