diff options
| author | Jiangning Liu <jiangning.liu@arm.com> | 2014-10-21 01:34:34 +0000 |
|---|---|---|
| committer | Jiangning Liu <jiangning.liu@arm.com> | 2014-10-21 01:34:34 +0000 |
| commit | 119f205918eb42c39f1d0dbccf021c1f6d469e71 (patch) | |
| tree | 810c97b6faf423761ce09f124d19b61d6971023e /lib/CodeGen/CGExprComplex.cpp | |
| parent | b241411e502002395e4dcb2083bb3328dff66bd4 (diff) | |
| download | clang-119f205918eb42c39f1d0dbccf021c1f6d469e71.tar.gz | |
Lower compound assignment for the missing type llvm::Type::FP128TyID.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprComplex.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index e957256ab5..ca19c94be0 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/lib/CodeGen/CGExprComplex.cpp @@ -607,6 +607,8 @@ static StringRef getComplexMultiplyLibCallName(llvm::Type *Ty) { return "__multc3"; case llvm::Type::X86_FP80TyID: return "__mulxc3"; + case llvm::Type::FP128TyID: + return "__multc3"; } } @@ -746,6 +748,8 @@ ComplexPairTy ComplexExprEmitter::EmitBinDiv(const BinOpInfo &Op) { return EmitComplexBinOpLibCall("__divtc3", LibCallOp); case llvm::Type::X86_FP80TyID: return EmitComplexBinOpLibCall("__divxc3", LibCallOp); + case llvm::Type::FP128TyID: + return EmitComplexBinOpLibCall("__divtc3", LibCallOp); } } assert(LHSi && "Can have at most one non-complex operand!"); |
