Make opt honor the quiet option when printing the bytecode warning.

llvm-svn: 19294
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 949c9b1..56bc16b 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -118,7 +118,7 @@
     // If the output is set to be emitted to standard out, and standard out is a
     // console, print out a warning message and refuse to do it.  We don't impress
     // anyone by spewing tons of binary goo to a terminal.
-    if (!Force && !NoOutput && !Quiet && CheckBytecodeOutputToConsole(Out)) {
+    if (!Force && !NoOutput && CheckBytecodeOutputToConsole(Out,!Quiet)) {
       NoOutput = true;
     }