InsertValue and ExtractValue constant expressions are always
[oota-llvm.git] / include / llvm / InstrTypes.h
index 386c00118fac3e2e070ca9b33d12afb653cf1deb..0a3fbed804f0604b0d5160db13116ad15188a9fe 100644 (file)
@@ -118,6 +118,7 @@ public:
            I->getOpcode() == Instruction::Load ||
            I->getOpcode() == Instruction::VAArg ||
            I->getOpcode() == Instruction::GetResult ||
+           I->getOpcode() == Instruction::ExtractValue ||
            (I->getOpcode() >= CastOpsBegin && I->getOpcode() < CastOpsEnd);
   }
   static inline bool classof(const Value *V) {