------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-31 09:40 ------- With new tree-codes instead of using COND_EXPR we may use the tree-vectorizers if-conversion and make expand preserve the conditional moves.
Also it shouldn't be too hard to hack rtl if-conversion to handle the case of exactly two set's in the then/else block, too, and that may turn out to be profitable always. Is there any arch whose conditional move will kill condition codes? RTL is not my best friend (yet), but ifcvt doens't look too bad either ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22568