[PATCH] D31772: [PowerPC] Add pass to expand extra memcpy calls
Hal Finkel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 19:45:48 PDT 2017
hfinkel added inline comments.
================
Comment at: lib/Target/PowerPC/PPCLowerMemIntrinsics.cpp:117
+// size is a compile time constant or not. Will go away when the old memcpy
+// expansion implementation does.
+static void ppcExpandMemCpyAsLoop(MemCpyInst *MI,
----------------
I don't understand this comment. It looks like this function is just llvm::expandMemCpyAsLoop whenever TTI.useWideIRMemcpyLoopLowering() returns false. Why not just use that function?
Repository:
rL LLVM
https://reviews.llvm.org/D31772
More information about the llvm-commits
mailing list