[all-commits] [llvm/llvm-project] 8f1590: [AsmPrinter] Don't check for inlineasm dialect on ...

David Tellenbach via All-commits all-commits at lists.llvm.org
Tue Jul 9 12:45:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f159096e097dde5a95d14984623c51d58ed8e69
      https://github.com/llvm/llvm-project/commit/8f159096e097dde5a95d14984623c51d58ed8e69
  Author: David Tellenbach <dtellenbach at apple.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    A clang/test/CodeGen/aarch64-inlineasm-ios.c
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp

  Log Message:
  -----------
  [AsmPrinter] Don't check for inlineasm dialect on non-X86 platforms (#98097)

AArch64 uses MCAsmInfo::AssemblerDialect to control the style of emitted
Neon assembly. E.g. Apple platforms use AsmWriterVariantTy::Apple by
default which collides with InlineAsm::AD_Intel (both value 1). Checking
for inlineasm dialects on non-X86 platforms can thus lead to problems.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list