Re: [x86 PATCH] Fix issue with x86_64_const_vector_operand predicate.

2022-07-18 Thread Uros Bizjak via Gcc-patches
On Sat, Jul 16, 2022 at 2:06 PM Roger Sayle wrote: > > > This patch fixes (what I believe is) a latent bug in i386.md's > x86_64_const_vector_operand define_predicate. According to the > documentation, when a predicate is called with rtx operand OP and > machine_mode operand MODE, we can't

[x86 PATCH] Fix issue with x86_64_const_vector_operand predicate.

2022-07-16 Thread Roger Sayle
This patch fixes (what I believe is) a latent bug in i386.md's x86_64_const_vector_operand define_predicate. According to the documentation, when a predicate is called with rtx operand OP and machine_mode operand MODE, we can't shouldn't assume that the MODE is (or has been checked to be)