Skip to content

Commit a54e032

Browse files
committed
misc fixes
1 parent b5680e7 commit a54e032

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ bool AsmPrinter::doFinalization(Module &M) {
21552155
}
21562156
}
21572157

2158-
OutStreamer->Finish();
2158+
OutStreamer->finish();
21592159

21602160
// Allow the target to emit any magic that it wants at the end of the file,
21612161
// after everything else has gone out.

llvm/lib/Transforms/Utils/BuildLibCalls.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ Value *llvm::emitPutChar(Value *Char, IRBuilderBase &B,
17601760
StringRef PutCharName = TLI->getName(LibFunc_putchar);
17611761
Type *IntTy = B.getIntNTy(TLI->getIntSize());
17621762
FunctionCallee PutChar = M->getOrInsertFunction(PutCharName, IntTy, IntTy);
1763-
inferLibFuncAttributes(M, PutCharName, *TLI);
1763+
inferNonMandatoryLibFuncAttrs(M, PutCharName, *TLI);
17641764
CallInst *CI = B.CreateCall(
17651765
PutChar, B.CreateIntCast(Char, IntTy, /*isSigned=*/true, "chari"),
17661766
PutCharName);

0 commit comments

Comments
 (0)