]> git.feebdaed.xyz Git - 0xmirror/gcc.git/commit
ifcvt: Only allow scalar integral modes for noce_try_cond_zero_arith [PR123276]
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Tue, 23 Dec 2025 21:04:28 +0000 (13:04 -0800)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Wed, 24 Dec 2025 01:45:26 +0000 (17:45 -0800)
commit2680785a6d14d7d78550edb8361f3b47eb5c4cb6
tree1ab1c635f894a5a89d741579db7664edf0e73cdc
parent123a96fd4e471d582cf9b498f0a575be0fecd66e
ifcvt: Only allow scalar integral modes for noce_try_cond_zero_arith [PR123276]

This is the simple fix for PR 123276 where this code can only handle scalar
integral modes. We could in theory handle scalar floating point modes here
too but it is not worth the trouble.

Pushed as obvious after bootstrap/test on x86_64-linux-gnu.

PR rtl-optimization/123276
gcc/ChangeLog:

* ifcvt.cc (noce_try_cond_zero_arith): Reject non-scalar integral modes.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/ifcvt.cc