From b50325e27687b671f0fafd9274b446cb675ea1a2 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Tue, 19 Jan 2016 19:17:47 +0000 Subject: fix formatting; NFC llvm-svn: 258167 --- llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp') diff --git a/llvm/lib/Transforms/Utils/BuildLibCalls.cpp b/llvm/lib/Transforms/Utils/BuildLibCalls.cpp index 02512520e5b..95c3a42d89a 100644 --- a/llvm/lib/Transforms/Utils/BuildLibCalls.cpp +++ b/llvm/lib/Transforms/Utils/BuildLibCalls.cpp @@ -214,7 +214,8 @@ Value *llvm::EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, } /// Append a suffix to the function name according to the type of 'Op'. -static void AppendTypeSuffix(Value *Op, StringRef &Name, SmallString<20> &NameBuffer) { +static void AppendTypeSuffix(Value *Op, StringRef &Name, + SmallString<20> &NameBuffer) { if (!Op->getType()->isDoubleTy()) { NameBuffer += Name; @@ -250,8 +251,8 @@ Value *llvm::EmitBinaryFloatFnCall(Value *Op1, Value *Op2, StringRef Name, AppendTypeSuffix(Op1, Name, NameBuffer); Module *M = B.GetInsertBlock()->getParent()->getParent(); - Value *Callee = M->getOrInsertFunction(Name, Op1->getType(), - Op1->getType(), Op2->getType(), nullptr); + Value *Callee = M->getOrInsertFunction(Name, Op1->getType(), Op1->getType(), + Op2->getType(), nullptr); CallInst *CI = B.CreateCall(Callee, {Op1, Op2}, Name); CI->setAttributes(Attrs); if (const Function *F = dyn_cast(Callee->stripPointerCasts())) -- cgit v1.2.3