[PATCH] D140270: MIPS: emit .module and .nan directives only for first function

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 18 10:28:32 PST 2022


MaskRay added inline comments.


================
Comment at: llvm/lib/Target/Mips/MipsAsmPrinter.h:66
 
+  /// isFirstFunction - Is it the first function in this build unit?
+  /// GNU as complains: .module is not permitted after generating code,
----------------
Delete "isFirstFunction - " it's an obsoleted style of documentation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140270



More information about the llvm-commits mailing list