Index: include/llvm/Target/TargetOpcodes.h =================================================================== --- include/llvm/Target/TargetOpcodes.h +++ include/llvm/Target/TargetOpcodes.h @@ -35,7 +35,7 @@ /// Check whether the given Opcode is a target-specific opcode. static inline bool isTargetSpecificOpcode(unsigned Opcode) { - return Opcode > TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END; + return !isPreISelGenericOpcode(Opcode); } } // end namespace llvm