Re: [PATCH] phiopt: Fix a pasto in spaceship_replacement [PR117612]

2024-11-20 Thread Richard Biener
On Wed, 20 Nov 2024, Jakub Jelinek wrote: > Hi! > > When working on the PR117612 fix, I've noticed a pasto in > tree-ssa-phiopt.cc (spaceship_replacement). > The code is > if (absu_hwi (tree_to_shwi (arg2)) != 1) > return false; > if (e1->flags & EDGE_TRUE_VALUE) > { >

[PATCH] phiopt: Fix a pasto in spaceship_replacement [PR117612]

2024-11-20 Thread Jakub Jelinek
Hi! When working on the PR117612 fix, I've noticed a pasto in tree-ssa-phiopt.cc (spaceship_replacement). The code is if (absu_hwi (tree_to_shwi (arg2)) != 1) return false; if (e1->flags & EDGE_TRUE_VALUE) { if (tree_to_shwi (arg0) != 2 || absu_h