[llvm] [llvm][ARM][CodeGen] Disable MEMCPY LDM/STM inlining for Cortex v7-m (PR #106378)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 16 08:29:39 PDT 2024
================
@@ -192,6 +302,12 @@ SDValue ARMSelectionDAGInfo::EmitTargetCodeForMemcpy(
return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size,
Alignment.value(), RTLIB::MEMCPY);
+ if (Subtarget.isCortexM7() &&
----------------
davemgreen wrote:
It's best not to use isCortex... functions. Can you add a subtarget feature and add it to the core?
https://github.com/llvm/llvm-project/pull/106378
More information about the llvm-commits
mailing list