[llvm] [PowerPC] Add type checking for DMF insert (PR #172078)

Maryam Moghadas via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 6 10:17:02 PST 2026


================
@@ -51,14 +51,14 @@ define void @test_dmxvi8gerx4pp(ptr %vop, ptr %vpp, ptr %vcp, ptr %resp) {
 ; CHECK:       # %bb.0: # %entry
 ; CHECK-NEXT:    lxvp vsp34, 0(r3)
 ; CHECK-NEXT:    lxvp vsp36, 32(r3)
-; CHECK-NEXT:    dmxxinstdmr512 wacc_hi0, vsp36, vsp34, 1
-; CHECK-NEXT:    lxvp vsp34, 64(r3)
-; CHECK-NEXT:    lxvp vsp36, 96(r3)
-; CHECK-NEXT:    dmxxinstdmr512 wacc0, vsp36, vsp34, 0
-; CHECK-NEXT:    lxv v2, 16(r4)
+; CHECK-NEXT:    lxvp vsp32, 64(r3)
+; CHECK-NEXT:    lxvp vsp38, 96(r3)
----------------
maryammo wrote:

It seems the code now uses fresh registers instead of reusing vsp34/vsp36. Does this help with anything or just different allocation?

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


More information about the llvm-commits mailing list