CloneModule stores the BasicBlock mapping in ValueMap. There's no need to
authorNick Lewycky <nicholas@mxc.ca>
Sat, 4 Apr 2009 09:39:23 +0000 (09:39 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 4 Apr 2009 09:39:23 +0000 (09:39 +0000)
commite032590f58e400ba25e416da5bee10a85ad6d114
treebff267789947c93b31cc93fa5da51eb4db6693bb
parent5a30f4f84a2cc3fab063514c5f3358c068b6d705
CloneModule stores the BasicBlock mapping in ValueMap. There's no need to
recompute it. This fixes a O(n^2) in number of blocks when reducing a crash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68422 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/CrashDebugger.cpp