This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Details
- Reviewers
courbet - Commits
- rG0957233320eb: [Alignment][NFC] Use Align with CreateMaskedStore
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 44560 Build 45913: arc lint + arc unit
Event Timeline
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | ||
---|---|---|
2907 | As discussed offline Verifier.cpp requires the alignment to be set for both masked_load and masked_store intrinsics. I've updated the documentation. |
llvm/docs/LangRef.rst | ||
---|---|---|
14945 ↗ | (On Diff #239501) | Let's commit this as a base change, as this is just documenting what the verifier is already checking. |
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | ||
2907 | There is still the issue of already serialized bitcode files: as discussed, these are not an issue wrt this patch as they do not touch the API directly, will still generate a 0 align that will be caught by the verifier. |
llvm/docs/LangRef.rst | ||
---|---|---|
14945 ↗ | (On Diff #239501) |
I think it's actually OK for this one to be a MaybeAlign, e.g. in ARMTTIImpl::isLegalMaskedLoad.