]> granicus.if.org Git - llvm/commit
IR: De-duplicate code for replacing operands in place
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Aug 2014 19:13:30 +0000 (19:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Aug 2014 19:13:30 +0000 (19:13 +0000)
commitbb69ce8c70f6a392fedc6ec520705f55b2e4fb0f
treeae4d645c1b50a01edd7095d7070b66d5a0ea7a43
parentf08cddcf560b1eb8401d405501e26cf3c3843fb4
IR: De-duplicate code for replacing operands in place

This is non-trivial and sits in three places.  Move it to
ConstantUniqueMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216007 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Constants.cpp
lib/IR/ConstantsContext.h