Re: [PATCH] reassoc: Fix up optimize_range_tests_to_bit_test [PR114965]

2024-05-08 Thread Richard Biener
On Wed, 8 May 2024, Jakub Jelinek wrote: > Hi! > > The optimize_range_tests_to_bit_test optimization normally emits a range > test first: > if (entry_test_needed) > { > tem = build_range_check (loc, optype, unshare_expr (exp), >

[PATCH] reassoc: Fix up optimize_range_tests_to_bit_test [PR114965]

2024-05-08 Thread Jakub Jelinek
Hi! The optimize_range_tests_to_bit_test optimization normally emits a range test first: if (entry_test_needed) { tem = build_range_check (loc, optype, unshare_expr (exp), false, lowi, high); if (tem ==