From 7adbcdcc55c2d331eb90119c26d80e287895a59f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 30 Aug 2019 17:34:29 +0000 Subject: [PATCH] [ValueTypes] Add v16f16 and v32f16 to EVT::getEVTString and Tablegen's getEnumName Missed these when I hadded the enum entries git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370494 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/ValueTypes.cpp | 2 ++ utils/TableGen/CodeGenTarget.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/CodeGen/ValueTypes.cpp b/lib/CodeGen/ValueTypes.cpp index 221649fefb0..f56aa84bad0 100644 --- a/lib/CodeGen/ValueTypes.cpp +++ b/lib/CodeGen/ValueTypes.cpp @@ -191,6 +191,8 @@ std::string EVT::getEVTString() const { case MVT::v3f16: return "v3f16"; case MVT::v4f16: return "v4f16"; case MVT::v8f16: return "v8f16"; + case MVT::v16f16: return "v16f16"; + case MVT::v32f16: return "v32f16"; case MVT::v3f32: return "v3f32"; case MVT::v4f32: return "v4f32"; case MVT::v5f32: return "v5f32"; diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index 52a6bcd58be..478bbb7e480 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -130,6 +130,8 @@ StringRef llvm::getEnumName(MVT::SimpleValueType T) { case MVT::v3f16: return "MVT::v3f16"; case MVT::v4f16: return "MVT::v4f16"; case MVT::v8f16: return "MVT::v8f16"; + case MVT::v16f16: return "MVT::v16f16"; + case MVT::v32f16: return "MVT::v32f16"; case MVT::v1f32: return "MVT::v1f32"; case MVT::v2f32: return "MVT::v2f32"; case MVT::v3f32: return "MVT::v3f32"; -- 2.40.0