Refine BuiltinsARM.def types a bit, we should do a better job of this to save some...
authorNate Begeman <natebegeman@mac.com>
Tue, 8 Jun 2010 06:01:16 +0000 (06:01 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 8 Jun 2010 06:01:16 +0000 (06:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105598 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index 08c8f953bfb3e5993a74cc43c5ce1afad3ab00d2..9cf2cbfc108360820b0e3373cefd54fc9024025d 100644 (file)
@@ -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";
   }