[all-commits] [llvm/llvm-project] 1a376b: [OpenCL] Add pure attribute to vload builtins

Stuart Brady via All-commits all-commits at lists.llvm.org
Thu Dec 16 06:55:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a376bc285358037a5edc48b0d125f91bf5a69ca
      https://github.com/llvm/llvm-project/commit/1a376bc285358037a5edc48b0d125f91bf5a69ca
  Author: Stuart Brady <stuart.brady at arm.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M clang/lib/Headers/opencl-c.h
    M clang/lib/Sema/OpenCLBuiltins.td

  Log Message:
  -----------
  [OpenCL] Add pure attribute to vload builtins

Use the "pure" attribute (or "readonly") for the vload, vload_half and
vloada_half builtins.

Reviewed By: svenvh

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




More information about the All-commits mailing list