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

Aditi Medhane via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 00:34:58 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">,
----------------
AditiRM wrote:

they are mapped in backend lowering pattern matching part. 

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


More information about the llvm-commits mailing list