[llvm-commits] [llvm] r41489 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGISel.h lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/X86/memmove-0.ll test/CodeGen/X86/memmove-1.ll test/CodeGen/X86/memmove-2.ll test/CodeGen/X86/memmove-3.ll

Dan Gohman djg at cray.com
Mon Aug 27 10:46:18 PDT 2007


> This is nifty, but shouldn't this be done at the LLVM IR level?  I  
> can't think of cases where lowering would create new memmove calls.

I'm not aware of any cases where memmove vs. memcpy matters before
codegen currently. If it were done at the LLVM IR level, would it be
too trivial to be in a pass by itself, or would you want to add it,
along with an addRequired<AliasAnalysis>, to some existing pass?

Dan

-- 
Dan Gohman, Cray Inc.



More information about the llvm-commits mailing list