match.pd: don't emit label if not needed
commit580cda3c2799b1f8323af770e52f1eb0fa204718
authorTamar Christina <tamar.christina@arm.com>
Fri, 5 May 2023 12:35:17 +0000 (5 13:35 +0100)
committerTamar Christina <tamar.christina@arm.com>
Fri, 5 May 2023 12:47:35 +0000 (5 13:47 +0100)
tree56ae3df770de136ea42a44f7b52cb433f4cd17fe
parent124bc77ba9868db07d284b4dea31797da1468515
match.pd: don't emit label if not needed

This is a small QoL codegen improvement for match.pd to not emit labels when
they are not needed.  The codegen is nice and there is a small (but consistent)
improvement in compile time.

gcc/ChangeLog:

PR bootstrap/84402
* genmatch.cc (dt_simplify::gen_1): Only emit labels if used.
gcc/genmatch.cc