[llvm-commits] [PATCH 2/5] Make better use of the PHINode API.

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


Change various bits of code to make better use of the existing PHINode
API, to insulate them from forthcoming changes in how PHINodes store
their operands.
---
 lib/Bitcode/Writer/BitcodeWriter.cpp   |   12 ++++++++----
 lib/Target/CppBackend/CPPBackend.cpp   |    5 +++--
 lib/Transforms/Scalar/GVN.cpp          |   13 +++++++++----
 lib/Transforms/Scalar/LoopRotation.cpp |    2 +-
 lib/VMCore/AsmWriter.cpp               |    8 ++++----
 lib/VMCore/BasicBlock.cpp              |    4 ++--
 lib/VMCore/Verifier.cpp                |   11 +++++++----
 7 files changed, 34 insertions(+), 21 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Make-better-use-of-the-PHINode-API.patch
Type: text/x-patch
Size: 7283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110616/a9914f70/attachment.bin>


More information about the llvm-commits mailing list