summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-17 09:07:50 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-17 09:07:50 +0000
commitc95ce87c237796ffba0d53aa4d9927cb380cd7ce (patch)
tree2c95ab46274256862de8ef63f64dd94e750cee1a /lib/Transforms/Utils/LoopSimplify.cpp
parenta30ccb064b8e0d67c26e087b191561ee2e06aac9 (diff)
downloadllvm-c95ce87c237796ffba0d53aa4d9927cb380cd7ce.tar.gz
llvm-c95ce87c237796ffba0d53aa4d9927cb380cd7ce.tar.bz2
llvm-c95ce87c237796ffba0d53aa4d9927cb380cd7ce.tar.xz
Make the User::value_op_iterator a random access iterator. I had written
this code ages ago and lost track of it. Seems worth doing though -- this thing can get called from places that would benefit from knowing that std::distance is O(1). Also add a very fledgeling unittest for Users and make sure various aspects of this seem to work reasonably. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions