Less strip_offset in IVOPTs
commitb54d0f29590d21991f519c5b70cc74e6309aa2f6
authorRichard Biener <rguenther@suse.de>
Wed, 21 Jun 2023 10:08:01 +0000 (21 12:08 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 21 Jun 2023 11:38:10 +0000 (21 13:38 +0200)
tree46720a419d1610548f5bd45e28f2b6a099ca321a
parent5d88932657de239a941ad84ef0996a906ecd8fe9
Less strip_offset in IVOPTs

This avoids one strip_offset use in add_iv_candidate_for_use where
we know it operates on a sizetype quantity.

* tree-ssa-loop-ivopts.cc (add_iv_candidate_for_use): Use
split_constant_offset for the POINTER_PLUS_EXPR case.
gcc/tree-ssa-loop-ivopts.cc