diff options
author | Duncan Sands <baldrick@free.fr> | 2008-08-12 09:43:15 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-08-12 09:43:15 +0000 |
commit | a21e4d6fe6de397866fc58409a9296c20f69135c (patch) | |
tree | cf32658ef00c053902d9822b458d842645ac0e08 /llvm/include/llvm/Support/ConstantFolder.h | |
parent | 7bd00bda05cf2d6a1541fa3ba859c9b134f857f2 (diff) | |
download | bcm5719-llvm-a21e4d6fe6de397866fc58409a9296c20f69135c.tar.gz bcm5719-llvm-a21e4d6fe6de397866fc58409a9296c20f69135c.zip |
Point people to ConstantExpr and ConstantFolding,
in case they get the wrong idea. Fit in 80 columns.
llvm-svn: 54676
Diffstat (limited to 'llvm/include/llvm/Support/ConstantFolder.h')
-rw-r--r-- | llvm/include/llvm/Support/ConstantFolder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/ConstantFolder.h b/llvm/include/llvm/Support/ConstantFolder.h index 8c36e8bb506..1d693eee1be 100644 --- a/llvm/include/llvm/Support/ConstantFolder.h +++ b/llvm/include/llvm/Support/ConstantFolder.h @@ -7,8 +7,10 @@ // //===----------------------------------------------------------------------===// // -// This file defines the ConstantFolder class, which provides a set of methods -// for creating constants, with minimal folding. +// This file defines the ConstantFolder class, a helper for IRBuilder. +// It provides IRBuilder with a set of methods for creating constants +// with minimal folding. For general constant creation and folding, +// use ConstantExpr and the routines in llvm/Analysis/ConstantFolding.h. // //===----------------------------------------------------------------------===// |