-time-passes vs multiple pass managers

Hi,

I'm using a command line compiler driver
(https://github.com/GPUOpen-Drivers/llpc/blob/dev/llpc/docs/amdllpc.md)
that runs two separate pass pipelines with separate (legacy) pass
managers: first an IR optimization pipeline, and then a codegen
pipeline.

I have noticed that -time-passes sometimes prints the wrong name for
passes in the report: