[polly] r230337 - Omit a default argument
Johannes Doerfert
doerfert at cs.uni-saarland.de
Tue Feb 24 08:02:16 PST 2015
Author: jdoerfert
Date: Tue Feb 24 10:02:16 2015
New Revision: 230337
URL: http://llvm.org/viewvc/llvm-project?rev=230337&view=rev
Log:
Omit a default argument
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=230337&r1=230336&r2=230337&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Tue Feb 24 10:02:16 2015
@@ -551,9 +551,8 @@ void MemoryAccess::computeBoundsOnAccess
return;
unsigned BW = Range.getBitWidth();
- auto Min = Range.getSignedMin().sdiv(APInt(BW, ElementSize, false));
- auto Max = (Range.getSignedMax() - APInt(BW, 1, false))
- .sdiv(APInt(BW, ElementSize, false));
+ auto Min = Range.getSignedMin().sdiv(APInt(BW, ElementSize));
+ auto Max = (Range.getSignedMax() - APInt(BW, 1)).sdiv(APInt(BW, ElementSize));
isl_set *AccessRange = isl_map_range(isl_map_copy(AccessRelation));
AccessRange =
More information about the llvm-commits
mailing list