aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-04-04 00:09:27 +0000
committerAndrew Pinski <apinski@marvell.com>2023-04-18 07:39:54 -0700
commit529489825677968e6e60dba41ed8f3d046141727 (patch)
tree3d9e6fa98c0694e29a7c83c117d8c384f24f313e /gcc/bitmap.h
parentdecd9de45064d9c14fa3b153d84ad42573d1b34d (diff)
downloadgcc-529489825677968e6e60dba41ed8f3d046141727.zip
gcc-529489825677968e6e60dba41ed8f3d046141727.tar.gz
gcc-529489825677968e6e60dba41ed8f3d046141727.tar.bz2
PHIOPT: add folding/simplification detail to the dump
While debugging PHI-OPT with match-and-simplify, I found that adding more dumping to the debug dumps made it easier to understand what was going on rather than stepping in the debugger so this adds them. Note I used TDF_FOLDING rather than TDF_DETAILS as these debug messages can be chatty and only needed if you are debugging match and simplify with PHI-OPT and match and simplify uses TDF_FOLDING as its check. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. gcc/ChangeLog: * tree-ssa-phiopt.cc (gimple_simplify_phiopt): Dump the expression that is being tried when TDF_FOLDING is true. (phiopt_worker::match_simplify_replacement): Dump the sequence which was created by gimple_simplify_phiopt when TDF_FOLDING is true.
Diffstat (limited to 'gcc/bitmap.h')
0 files changed, 0 insertions, 0 deletions