[llvm-commits] [llvm] r62436 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

Gabor Greif ggreif at gmail.com
Sat Jan 17 16:27:21 PST 2009


Author: ggreif
Date: Sat Jan 17 18:27:21 2009
New Revision: 62436

URL: http://llvm.org/viewvc/llvm-project?rev=62436&view=rev
Log:
add a comment

Modified:
    llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=62436&r1=62435&r2=62436&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Sat Jan 17 18:27:21 2009
@@ -73,6 +73,7 @@
     case Instruction::Invoke:
       // If the argument to the call has the nocapture attribute, then the call
       // may store or load to the pointer, but it cannot escape.
+      // Do compensate for the two BB operands, i.e. Arg1 is at index 3!
       if (cast<InvokeInst>(I)->paramHasAttr(UI.getOperandNo()-2,
                                             Attribute::NoCapture))
         continue;





More information about the llvm-commits mailing list