summaryrefslogtreecommitdiff
path: root/include/llvm/InstrTypes.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-07-08 03:04:38 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-07-08 03:04:38 +0000
commit7f6aa2b162e5daaf7b9ccf05d749597d3d7cf460 (patch)
tree7f1696da48ecf7a060d0c9322198de79ae1cfedb /include/llvm/InstrTypes.h
parent34a0fa362dde63cf9adf5917ab2ee2c2b7dd2179 (diff)
downloadllvm-7f6aa2b162e5daaf7b9ccf05d749597d3d7cf460.tar.gz
llvm-7f6aa2b162e5daaf7b9ccf05d749597d3d7cf460.tar.bz2
llvm-7f6aa2b162e5daaf7b9ccf05d749597d3d7cf460.tar.xz
Remove the vicmp and vfcmp instructions. Because we never had a release with
these instructions, no autoupgrade or backwards compatibility support is provided. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InstrTypes.h')
-rw-r--r--include/llvm/InstrTypes.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index 1eab983da6..0a018de5e9 100644
--- a/include/llvm/InstrTypes.h
+++ b/include/llvm/InstrTypes.h
@@ -655,14 +655,12 @@ public:
static inline bool classof(const CmpInst *) { return true; }
static inline bool classof(const Instruction *I) {
return I->getOpcode() == Instruction::ICmp ||
- I->getOpcode() == Instruction::FCmp ||
- I->getOpcode() == Instruction::VICmp ||
- I->getOpcode() == Instruction::VFCmp;
+ I->getOpcode() == Instruction::FCmp;
}
static inline bool classof(const Value *V) {
return isa<Instruction>(V) && classof(cast<Instruction>(V));
}
- /// @brief Create a result type for fcmp/icmp (but not vicmp/vfcmp)
+ /// @brief Create a result type for fcmp/icmp
static const Type* makeCmpResultType(const Type* opnd_type) {
if (const VectorType* vt = dyn_cast<const VectorType>(opnd_type)) {
return VectorType::get(Type::Int1Ty, vt->getNumElements());