[PATCH] D91836: [PowerPC] Delete remnant Darwin code in PPCAsmParser

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 13:22:24 PST 2020


MaskRay added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:2021
 
-/// createPPCAsmPrinterPass - Returns a pass that prints the PPC assembly code
-/// for a MachineFunction to the given output stream, in a format that the
----------------
nickdesaulniers wrote:
> void wrote:
> > Was this intentional?
> I agree with @void , we should keep the comment but drop the `, in a format that the Darwin assembler can deal with.`
This is intentional. Personally I don't think the comment is of any value. The purpose is obvious from its name.

`create*AsmPrinterPass` is also in AMDGPUAsmPrinter.cpp, which does not have a comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91836/new/

https://reviews.llvm.org/D91836



More information about the llvm-commits mailing list