aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-24 00:54:57 +0000
committerDan Gohman <gohman@apple.com>2009-06-24 00:54:57 +0000
commit984c78acc6fbeccf2ce9f74b66980327e6f50041 (patch)
treedef5e86ca64fb718c3d4b6e52e4b6d968e2eb382 /include/llvm/Analysis
parent7a3716d43c2bdd3f9d9a6b5be17b7e60a8543f65 (diff)
downloadexternal_llvm-984c78acc6fbeccf2ce9f74b66980327e6f50041.zip
external_llvm-984c78acc6fbeccf2ce9f74b66980327e6f50041.tar.gz
external_llvm-984c78acc6fbeccf2ce9f74b66980327e6f50041.tar.bz2
Move the special cases for constants out of getUnknown and into
createSCEV. Also, recognize UndefValue in createSCEV. Change getIntegerSCEV's comment to avoid mentioning FP types, and re-implement it in terms of getConstant instead of getUnknown. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 311d0d0..cc9f9cc 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -462,7 +462,7 @@ namespace llvm {
/// widening.
const SCEV* getTruncateOrNoop(const SCEV* V, const Type *Ty);
- /// getIntegerSCEV - Given an integer or FP type, create a constant for the
+ /// getIntegerSCEV - Given a SCEVable type, create a constant for the
/// specified signed integer value and return a SCEV for the constant.
const SCEV* getIntegerSCEV(int Val, const Type *Ty);