[PATCH] D158944: [MC] Remove comment no longer useful

Brad Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 26 13:52:23 PDT 2023


brad created this revision.
brad added a reviewer: MaskRay.
brad added a project: LLVM.
Herald added subscribers: fedor.sergeev, hiraditya.
Herald added a project: All.
brad requested review of this revision.

Remove a comment block regarding IAS. The comment is out of sync with the current status and I don't think such a comment block is necessary anymore.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158944

Files:
  llvm/lib/MC/MCAsmInfo.cpp


Index: llvm/lib/MC/MCAsmInfo.cpp
===================================================================
--- llvm/lib/MC/MCAsmInfo.cpp
+++ llvm/lib/MC/MCAsmInfo.cpp
@@ -64,19 +64,6 @@
     SupportsExtendedDwarfLocDirective = DwarfExtendedLoc == Enable;
   if (UseLEB128Directives != cl::BOU_UNSET)
     HasLEB128Directives = UseLEB128Directives == cl::BOU_TRUE;
-
-  // FIXME: Clang's logic should be synced with the logic used to initialize
-  //        this member and the two implementations should be merged.
-  // For reference:
-  // - Solaris always enables the integrated assembler by default
-  //   - SparcELFMCAsmInfo and X86ELFMCAsmInfo are handling this case
-  // - Windows always enables the integrated assembler by default
-  //   - MCAsmInfoCOFF is handling this case, should it be MCAsmInfoMicrosoft?
-  // - MachO targets always enables the integrated assembler by default
-  //   - MCAsmInfoDarwin is handling this case
-  // - Generic_GCC toolchains enable the integrated assembler on a per
-  //   architecture basis.
-  //   - The target subclasses for AArch64, ARM, and X86 handle these cases
   UseIntegratedAssembler = true;
   ParseInlineAsmUsingAsmParser = false;
   PreserveAsmComments = true;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158944.553761.patch
Type: text/x-patch
Size: 1219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230826/5cd052d1/attachment.bin>


More information about the llvm-commits mailing list