swr/rast: silence write of cfg graph
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 1 May 2017 22:26:19 +0000 (17:26 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 30 May 2017 22:20:39 +0000 (17:20 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp

index 2009db09febd2beab1b3dc4d81d5941c964bf5f0..49b06f738f4710f94e9f4b5ffb60af00a72725be 100644 (file)
@@ -264,10 +264,10 @@ void JitManager::DumpToFile(Function *f, const char *fileName)
 #endif
         fd.flush();
 
-        raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text);
-        WriteGraph(fd_cfg, (const Function*)f);
+        //raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text);
+        //WriteGraph(fd_cfg, (const Function*)f);
 
-        fd_cfg.flush();
+        //fd_cfg.flush();
     }
 }