[PATCH] D105247: [Intrinsics] Make MemCpyInlineInst a MemCpyInst
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 30 17:09:11 PDT 2021
paquette added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:834
// If we're not allowed to hack on memcpy, we fail.
- if (!HasMemcpy || DisableLIRP::Memcpy)
+ if ((!HasMemcpy && !isa<MemCpyInlineInst>(MCI)) || DisableLIRP::Memcpy)
return false;
----------------
This `HasMemcpy` variable is being used in a bunch of places, so I'm surprised this is the only change in this pass. Why is that?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105247/new/
https://reviews.llvm.org/D105247
More information about the llvm-commits
mailing list