Skip to content
Commit c6d17e29 authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 92220
parent f543eff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment