aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop-manip.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-10-23 11:25:17 +0200
committerRichard Biener <rguenther@suse.de>2023-10-23 12:32:00 +0200
commitd96bd4aade170fcd86f5f09b68b770dde798e631 (patch)
tree7c279d74aa1be4649df8b1bcf93af9b2a22a4cd7 /gcc/tree-vect-loop-manip.cc
parent0c4bd1321a6def5eb44c530e83b01a415633b660 (diff)
downloadgcc-d96bd4aade170fcd86f5f09b68b770dde798e631.zip
gcc-d96bd4aade170fcd86f5f09b68b770dde798e631.tar.gz
gcc-d96bd4aade170fcd86f5f09b68b770dde798e631.tar.bz2
tree-optimization/111917 - bougs IL after guard hoisting
The unswitching code to hoist guards inserts conditions in wrong places. The following fixes this, simplifying code. PR tree-optimization/111917 * tree-ssa-loop-unswitch.cc (hoist_guard): Always insert new conditional after last stmt. * gcc.dg/torture/pr111917.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions