[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:24:31 PDT 2025


================
@@ -3455,6 +3480,21 @@ include "PPCInstr64Bit.td"
 include "PPCInstrVSX.td"
 include "PPCInstrHTM.td"
 
+def : Pat<(PPCbcds v4i32:$Shift, v16i8:$Src, i32:$PS),
+          (BCDS_rec $Shift, $Src, $PS)>;
----------------
AditiRM wrote:

Yes agree. I moved the pattern matching definitions to the proper section in `PPCInstrAltivec.td`

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


More information about the llvm-commits mailing list