summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAbderrazek Zaafrani <a.zaafrani@samsung.com>2017-06-20 18:54:57 +0000
committerAbderrazek Zaafrani <a.zaafrani@samsung.com>2017-06-20 18:54:57 +0000
commitf10ca93f34d3c88dfed98bfef28f45c8088d4ace (patch)
treeb877b3482bb5c0995d7d9bfc27da001f4987ca47 /clang/lib/CodeGen/CodeGenModule.cpp
parent297b6eb20df59d7c5d593b6f04fd4ea9d0e77e29 (diff)
downloadbcm5719-llvm-f10ca93f34d3c88dfed98bfef28f45c8088d4ace.tar.gz
bcm5719-llvm-f10ca93f34d3c88dfed98bfef28f45c8088d4ace.zip
[AArch64] ADD ARMv.2-A FP16 vector intrinsics
Differential Revision: https://reviews.llvm.org/D34161 llvm-svn: 305820
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 20d945fe50d..5319ccec163 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -98,6 +98,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO,
Int16Ty = llvm::Type::getInt16Ty(LLVMContext);
Int32Ty = llvm::Type::getInt32Ty(LLVMContext);
Int64Ty = llvm::Type::getInt64Ty(LLVMContext);
+ HalfTy = llvm::Type::getHalfTy(LLVMContext);
FloatTy = llvm::Type::getFloatTy(LLVMContext);
DoubleTy = llvm::Type::getDoubleTy(LLVMContext);
PointerWidthInBits = C.getTargetInfo().getPointerWidth(0);
OpenPOWER on IntegriCloud