From e737c7ac63f1e4359c508601d5be60f7551b076d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 7 Sep 2001 22:20:50 +0000 Subject: [PATCH] Convert llc driver to standard tool format git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@496 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llc/llc.cpp | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index b71e8c101f3..9258bd43132 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -1,15 +1,9 @@ -// $Id$ -//*************************************************************************** -// File: -// llc.cpp -// -// Purpose: -// Driver for llc compiler. -// -// History: -// 7/15/01 - Vikram Adve - Created -// -//**************************************************************************/ +//===------------------------------------------------------------------------=== +// LLVM 'LLC' UTILITY +// +// This is the llc compiler driver. +// +//===------------------------------------------------------------------------=== #include "llvm/Bytecode/Reader.h" #include "llvm/Optimizations/Normalize.h" @@ -23,7 +17,6 @@ cl::String InputFilename ("", "Input filename", cl::NoFlags, "-"); cl::String OutputFilename("o", "Output filename", cl::NoFlags, ""); - static void NormalizeMethod(Method* method) { NormalizePhiConstantArgs(method); } @@ -36,8 +29,8 @@ static bool CompileModule(Module *M, TargetMachine &Target) { NormalizeMethod(Meth); if (SelectInstructionsForMethod(Meth, Target)) { - cerr << "Instruction selection failed for method " - << Meth->getName() << "\n\n"; + cerr << "Instruction selection failed for method " << Meth->getName() + << "\n\n"; return true; } -- 2.34.1