aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2024-09-19 11:03:33 +0800
committerPan Li <pan2.li@intel.com>2024-09-19 14:44:46 +0800
commit65e060c7d8b68653ce8dc2029233b3eff5ced587 (patch)
treef8f3e640d00fa7010028e556e6c3cbe1d22163eb /gcc/fortran
parent877fb9bdb06d18df51c6043f74dde66fe6f46b78 (diff)
downloadgcc-65e060c7d8b68653ce8dc2029233b3eff5ced587.zip
gcc-65e060c7d8b68653ce8dc2029233b3eff5ced587.tar.gz
gcc-65e060c7d8b68653ce8dc2029233b3eff5ced587.tar.bz2
Match: Add interface match_cond_with_binary_phi for true/false arg
When matching the cond with 2 args phi node, we need to figure out which arg of phi node comes from the true edge of cond block, as well as the false edge. This patch would like to add interface to perform the action and return the true and false arg in TREE type. The below test suites are passed for this patch. * The rv64gcv fully regression test. * The x86 bootstrap test. * The x86 fully regression test. gcc/ChangeLog: * gimple-match-head.cc (match_cond_with_binary_phi): Add new func impl to match binary phi for true and false arg. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions