diff options
author | Nate Begeman <natebegeman@mac.com> | 2010-06-13 04:47:52 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2010-06-13 04:47:52 +0000 |
commit | 0d15c5321a11a5fee53b17ca8e9e0d72d6192b23 (patch) | |
tree | 998180020e7a62214cafa145cfe1e4fc40f2b738 /lib/CodeGen/CGBuiltin.cpp | |
parent | 746d99132bd05b189766836c393a92a96d019c2b (diff) |
Most of NEON sema checking & fix to polynomial type detection
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBuiltin.cpp')
-rw-r--r-- | lib/CodeGen/CGBuiltin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index 07cce76b91..678a21933f 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -954,7 +954,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID, unsigned type = Result.getZExtValue(); bool usgn = type & 0x08; bool quad = type & 0x10; - bool poly = type & 0x20; + bool poly = (type & 0x7) == 5 || (type & 0x7) == 6; bool splat = false; const llvm::Type *Ty = GetNeonType(VMContext, type & 0x7, quad); |