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]

Re: [PATCH]: Improved handling of COND_EXPR in middle-end passes


I'm starting to wonder if it wouldn't be better to disallow

lval = COND_EXPR

in GIMPLE. Passes that benefit from this (if-conversion for the vectorizer) could temporarily break this rule to get extended BBs.

But I'm not convinced either way. Not allowing COND_EXPRs on the RHS of an assignment would certainly make life more difficult for these passes.


Thoughts?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]