aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-04-24 06:24:22 +0200
committerRichard Biener <rguenther@suse.de>2024-04-24 10:11:00 +0200
commite28e8ab1a92e9b49f7c4045377577c8dc17751b7 (patch)
tree2239cbdc97c12fb2bd6a49e8459af06b52008668 /gcc/tree-cfg.cc
parentd279c9d89b2f6ce89c1eec0ff4b980e9c5f51fd1 (diff)
downloadgcc-e28e8ab1a92e9b49f7c4045377577c8dc17751b7.zip
gcc-e28e8ab1a92e9b49f7c4045377577c8dc17751b7.tar.gz
gcc-e28e8ab1a92e9b49f7c4045377577c8dc17751b7.tar.bz2
tree-optimization/114832 - wrong dominator info with vect peeling
When we update the dominator of the redirected exit after peeling we check whether the immediate dominator was the loop header rather than the exit source when we later want to just update it to the new source. The following fixes this oversight. PR tree-optimization/114832 * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg): Fix dominance check. * gcc.dg/vect/pr114832.c: New testcase.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions