diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-23 06:00:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-23 06:00:24 +0000 |
commit | 788b0fd67e1992f23555454efcdb16a19dfefac3 (patch) | |
tree | 9a2fb45262ab3d833202750f6cf4c5150ed2c521 /lib/Sema/SemaChecking.cpp | |
parent | 8dab6571b2cab96f44d0a1d6e3edbfdb68b7ed6b (diff) |
improve altivec vector bool/pixel support, patch by Anton Yartsev
with several tweaks by me.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index d9264870ae..b61b4d65c9 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -782,7 +782,8 @@ Action::OwningExprResult Sema::SemaBuiltinShuffleVector(CallExpr *TheCall) { return ExprError(); } else if (numElements != numResElements) { QualType eltType = LHSType->getAs<VectorType>()->getElementType(); - resType = Context.getVectorType(eltType, numResElements, false, false); + resType = Context.getVectorType(eltType, numResElements, + VectorType::NotAltiVec); } } |