From 5638783276b5ee74e53b64c000f50ab1ff048835 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Tue, 8 Jun 2010 06:01:16 +0000 Subject: Refine BuiltinsARM.def types a bit, we should do a better job of this to save some c++ code in CGBuiltins. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105598 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/NeonEmitter.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index 08c8f95..9cf2cbf 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -310,8 +310,10 @@ static std::string BuiltinTypeString(const char mod, StringRef typestr, return quad ? "V48c" : "V24c"; if (mod == '4') return quad ? "V64c" : "V32c"; - if (mod == 'f') - return quad ? "V4f" : "V2f"; + if (mod == 'f') + return quad ? "V4f" : "V2f"; + if (mod == 'x' || mod == 'u') + return quad ? "V4i" : "V2i"; return quad ? "V16c" : "V8c"; } -- cgit v1.1