diff options
| author | Dan Gohman <gohman@apple.com> | 2010-11-11 21:23:25 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-11-11 21:23:25 +0000 |
| commit | a826a887550a4fc706516a9d8861acd5a5efd693 (patch) | |
| tree | 4bd54d98e9819e7ed2481a9425783c233e1b391a /llvm/lib/System/TimeValue.cpp | |
| parent | cdab9f1933ba3ea1f1214499917b55975d36aaa5 (diff) | |
| download | bcm5719-llvm-a826a887550a4fc706516a9d8861acd5a5efd693.tar.gz bcm5719-llvm-a826a887550a4fc706516a9d8861acd5a5efd693.zip | |
Factor out Instruction::isSafeToSpeculativelyExecute's code for
testing for dereferenceable pointers into a helper function,
isDereferenceablePointer. Teach it how to reason about GEPs
with simple non-zero indices.
Also eliminate ArgumentPromtion's IsAlwaysValidPointer,
which didn't check for weak externals or out of range gep
indices.
llvm-svn: 118840
Diffstat (limited to 'llvm/lib/System/TimeValue.cpp')
0 files changed, 0 insertions, 0 deletions

