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
- rG279fa8e0064e: [Alignement][NFC] Deprecate untyped CreateAlignedLoad
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/AtomicExpandPass.cpp | ||
---|---|---|
1723 | Good catch. I'll do the same kind of patch for CreateAlignedStore afterwards to catch them all. |
llvm/lib/Target/X86/X86InterleavedAccess.cpp | ||
---|---|---|
219 | @gchatelet This is causing misaligned load accesses: https://bugs.llvm.org/show_bug.cgi?id=45957 |
llvm/lib/Target/X86/X86InterleavedAccess.cpp | ||
---|---|---|
219 | I think the code that just copies the old alignment is faulty: https://github.com/llvm/llvm-project/blob/master/llvm/lib/Target/X86/X86InterleavedAccess.cpp#L219 |
You don't need the .value() here, there is a MaybeAlign overload.