diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-10-09 08:47:25 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-10-09 08:47:25 +0000 |
commit | aa51e513850688b7963efc62abf1eface7037602 (patch) | |
tree | ba1aa25a6a637e7bb248e2fd936754c12257a996 /lib/CodeGen/CodeGenFunction.h | |
parent | 83a1c5c8996a68d9be4e54de27565ce037785df1 (diff) |
Add target implementations for the X86 builtins:
__builtin_ia32_vec_init_v8qi
__builtin_ia32_vec_init_v4hi
__builtin_ia32_vec_init_v2si
They are lowered to bitcasts. (These are all ready tested by the gcc testsuite.)
<rdar://problem/8529957>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 2c8b1eaebe..cb9274388e 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1515,6 +1515,7 @@ public: llvm::Value *EmitNeonShiftVector(llvm::Value *V, const llvm::Type *Ty, bool negateForRightShift); + llvm::Value *BuildVector(const llvm::SmallVectorImpl<llvm::Value*> &Ops); llvm::Value *EmitX86BuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitPPCBuiltinExpr(unsigned BuiltinID, const CallExpr *E); |