aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/LowLevelType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/LowLevelType.cpp')
-rw-r--r--lib/Support/LowLevelType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/LowLevelType.cpp b/lib/Support/LowLevelType.cpp
index 0ee3f1d0119..cb2187405d6 100644
--- a/lib/Support/LowLevelType.cpp
+++ b/lib/Support/LowLevelType.cpp
@@ -43,7 +43,7 @@ void LLT::print(raw_ostream &OS) const {
assert(isScalar() && "unexpected type");
OS << "s" << getScalarSizeInBits();
} else
- llvm_unreachable("trying to print an invalid type");
+ OS << "LLT_invalid";
}
const constexpr LLT::BitFieldInfo LLT::ScalarSizeFieldInfo;