[PATCH] [OPENMP] Codegen for 'atomic capture'.

Alexey Bataev a.bataev at hotmail.com
Wed Apr 22 20:29:41 PDT 2015


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/






More information about the cfe-commits mailing list