[PATCH] Fix rs6000 vector select RTL patterns (PR target/49621)

2011-07-08 Thread Jakub Jelinek
Hi! As mentioned in the PR, IMNSHO the rs6000 vector_select_* patterns are invalid RTL, they compare a vector register in some vector mode to const0_rtx instead of corresponding vector zero constant. The Comparison Operations section of RTL docs says: The mode of the comparison is determined by

Re: [PATCH] Fix rs6000 vector select RTL patterns (PR target/49621)

2011-07-08 Thread David Edelsohn
On Fri, Jul 8, 2011 at 8:40 AM, Jakub Jelinek ja...@redhat.com wrote: Hi! As mentioned in the PR, IMNSHO the rs6000 vector_select_* patterns are invalid RTL, they compare a vector register in some vector mode to const0_rtx instead of corresponding vector zero constant. The Comparison