sink clone() down the class hierarchy from CmpInst into ICmpInst/FCmpInst.
authorChris Lattner <sabre@nondot.org>
Fri, 24 Aug 2007 20:48:18 +0000 (20:48 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 24 Aug 2007 20:48:18 +0000 (20:48 +0000)
commitcd406fe1236a1e0a7f210676768ddd3f69e23166
tree8fb8ce727177526162e5d9dc972c949d7fee24f5
parent7097e9a7103ce92405d17965f573378007efa7ce
sink clone() down the class hierarchy from CmpInst into ICmpInst/FCmpInst.
This eliminates a conditional on that path, and ensures ICmpInst/FCmpInst
both have an out-of-line virtual method to home the class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41371 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InstrTypes.h
include/llvm/Instructions.h
lib/VMCore/Instructions.cpp