Move the special cases for constants out of getUnknown and into
authorDan Gohman <gohman@apple.com>
Wed, 24 Jun 2009 00:54:57 +0000 (00:54 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 24 Jun 2009 00:54:57 +0000 (00:54 +0000)
commit6bbcba18db6d1f4bc0f0157df41cc02627bc4aa9
treedef5e86ca64fb718c3d4b6e52e4b6d968e2eb382
parentcbc23f75cd8cd6889fd02f65b63f6c02512460bd
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
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp