llvm.org GIT mirror llvm / 0eb884f
fix typos in comments; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307626 91177308-0d34-0410-b5e6-96231b3b80d8 Hiroshi Inoue 2 years ago
6 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
159159 /// the -Oz flag.
160160 InlineParams getInlineParams(unsigned OptLevel, unsigned SizeOptLevel);
161161
162 /// Return the cost associated with a callsite, including paramater passing
162 /// Return the cost associated with a callsite, including parameter passing
163163 /// and the call/return instruction.
164164 int getCallsiteCost(CallSite CS, const DataLayout &DL);
165165
17611761 // The remainder of cases are NVVM intrinsics that map to LLVM idioms, but
17621762 // need special handling.
17631763 //
1764 // We seem to be mising intrinsics for rcp.approx.{ftz.}f32, which is just
1764 // We seem to be missing intrinsics for rcp.approx.{ftz.}f32, which is just
17651765 // as well.
17661766 case Intrinsic::nvvm_rcp_rn_d:
17671767 return {SPC_Reciprocal, FTZ_Any};
635635 /// Return an existing non-zero constant if this phi node has one, otherwise
636636 /// return constant 1.
637637 static ConstantInt *GetAnyNonZeroConstInt(PHINode &PN) {
638 assert(isa(PN.getType()) && "Expect only intger type phi");
638 assert(isa(PN.getType()) && "Expect only integer type phi");
639639 for (Value *V : PN.operands())
640640 if (auto *ConstVA = dyn_cast(V))
641641 if (!ConstVA->isZero())
2323 ; CHECK-O2: Dead Argument Elimination
2424 ; CHECK-O2-NEXT: FunctionPass Manager
2525 ; CHECK-O2-NOT: Manager
26 ; Very carefully asert the CGSCC pass pipeline as it is fragile and unusually
26 ; Very carefully assert the CGSCC pass pipeline as it is fragile and unusually
2727 ; susceptible to phase ordering issues.
2828 ; CHECK-O2: CallGraph Construction
2929 ; CHECK-O2-NEXT: Globals Alias Analysis
645645 // else == "if (RemoteMCJIT)"
646646
647647 // Remote target MCJIT doesn't (yet) support static constructors. No reason
648 // it couldn't. This is a limitation of the LLI implemantation, not the
648 // it couldn't. This is a limitation of the LLI implementation, not the
649649 // MCJIT itself. FIXME.
650650
651651 // Lanch the remote process and get a channel to it.
359359 [&](const CustomError &CE) {
360360 Sum += CE.getInfo();
361361 });
362 EXPECT_EQ(Sum, 28) << "Failed to correctly concatenate erorr lists.";
362 EXPECT_EQ(Sum, 28) << "Failed to correctly concatenate error lists.";
363363 }
364364 }
365365