> Does immediate_operand () work instead of a new predicate?

Thanks Robin, the immediate_operand works well here, let me send v2 if no 
surprise from test.

Pan

-----Original Message-----
From: Robin Dapp <rdapp....@gmail.com> 
Sent: Friday, June 20, 2025 5:29 PM
To: Li, Pan2 <pan2...@intel.com>; gcc-patches@gcc.gnu.org
Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; 
rdapp....@gmail.com; Chen, Ken <ken.c...@intel.com>; Liu, Hongtao 
<hongtao....@intel.com>; Robin Dapp <rdapp....@gmail.com>
Subject: Re: [PATCH v1] RISC-V: Fix ICE for expand_select_vldi [PR120652]

Hi Pan,

> +(define_special_predicate "vectorization_factor_operand"
> +  (match_code "const_int,const_poly_int"))
> +

Does immediate_operand () work instead of a new predicate?

-- 
Regards
 Robin

Reply via email to