[PATCH] D97223: Add Alignment argument to IRBuilder CreateAtomicRMW and CreateAtomicCmpXchg.
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 15:42:09 PST 2021
jrtc27 added inline comments.
================
Comment at: llvm/lib/CodeGen/AtomicExpandPass.cpp:1037
+ assert(AddrAlign >= ResultTy->getPrimitiveSizeInBits() / 8 &&
+ "Expected at least natural alignment at this point.");
----------------
Doesn't this introduce another copy of the same problem that D91256 is fixing (even if that one happens to also be fixed by this patch)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97223/new/
https://reviews.llvm.org/D97223
More information about the llvm-commits
mailing list