Do not use typeinfo to identify pass in pass manager.