Visit instructions deterministically. Use a FIFO so as to approximately
authorDuncan Sands <baldrick@free.fr>
Tue, 21 Dec 2010 17:08:55 +0000 (17:08 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 21 Dec 2010 17:08:55 +0000 (17:08 +0000)
commit1cd0f4637bfb8c93996b09baec8bf2bb220b74ca
tree92fecca9b8c63fc47aa97f207794a0de4e7a565b
parent2965e69e040d86002128b91a439eb9bfc6b83df1
Visit instructions deterministically.  Use a FIFO so as to approximately
visit instructions before their uses, since InstructionSimplify does a
better job in that case.  All this prompted by Frits van Bommel.

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