message: [XLA/GPU] Fix the IR dumping to propagate the suffix correctly.
diff: @@ -590,11 +590,10 @@ void DumpIrIfEnabled(const HloModule& hlo_module,
  // We can end up compiling different modules with the same name when using
  // XlaJitCompiledCpuFunction::Compile. Avoid overwriting IR files previously
  // dumped from the same process in such cases.
  - string suffix = absl::StrCat("ir-", optimized ? "with" : "no", "-opt");
  - DumpToFileInDirOrStdout(
  - hlo_module, "",
  - absl::StrCat(suffix, filename_suffix.empty() ? "" : ".", filename_suffix,
  - ".ll"),
  + string suffix =
  + absl::StrCat("ir-", optimized ? "with" : "no", "-opt",
  + filename_suffix.empty() ? "" : ".", filename_suffix);
  + DumpToFileInDirOrStdout(hlo_module, "", absl::StrCat(suffix, ".ll"),
  DumpModuleToString(llvm_module));
  // For some models the embedded constants can be huge, so also dump the module
  