Thanks for the feedback.
The comparison between a const_imm12_operand and (const_int 1) does indeed
perform a universal process of constant folding before any tree based
optimization.
I will fix it in patch v2.
在 2024/3/4 下午5:18, Xi Ruoyao 写道:
On Mon, 2024-03-04 at 11:03 +0800, Guo Jie wro
On Mon, 2024-03-04 at 11:03 +0800, Guo Jie wrote:
> The constraint of op[1] is inconsistent with the output template.
>
> gcc/ChangeLog:
>
> * config/loongarch/loongarch.md
> (define_insn "*sge_"): Fix inconsistency
> error.
>
> ---
> gcc/config/loongarch/loongarch.md | 4 ++--
The constraint of op[1] is inconsistent with the output template.
gcc/ChangeLog:
* config/loongarch/loongarch.md
(define_insn "*sge_"): Fix inconsistency
error.
---
gcc/config/loongarch/loongarch.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/