[all-commits] [llvm/llvm-project] de3956: [PowerPC] Fix popcntb XL Compat Builtin for 32bit

Kamau Bridgeman via All-commits all-commits at lists.llvm.org
Thu Jul 15 11:20:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de3956605a701295c928925a3e5096008a8521ba
      https://github.com/llvm/llvm-project/commit/de3956605a701295c928925a3e5096008a8521ba
  Author: Quinn Pham <quinn.pham at ibm.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins-ppc-xlcompat-sync.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/P9InstrResources.td
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-msync.ll
    A llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-sync-32.ll
    A llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-sync-64.ll
    R llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-sync.ll

  Log Message:
  -----------
  [PowerPC] Fix popcntb XL Compat Builtin for 32bit

This patch implements the `__popcntb` XL compatibility builtin for 32bit in the frontend and backend. This patch also updates tests for `__popcntb` and other XL Compat sync related builtins.

Reviewed By: #powerpc, nemanjai, amyk

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




More information about the All-commits mailing list