commit | 47c6fd73172b07211ffaaad7189847ccd2416a73 | [log] [tgz] |
---|---|---|
author | Matthijs Kooijman <matthijs@stdin.nl> | Thu Jun 05 08:57:20 2008 +0000 |
committer | Matthijs Kooijman <matthijs@stdin.nl> | Thu Jun 05 08:57:20 2008 +0000 |
tree | b4ac9d823367bc2de5461c37d9b884e156489a4d | |
parent | 257da0a7fc2df19444e57e7c84a278c6c1b9b551 [diff] |
Let StructRetPromotion check if all if its users are really calls or invokesn, not other instructions. This fixes a crash with the added testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51992 91177308-0d34-0410-b5e6-96231b3b80d8