diff options
author | Nate Begeman <natebegeman@mac.com> | 2007-12-30 02:59:45 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2007-12-30 02:59:45 +0000 |
commit | 4119d1aeca8016654d381ce079864058d1709571 (patch) | |
tree | 0b77ea6a112619b4cf4780ebd4c7d1fd5b506e8e /CodeGen/CodeGenFunction.h | |
parent | 4288c43eab8184a49dc615a2f2741c35bb24c6e8 (diff) |
Allow implicit casts during arithmetic for OCUVector operations
Add codegen support and test for said casts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index a263ca0405..216b7cd71a 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -395,7 +395,8 @@ public: llvm::Value *EmitPPCBuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitShuffleVector(llvm::Value* V1, llvm::Value *V2, ...); - llvm::Value *EmitVector(llvm::Value * const *Vals, unsigned NumVals); + llvm::Value *EmitVector(llvm::Value * const *Vals, unsigned NumVals, + bool isSplat = false); llvm::Value *EmitObjCStringLiteral(const ObjCStringLiteral *E); |