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 | 20df07ba22c0b7e907c1a7912b5d3d1d2fb948db (patch) | |
tree | bf770f2545e66cbe30e8d90b9e4716b85d39fc00 /include/llvm/Support/ConstantFolder.h | |
parent | 721e59cfb29024ffad7204f05ad75b678ae7df63 (diff) | |
download | llvm-20df07ba22c0b7e907c1a7912b5d3d1d2fb948db.tar.gz llvm-20df07ba22c0b7e907c1a7912b5d3d1d2fb948db.tar.bz2 llvm-20df07ba22c0b7e907c1a7912b5d3d1d2fb948db.tar.xz |
Point people to ConstantExpr and ConstantFolding,
in case they get the wrong idea. Fit in 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ConstantFolder.h')
-rw-r--r-- | include/llvm/Support/ConstantFolder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Support/ConstantFolder.h b/include/llvm/Support/ConstantFolder.h index 8c36e8bb50..1d693eee1b 100644 --- a/include/llvm/Support/ConstantFolder.h +++ b/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. // //===----------------------------------------------------------------------===// |