diff options
author | Nate Begeman <natebegeman@mac.com> | 2010-06-08 06:01:16 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2010-06-08 06:01:16 +0000 |
commit | 5638783276b5ee74e53b64c000f50ab1ff048835 (patch) | |
tree | 71acdbf3b909d736accf9d2f7fce597e54d880fc /utils | |
parent | dd726e5bce1d7e612d8de5c4782409858f915b37 (diff) | |
download | external_llvm-5638783276b5ee74e53b64c000f50ab1ff048835.zip external_llvm-5638783276b5ee74e53b64c000f50ab1ff048835.tar.gz external_llvm-5638783276b5ee74e53b64c000f50ab1ff048835.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/NeonEmitter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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"; } |