[llvm] [PowerPC][AIX] Using milicode for memcmp instead of libcall (PR #147093)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 12:18:02 PDT 2025


================
@@ -39,7 +39,7 @@ define noundef i32 @_Z11memcmp_testPKvS0_m(ptr noundef readonly captures(none) %
 ; CHECK-AIX-64-P9-NEXT:    mflr r0
 ; CHECK-AIX-64-P9-NEXT:    stdu r1, -112(r1)
 ; CHECK-AIX-64-P9-NEXT:    std r0, 128(r1)
-; CHECK-AIX-64-P9-NEXT:    bl .memcmp[PR]
+; CHECK-AIX-64-P9-NEXT:    bl .___memcmp64[PR]
 ; CHECK-AIX-64-P9-NEXT:    nop
----------------
RolandF77 wrote:

The nop is something we should probably address at some point. I suspect for more than just millicode.

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


More information about the llvm-commits mailing list