The patch adds new member MaybeStride into InterestingMemoryOperand to represent
the stride value of experimental.vp.strided.load/store.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@craig.topper Thanks, does this one come through? I definitely wrote and saved a comment last time.
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
1367 | This alignment check is overly conservative for constant stride which is a multiple of the alignment. Organizationally, this should probably be inside the instrumentation logic. The alignment here appears to be the base alignment, and the element alignment can be computed from it and the stride as needed. |
Comment Actions
Consider the stride value is a multiple of pointer alignment. And sorry that I
am late to update to the revision. I missed those new comments.
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
1367 | Good point. I had fixed the issue in the latest revision. |
This alignment check is overly conservative for constant stride which is a multiple of the alignment.
Organizationally, this should probably be inside the instrumentation logic. The alignment here appears to be the base alignment, and the element alignment can be computed from it and the stride as needed.