forked from OSchip/llvm-project
[GlobalISel] Add LLT raw_ostream operator<< overload.
Helpful when debugging; will be used in the following commit. llvm-svn: 277170
This commit is contained in:
parent
254f889dc5
commit
5c98b60ecc
|
@ -179,6 +179,11 @@ private:
|
|||
TypeKind Kind;
|
||||
};
|
||||
|
||||
inline raw_ostream& operator<<(raw_ostream &OS, const LLT &Ty) {
|
||||
Ty.print(OS);
|
||||
return OS;
|
||||
}
|
||||
|
||||
template<> struct DenseMapInfo<LLT> {
|
||||
static inline LLT getEmptyKey() {
|
||||
return LLT{LLT::Invalid, 0, -1u};
|
||||
|
|
Loading…
Reference in New Issue