[llvm-commits] [llvm] r101532 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Dan Gohman
gohman at apple.com
Fri Apr 16 13:22:43 PDT 2010
Author: djg
Date: Fri Apr 16 15:22:43 2010
New Revision: 101532
URL: http://llvm.org/viewvc/llvm-project?rev=101532&view=rev
Log:
Commit this, which should have accompanied 101531.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=101532&r1=101531&r2=101532&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Fri Apr 16 15:22:43 2010
@@ -3223,7 +3223,8 @@
// indicates whether the memcpy source is constant so it does not need to be
// loaded.
EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign,
- NonScalarIntSafe, MemcpyStrSrc, DAG);
+ NonScalarIntSafe, MemcpyStrSrc,
+ DAG.getMachineFunction());
if (VT == MVT::Other) {
if (DstAlign >= TLI.getTargetData()->getPointerPrefAlignment() ||
More information about the llvm-commits
mailing list