diff options
Diffstat (limited to 'contrib/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h')
-rw-r--r-- | contrib/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h b/contrib/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h index 0fc8b3ef80dd..e5e92fc81f50 100644 --- a/contrib/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h +++ b/contrib/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h @@ -351,10 +351,7 @@ namespace llvm { std::string getQualifiedName() const; ArrayRef<ValueTypeByHwMode> getValueTypes() const { return VTs; } unsigned getNumValueTypes() const { return VTs.size(); } - - bool hasType(const ValueTypeByHwMode &VT) const { - return llvm::is_contained(VTs, VT); - } + bool hasType(const ValueTypeByHwMode &VT) const; const ValueTypeByHwMode &getValueTypeNum(unsigned VTNum) const { if (VTNum < VTs.size()) |