aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2024-10-13 11:09:14 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2024-10-14 07:32:34 -0700
commit0110a381de6b843c0d7dcb7fcd563a678a763ddb (patch)
tree89a321672e9aaa0519560516a5bbc6a09bf3f68a /gcc/fold-const.cc
parent56efa627cb435a7a2a18f1a86c89621001cc7e56 (diff)
downloadgcc-0110a381de6b843c0d7dcb7fcd563a678a763ddb.zip
gcc-0110a381de6b843c0d7dcb7fcd563a678a763ddb.tar.gz
gcc-0110a381de6b843c0d7dcb7fcd563a678a763ddb.tar.bz2
passes: Allow for second param for NEXT_PASS
Right now we currently only support 1 parameter for each pass in NEXT_PASS. We also don't error out if someone tries to use more than 1. This adds support for more than one but only to a max of max_number_args (which is currently 2). In the next patch, this will be used for DCE, adding a new parameter. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * gen-pass-instances.awk (END): Handle processing of multiple arguments to NEXT_PASS. Also error out if using more than max_number_args (2). * pass_manager.h (NEXT_PASS_WITH_ARG2): New define. * passes.cc (NEXT_PASS_WITH_ARG2): New define. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions