Simplify this pass by using a depth-first iterator to ensure that all
commit8a3d29cf1064e8efbb8c8d5d4653ad147c7b037e
authorDuncan Sands <baldrick@free.fr>
Fri, 31 Dec 2010 17:49:05 +0000 (31 17:49 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 31 Dec 2010 17:49:05 +0000 (31 17:49 +0000)
tree503502760cc379c8d887d7490d692853e3a2fa4f
parentfea0b8b66604439aebf7e2b0f850ef5b7b0a6ed9
Simplify this pass by using a depth-first iterator to ensure that all
operands are visited before the instructions themselves.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyInstructions.cpp