[all-commits] [llvm/llvm-project] 932ca8: libclc: remove __attribute__((assume)) for clspv t...

Romaric Jodin via All-commits all-commits at lists.llvm.org
Fri May 17 06:13:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 932ca85680db5e4579306f37e55746097fb8ec7f
      https://github.com/llvm/llvm-project/commit/932ca85680db5e4579306f37e55746097fb8ec7f
  Author: Romaric Jodin <89833130+rjodinchr at users.noreply.github.com>
  Date:   2024-05-17 (Fri, 17 May 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/CodeGen/CodeGenFunction.cpp
    A clang/test/CodeGen/clspv_libclc_builtin.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M libclc/generic/include/clc/clcfunc.h

  Log Message:
  -----------
  libclc: remove __attribute__((assume)) for clspv targets (#92126)

Instead add a proper attribute in clang, and add convert it to function
metadata to keep the information in the IR. The goal is to remove the
dependency on __attribute__((assume)) that should have not be there in
the first place.

Ref https://github.com/llvm/llvm-project/pull/84934



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