Give LowerSubregs.cpp a top-level description.

llvm-svn: 56596
This commit is contained in:
Dan Gohman 2008-09-24 23:44:12 +00:00
parent efd1f614ff
commit 4855b659d9

View File

@ -6,6 +6,13 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines a MachineFunction pass which runs after register
// allocation that turns subreg insert/extract instructions into register
// copies, as needed. This ensures correct codegen even if the coalescer
// isn't able to remove all subreg instructions.
//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "lowersubregs"
#include "llvm/CodeGen/Passes.h"