[all-commits] [llvm/llvm-project] 840afb: [PowerPC] SemaChecking for darn family of builtins

Conanap via All-commits all-commits at lists.llvm.org
Thu Sep 23 21:39:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 840afbde48e90213028174fdba715e10aa39dd85
      https://github.com/llvm/llvm-project/commit/840afbde48e90213028174fdba715e10aa39dd85
  Author: Albion Fung <albionapc at gmail.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtins-ppc-xlcompat-darn.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-error.c
    M clang/test/CodeGen/builtins-ppc.c

  Log Message:
  -----------
  [PowerPC] SemaChecking for darn family of builtins

The __darn family of builtins are only available on Pwr9,
and only __darn_32 is available on both 64 and 32 bit, while the rest
are only available on 64 bit. The patch adds sema checking
for these builtins and separate the __darn_32's 32 bit
test cases.

Differential revision: https://reviews.llvm.org/D110282




More information about the All-commits mailing list