[all-commits] [llvm/llvm-project] 32870a: Expose IRGen API to add the default IR attributes ...

John McCall via All-commits all-commits at lists.llvm.org
Sat May 16 11:49:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 32870a84d9a40ea682e22a24b5f0d1a218c3b062
      https://github.com/llvm/llvm-project/commit/32870a84d9a40ea682e22a24b5f0d1a218c3b062
  Author: John McCall <rjmccall at apple.com>
  Date:   2020-05-16 (Sat, 16 May 2020)

  Changed paths:
    M clang/include/clang/CodeGen/CodeGenABITypes.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenABITypes.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.h

  Log Message:
  -----------
  Expose IRGen API to add the default IR attributes to a function definition.

I've also made a stab at imposing some more order on where and how we add
attributes; this part should be NFC.  I wasn't sure whether the CUDA use
case for libdevice should propagate CPU/features attributes, so there's a
bit of unnecessary duplication.




More information about the All-commits mailing list