[clang] [llvm] [PowerPC] Add Support for BCDSHIFT, BCDSHIFTR, BCDTRUNC, BCDUTRUNC, and BCDUSHIFT instruction support (PR #154715)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 10:04:33 PDT 2025


================
@@ -683,6 +683,31 @@ let TargetPrefix = "ppc" in {  // All intrinsics start with "llvm.ppc.".
     DefaultAttrsIntrinsic<[llvm_v16i8_ty], [llvm_v16i8_ty, llvm_i32_ty], 
     [IntrNoMem, ImmArg<ArgIndex<1>>]>;
 
+  def int_ppc_bcdshift : ClangBuiltin<"__builtin_ppc_bcdshift">,
----------------
lei137 wrote:

These intrinsics are not being mapped to any instructions that I can see...

https://github.com/llvm/llvm-project/pull/154715


More information about the llvm-commits mailing list