summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAbderrazek Zaafrani <a.zaafrani@samsung.com>2017-12-21 19:20:01 +0000
committerAbderrazek Zaafrani <a.zaafrani@samsung.com>2017-12-21 19:20:01 +0000
commitf58a132eef205578081b448d0273d6ee5d8970f7 (patch)
tree3dc9171f390313cf3f1de8e3fb140af557287a72 /clang/lib/CodeGen/CodeGenModule.cpp
parent6e62834fef8b93428de0aaf7f926a41fc4ebe22e (diff)
downloadbcm5719-llvm-f58a132eef205578081b448d0273d6ee5d8970f7.tar.gz
bcm5719-llvm-f58a132eef205578081b448d0273d6ee5d8970f7.zip
[AARch64] Add ARMv8.2-A FP16 vector intrinsics
Putting back the code that was reverted few weeks ago. Differential Revision: https://reviews.llvm.org/D34161 llvm-svn: 321294
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 f8933394360..053c71d8c77 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -103,6 +103,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