[all-commits] [llvm/llvm-project] 13d3cd: [PowerPC] Implement vector float and vector double...

Conanap via All-commits all-commits at lists.llvm.org
Wed Oct 6 00:48:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13d3cd37e27889cb343d92313944d5dabfe2762b
      https://github.com/llvm/llvm-project/commit/13d3cd37e27889cb343d92313944d5dabfe2762b
  Author: Albion Fung <albionapc at gmail.com>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M clang/lib/Headers/altivec.h
    M clang/test/CodeGen/builtins-ppc-p8vector.c

  Log Message:
  -----------
  [PowerPC] Implement vector float and vector double version for vec_orc builtin

The builtin for vec_orc has support for the following two signatures,
but currently the compiler marks it ambiguous:
vector float vec_orc(vector float, vector float)
vector double vec_orc(vector double, vector double)

This patch implements these two builtins.

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




More information about the All-commits mailing list