OSDN Git Service

Avoid infinite looping in AllGlobalLoadUsesSimpleEnoughForHeapSRA(). This can happen...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 2 Jun 2009 00:56:07 +0000 (00:56 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 2 Jun 2009 00:56:07 +0000 (00:56 +0000)
commit5d16396a33bfaa76da99c97c526a737af9618d05
tree04664029aa51e88a6513698524f46b5c9837141e
parentca46fdd2842df344a77293ac8a3949f4eb9a0148
Avoid infinite looping in AllGlobalLoadUsesSimpleEnoughForHeapSRA(). This can happen when PHI uses are recursively dependent on each other.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72710 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/2009-06-01-RecursivePHI.ll [new file with mode: 0644]