Use covariant return types for Instruction::clone, and eliminate
authorDan Gohman <gohman@apple.com>
Tue, 25 Aug 2009 22:29:08 +0000 (22:29 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 25 Aug 2009 22:29:08 +0000 (22:29 +0000)
commit30f809196362b497eef743ef60acd0724e97654b
treee8116041dd853a17abe553fb9aeac2de96aeb7a8
parentd8110fb7264993f30133c532cd074313bead0afa
Use covariant return types for Instruction::clone, and eliminate
the forms of ExtractElementInst and InsertElementInst that are
equivalent to clone.

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