[PATCH] [SROA] Fix for PR23737: Handle Atomic when rewriting Loads and Stores
Philip Pfaffe
philip.pfaffe at gmail.com
Fri Jun 5 05:42:28 PDT 2015
Hi chandlerc,
SROA currently ignores loads and stores being atomic. When rewriting instructions, copy the atomic property to the new instructions.
Concerning integer- or vector-promotion, treat atomic like volatile and don't promote.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10276
Files:
lib/Transforms/Scalar/SROA.cpp
test/Transforms/SROA/atomic.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10276.27192.patch
Type: text/x-patch
Size: 6791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150605/a41399b3/attachment.bin>
More information about the llvm-commits
mailing list