[all-commits] [llvm/llvm-project] 906580: [PowerPC] Add intrinsics for rldimi/rlwimi/rlwnm (...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Mon Mar 4 05:14:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 906580bad3a68e3877f4ff7ac2b7fc1b7ee84fd5
      https://github.com/llvm/llvm-project/commit/906580bad3a68e3877f4ff7ac2b7fc1b7ee84fd5
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-rotate.c
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/rldimi.ll
    M llvm/test/CodeGen/PowerPC/rlwimi.ll
    M llvm/test/CodeGen/PowerPC/rlwinm.ll

  Log Message:
  -----------
  [PowerPC] Add intrinsics for rldimi/rlwimi/rlwnm (#82968)

These builtins are already there in Clang, however current codegen may
produce suboptimal results due to their complex behavior. Implement them
as intrinsics to ensure expected instructions are emitted.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list