summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2010-06-13 04:47:52 +0000
committerNate Begeman <natebegeman@mac.com>2010-06-13 04:47:52 +0000
commitd773fe67dd677534ec38a126f64477011f1eca87 (patch)
treee384178eb89e84b6e59923e8f4065ae219fe7a92 /clang/lib/CodeGen/CGBuiltin.cpp
parent444e9f0a35aa60336872ee22cf51df550dbc51f7 (diff)
downloadbcm5719-llvm-d773fe67dd677534ec38a126f64477011f1eca87.tar.gz
bcm5719-llvm-d773fe67dd677534ec38a126f64477011f1eca87.zip
Most of NEON sema checking & fix to polynomial type detection
llvm-svn: 105908
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 07cce76b915..678a21933f9 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud