This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch caches initialization statements and only inserts it for valid chains. Looks like current code even inserts such stmts for invalid chains which will be deleted as dead code afterwards. Bootstrap and test on x86_64 and AArch64, is it OK? Thanks, bin 2017-05-10 Bin Cheng <bin.cheng@arm.com> * tree-predcom.c (struct chain): New field init_seq. (prepare_initializers_chain): Record intialization stmts in above field. Discard it if chain is invalid. (insert_init_seqs): New function. (tree_predictive_commoning_loop): Call insert_init_seqs.
Attachment:
0005-chain-init-seq-20170102.txt
Description: 0005-chain-init-seq-20170102.txt
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |