This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/56766] Fails to combine (vec_select (vec_concat ...)) to (vec_merge ...)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56766

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
Created attachment 30073
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30073&action=edit
patch to recognize vec_merge

This passes bootstrap+testsuite. I had to swap tem1 and tem2 in the example,
which I think is in the wrong direction. I also had to change the addsub
pattern because it was always canonicalized to this form. I don't know if
that's what we want...


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