[llvm] r259300 - [BasicAA] NFC - revised comment for function adjustToPointerSize()

Gerolf Hoflehner via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 21:58:38 PST 2016


Author: ghoflehner
Date: Fri Jan 29 23:58:38 2016
New Revision: 259300

URL: http://llvm.org/viewvc/llvm-project?rev=259300&view=rev
Log:
[BasicAA] NFC - revised comment for function adjustToPointerSize()

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=259300&r1=259299&r2=259300&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Fri Jan 29 23:58:38 2016
@@ -323,7 +323,7 @@ static bool isObjectSize(const Value *V,
 /// To ensure a pointer offset fits in an integer of size PointerSize
 /// (in bits) when that size is smaller than 64. This is an issue in
 /// particular for 32b programs with negative indices that rely on two's
-/// complement wrap-arounds for correct alias information.
+/// complement wrap-arounds for precise alias information.
 static int64_t adjustToPointerSize(int64_t Offset, unsigned PointerSize) {
   assert(PointerSize <= 64 && "Invalid PointerSize!");
   unsigned ShiftBits = 64 - PointerSize;




More information about the llvm-commits mailing list