John, I re-read the standard and I think you're right., store to 'v' must not be atomic. As to atomicrmw instruction, I think we can re-evaluate new value of 'x' variable using previous value, returned by atomicrmw instruction, and update expression for 'x'. I'll send and updated patch in a few minutes
http://reviews.llvm.org/D9049 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
