mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 11:42:42 +00:00

The two nested loops were confusing and also conservative in identifying reduction variables. This patch replaces them by a worklist based approach. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181369 91177308-0d34-0410-b5e6-96231b3b80d8