[all-commits] [llvm/llvm-project] ca5205: [Clang FE, SystemZ] Don't add "true" value for th...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Dec 18 11:07:18 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ca520592c081a76b45613ec794ebee4920933c1c
      https://github.com/llvm/llvm-project/commit/ca520592c081a76b45613ec794ebee4920933c1c
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/test/CodeGen/mnop-mcount.c
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    M llvm/test/CodeGen/SystemZ/mnop-mcount-01.ll
    M llvm/test/CodeGen/SystemZ/mnop-mcount-02.ll

  Log Message:
  -----------
  [Clang FE, SystemZ]  Don't add "true" value for the "mnop-mcount" attribute.

Let the "mnop-mcount" function attribute simply be present or non-present.
Update SystemZ backend as well to use hasFnAttribute() instead.

Review: Ulrich Weigand
https://reviews.llvm.org/D71669




More information about the All-commits mailing list