[all-commits] [llvm/llvm-project] 7a70e6: [XCOFF] ignore the cold attribute.

Esme via All-commits all-commits at lists.llvm.org
Wed Aug 10 22:14:46 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a70e6e224cdbbd02cf6a7a7d8ff69950faaa35f
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M llvm/lib/MC/MCXCOFFStreamer.cpp
    A llvm/test/CodeGen/PowerPC/aix-xcoff-cold.ll

  Log Message:
  [XCOFF] ignore the cold attribute.

Summary: AIX XCOFF doesn't support the cold feature.
    While it shouldn't be a function error when XCOFF catching the cold attribute.
    As with the behavior of other formats, we just ignore the attribute for now.

Reviewed By: DiggerLin

Differential Revision: https://reviews.llvm.org/D131473

More information about the All-commits mailing list