Switch SROA to pop Uses off the back of its visitors' queues.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 9 Dec 2012 11:56:01 +0000 (11:56 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 9 Dec 2012 11:56:01 +0000 (11:56 +0000)
commit0da9175d90bcd202810ebef1b51d18d9ed0f9a98
treedb2232f44803c03a86c3a6f3249e15cec11bc6a8
parentf81093a826f815596d7db8e93abd71021384c4fd
Switch SROA to pop Uses off the back of its visitors' queues.

This will more closely match the behavior of the new PtrUseVisitor that
I am adding. Hopefully this will not change the actual behavior in any
way, but by making the processing order more similar help in debugging.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169697 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp