message: Don't write clif ir by default when debug assertions are enabled
diff: @@ -201,9 +201,7 @@ pub(crate) fn add_comment<S: Into<String> + AsRef<str>, E: Into<AnyEntity>>(
  }
  pub(crate) fn should_write_ir(tcx: TyCtxt<'_>) -> bool {
  - cfg!(debug_assertions)
  - || tcx
  - .sess
  + tcx.sess
  .opts
  .output_types
  .contains_key(&OutputType::LlvmAssembly)
  