[all-commits] [llvm/llvm-project] 7c1905: [Darwin][IR] Don't error on target_variant mismatc...

Steven Wu via All-commits all-commits at lists.llvm.org
Tue May 21 09:15:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c19058d2a8e05383988b92cf4004c4cd8a54951
      https://github.com/llvm/llvm-project/commit/7c19058d2a8e05383988b92cf4004c4cd8a54951
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M clang/test/CodeGen/darwin-target-variant.c
    M llvm/lib/IR/Module.cpp
    A llvm/test/Linker/darwin-target-variant.ll
    M llvm/test/MC/MachO/darwin-target-variant-reverse.ll
    M llvm/test/MC/MachO/darwin-target-variant.ll

  Log Message:
  -----------
  [Darwin][IR] Don't error on target_variant mismatch when linking IR (#92297)

Change the ModuleFlag type for target_variant to warning to avoid error
out when the value is different. This matches the linker behavior when
linking object files.

rdar://125874272



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