[all-commits] [llvm/llvm-project] cc9563: [PowerPC][Power10] Implement Vector Clear Left/Rig...

Amy Kwan via All-commits all-commits at lists.llvm.org
Sat Jun 20 19:33:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cc95635b1bf28e626b4c2ac296b0a0ca22ab3c91
      https://github.com/llvm/llvm-project/commit/cc95635b1bf28e626b4c2ac296b0a0ca22ab3c91
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2020-06-20 (Sat, 20 Jun 2020)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/Headers/altivec.h
    M clang/test/CodeGen/builtins-ppc-p10vector.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    A llvm/test/CodeGen/PowerPC/p10-string-ops.ll
    M llvm/test/MC/Disassembler/PowerPC/p10insts.txt
    M llvm/test/MC/PowerPC/p10.s

  Log Message:
  -----------
  [PowerPC][Power10] Implement Vector Clear Left/Rightmost Bytes Builtins in LLVM/Clang

This patch implements builtins for the following prototypes:
```
vector signed char vec_clrl (vector signed char a, unsigned int n);
vector unsigned char vec_clrl (vector unsigned char a, unsigned int n);
vector signed char vec_clrr (vector signed char a, unsigned int n);
vector signed char vec_clrr (vector unsigned char a, unsigned int n);
```

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




More information about the All-commits mailing list