[llvm-commits] [PATCH 1/5] Remove the AugmentedUse struct.

Jay Foad jay.foad at gmail.com
Thu Jun 16 04:09:22 PDT 2011


I don't think the AugmentedUse struct buys us much, either in
correctness or in ease of use. Ditch it, and simplify Use::getUser() and
User::allocHungoffUses().

This isn't related to the other patches in this series, except that I
wanted to do it before creating PHINode::allocHungoffUses().
---
 include/llvm/Use.h  |   13 ++++---------
 lib/VMCore/Use.cpp  |    8 +++-----
 lib/VMCore/User.cpp |    8 ++------
 3 files changed, 9 insertions(+), 20 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-the-AugmentedUse-struct.patch
Type: text/x-patch
Size: 2368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110616/325cea54/attachment.bin>


More information about the llvm-commits mailing list