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] |
tree if conversion is an enabler pass for vectorization, so by default, it is only turned on when vectorization is on, but may also depend on the optimization level. Currently, the logic to handle this is in the gate function which become hard to understand and extend. The proposed patch move the logic from the gate function to 'finish_option' which is much clearer. The downside of this patch is that function specific optimization node needs to be created for some cases during omp-lowering. Comments? thanks, David
Attachment:
tree_if_cvt_opt.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |