[all-commits] [llvm/llvm-project] 725831: [NVPTX] Expose LDU builtins

Jakub Chlanda via All-commits all-commits at lists.llvm.org
Wed Mar 15 01:44:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7258317bade0fd82e257e47b31eee3ad0c6c5305
      https://github.com/llvm/llvm-project/commit/7258317bade0fd82e257e47b31eee3ad0c6c5305
  Author: Jakub Chlanda <jakub at codeplay.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/builtins-nvptx-native-half-type-err.c
    M clang/test/CodeGen/builtins-nvptx-native-half-type.c
    M clang/test/CodeGen/builtins-nvptx.c
    M llvm/test/CodeGen/NVPTX/ldu-ldg.ll

  Log Message:
  -----------
  [NVPTX] Expose LDU builtins

Also check if native half types are supported to give more descriptive
error message, without it clang only reports incorrect intrinsic return
type.

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




More information about the All-commits mailing list