[llvm-commits] LSR Overkill For Strides?
Chris Lattner
clattner at apple.com
Thu Mar 1 14:44:59 PST 2007
On Mar 1, 2007, at 2:43 PM, Reid Spencer wrote:
> Chris,
>
> I'm wondering if you could look at this patch to
> LoopStrengthReduce.cpp.
> It's the third (last change set) I'm asking about.
>
> I've converted the stride comparisons to use APInt. It seems unlikely
> that strides will be > 64 bits. Is this overkill?
Without looking at the patch, if it has to do with sizeof(void*), it
is safe to assume that all pointers (and thus differences between
pointers) are <= 64-bits in size.
-Chris
More information about the llvm-commits
mailing list