diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-10 23:07:18 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-10 23:07:18 +0000 |
commit | 91d598de5c518b822910007e17e63af0dffba15e (patch) | |
tree | 0746d955f51fa30872556e75a5920292b35b3031 /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | 8c10ff8f1354543201b96d8246d403d66fbef934 (diff) | |
download | bcm5719-llvm-91d598de5c518b822910007e17e63af0dffba15e.tar.gz bcm5719-llvm-91d598de5c518b822910007e17e63af0dffba15e.zip |
Give these files top-level comments that describe the current code.
llvm-svn: 81473
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r-- | llvm/lib/Analysis/ConstantFolding.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp index 109eaad4584..f07d03aa0f3 100644 --- a/llvm/lib/Analysis/ConstantFolding.cpp +++ b/llvm/lib/Analysis/ConstantFolding.cpp @@ -1,4 +1,4 @@ -//===-- ConstantFolding.cpp - Analyze constant folding possibilities ------===// +//===-- ConstantFolding.cpp - Fold instructions into constants ------------===// // // The LLVM Compiler Infrastructure // @@ -7,8 +7,12 @@ // //===----------------------------------------------------------------------===// // -// This family of functions determines the possibility of performing constant -// folding. +// This file defines routines for folding instructions into constants. +// +// Also, to supplement the basic VMCore ConstantExpr simplifications, +// this file defines some additional folding routines that can make use of +// TargetData information. These functions cannot go in VMCore due to library +// dependency issues. // //===----------------------------------------------------------------------===// |