diff options
author | Richard Biener <rguenther@suse.de> | 2019-07-02 09:35:12 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-07-02 09:35:12 +0000 |
commit | 2e2c9da012227ba12ce89b6a65179e6c830e7e4b (patch) | |
tree | 354cc318aa46f5ae68a4092269813df45e39c1a4 /gcc/tree-streamer.c | |
parent | 30ca9fbe9012fb455d55bc8f96d4438b5b271e59 (diff) | |
download | gcc-2e2c9da012227ba12ce89b6a65179e6c830e7e4b.zip gcc-2e2c9da012227ba12ce89b6a65179e6c830e7e4b.tar.gz gcc-2e2c9da012227ba12ce89b6a65179e6c830e7e4b.tar.bz2 |
tree-core.h (enum tree_index): Add TI_CHREC_DONT_KNOW and TI_CHREC_KNOWN.
2019-07-02 Richard Biener <rguenther@suse.de>
* tree-core.h (enum tree_index): Add TI_CHREC_DONT_KNOW and
TI_CHREC_KNOWN.
* tree.h (chrec_not_analyzed_yet, chrec_dont_know, chrec_known):
Define here.
* tree.c (build_common_tree_nodes): Initialize them.
* tree-chrec.h (chrec_not_analyzed_yet, chrec_dont_know, chrec_known):
Make declarations comments.
* tree-scalar-evolution.c (chrec_not_analyzed_yet, chrec_dont_know,
chrec_known): Remove definitions.
(initialize_scalar_evolutions_analyzer): Remove.
(scev_initialize): Do not call initialize_scalar_evolutions_analyzer.
* tree-streamer.c (preload_common_nodes): Do not preload
TI_CHREC_DONT_KNOW or TI_CHREC_KNOWN.
From-SVN: r272928
Diffstat (limited to 'gcc/tree-streamer.c')
-rw-r--r-- | gcc/tree-streamer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c index b7bd276..fb2888d 100644 --- a/gcc/tree-streamer.c +++ b/gcc/tree-streamer.c @@ -377,6 +377,9 @@ preload_common_nodes (struct streamer_tree_cache_d *cache) && i != TI_TARGET_OPTION_CURRENT && i != TI_CURRENT_TARGET_PRAGMA && i != TI_CURRENT_OPTIMIZE_PRAGMA + /* SCEV state shouldn't reach the IL. */ + && i != TI_CHREC_DONT_KNOW + && i != TI_CHREC_KNOWN /* Skip va_list* related nodes if offloading. For native LTO we want them to be merged for the stdarg pass, for offloading they might not be identical between host and offloading target. */ |