add a comment.
authorChris Lattner <sabre@nondot.org>
Thu, 4 Mar 2010 01:43:43 +0000 (01:43 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 4 Mar 2010 01:43:43 +0000 (01:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97709 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelDAGToDAG.cpp

index 08030e0630fcf1e5a935ccec93c3ae1c1160f0ea..3fad8ade41ba68a9ebdccd68cbb5e40bfd3cce22 100644 (file)
@@ -413,6 +413,7 @@ static bool isCalleeLoad(SDValue Callee, SDValue &Chain) {
 }
 
 void X86DAGToDAGISel::PreprocessISelDAG() {
+  // OptForSize is used in pattern predicates that isel is matching.
   OptForSize = MF->getFunction()->hasFnAttr(Attribute::OptimizeForSize);
   
   for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(),