Divide the primitive size in bits by eight so the initial load's alignment is in bytes as expected. Tested with the included unit test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D11804
Fix an alignment error in `llvm::expandAtomicRMWToCmpXchg` without breaking the build where X86 isn't enabled. DiamondLovesYou on Aug 6 2015, 8:56 AM. Authored by
Details Divide the primitive size in bits by eight so the initial load's alignment is in bytes as expected. Tested with the included unit test.
Diff Detail
|