]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/102008 - restore if-conversion of adjacent loads
authorRichard Biener <rguenther@suse.de>
Wed, 16 Mar 2022 12:39:31 +0000 (13:39 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 16 Mar 2022 13:00:35 +0000 (14:00 +0100)
commitf6fb661ea8ac7e17c6924719de6219f002c4efef
treed564d09225f6ffcdf32d93e02a5de82bf16e5bc4
parent5809bb4f78c9aae0f3be3c8d942b6af75ba23a74
tree-optimization/102008 - restore if-conversion of adjacent loads

The following re-orders the newly added code sinking pass before
the last phiopt pass which performs hoisting of adjacent loads
with the intent to enable if-conversion on those.

I've added the aarch64 specific testcase from the PR.

2022-03-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/102008
* passes.def: Move the added code sinking pass before the
preceeding phiopt pass.

* gcc.target/aarch64/pr102008.c: New testcase.
gcc/passes.def
gcc/testsuite/gcc.target/aarch64/pr102008.c [new file with mode: 0644]
This page took 0.062945 seconds and 6 git commands to generate.