summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ConstantRange.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-15 01:16:59 +0000
committerChris Lattner <sabre@nondot.org>2004-07-15 01:16:59 +0000
commit4bbd40974912f1619c850ea3aa3a706f11764e8a (patch)
treef59ad42d5abc87e0df91eebfd0e1c6b5075cb1f2 /llvm/lib/Support/ConstantRange.cpp
parent030f84f2158eee832758ad8fe2c094282feb37aa (diff)
downloadbcm5719-llvm-4bbd40974912f1619c850ea3aa3a706f11764e8a.tar.gz
bcm5719-llvm-4bbd40974912f1619c850ea3aa3a706f11764e8a.zip
Implement folding of expressions like 'uint cast (int* getelementptr (int*
null, uint 1) to uint)' to a constant integer. We can only do this with primitive LLVM types, because other types have target-specific sizes. llvm-svn: 14837
Diffstat (limited to 'llvm/lib/Support/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud