diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-28 09:24:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-28 09:24:53 +0000 |
commit | 496425774e8adbc526e298f91f4c6980177c1d7f (patch) | |
tree | 4caa69dec7a6854bfccb11d17774b3a67a798095 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | f2410180d07cb1ca074ad2a9b8538bc64895e68b (diff) |
Eliminate two bits of ugliness in MDNode::replaceElement:
eliminate the temporary smallvector, and only do FindNodeOrInsertPos
twice if the first one succeeds and we delete a node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
0 files changed, 0 insertions, 0 deletions