diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-15 01:16:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-15 01:16:59 +0000 |
commit | 4bbd40974912f1619c850ea3aa3a706f11764e8a (patch) | |
tree | f59ad42d5abc87e0df91eebfd0e1c6b5075cb1f2 /llvm/lib/Support/ConstantRange.cpp | |
parent | 030f84f2158eee832758ad8fe2c094282feb37aa (diff) | |
download | bcm5719-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