diff options
author | Richard Biener <rguenther@suse.de> | 2025-06-05 14:23:06 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-06-06 09:16:01 +0200 |
commit | 4a80eaefd93c2f1f7c9b71dbc1b97783214b7b2f (patch) | |
tree | f2f2d3c7af46a8c58a73b4b7734f4652c350d41e /libstdc++-v3/testsuite/std | |
parent | c6eb92973ea308e248ce23927a9ac58ef81ee7a2 (diff) | |
download | gcc-4a80eaefd93c2f1f7c9b71dbc1b97783214b7b2f.zip gcc-4a80eaefd93c2f1f7c9b71dbc1b97783214b7b2f.tar.gz gcc-4a80eaefd93c2f1f7c9b71dbc1b97783214b7b2f.tar.bz2 |
tree-optimization/120032 - CLZ matching, fallback for missing range-info
The following allows us to emit a conditional move when the value
of the table based CLZ/CLZ implementation at zero differs from what
the target implementation guarantees or we cannot easily fixup
otherwise. In that case emit a val == 0 ? table-based-zero-result : ...
PR tree-optimization/120032
* tree-ssa-forwprop.cc (simplify_count_zeroes): When we cannot use
the IFN to determine the result at zero use a conditional move
to reproduce the correct result from the table-based
algorithm.
* gcc.target/i386/pr120032-3.c: New testcase.
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions