[PATCH] D24986: [MS] Implement __iso_volatile loads/stores as builtins

2016-09-30 Thread Martin Storsjö via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282900: [MS] Implement __iso_volatile loads/stores as builtins (authored by mstorsjo). Changed prior to commit: https://reviews.llvm.org/D24986?vs=72988&id=73113#toc Repository: rL LLVM https://revi

[PATCH] D24986: [MS] Implement __iso_volatile loads/stores as builtins

2016-09-30 Thread David Majnemer via cfe-commits
majnemer added inline comments. > mstorsjo wrote in ms-volatile-arm.c:2 > Well, originally, the point was to clarify that these volatile stores end up > without atomic semantics, regardless of whether -volatile:ms has been > specified. The original version of this patch (with an inline implemen

[PATCH] D24986: [MS] Implement __iso_volatile loads/stores as builtins

2016-09-30 Thread Martin Storsjö via cfe-commits
mstorsjo added inline comments. > majnemer wrote in ms-volatile-arm.c:2 > You don't need -fms-volatile. Well, originally, the point was to clarify that these volatile stores end up without atomic semantics, regardless of whether -volatile:ms has been specified. The original version of this pat

[PATCH] D24986: [MS] Implement __iso_volatile loads/stores as builtins

2016-09-30 Thread David Majnemer via cfe-commits
majnemer accepted this revision. majnemer added a comment. This revision is now accepted and ready to land. LGTM > ms-volatile-arm.c:2 > +// REQUIRES: arm-registered-target > +// RUN: %clang_cc1 -triple thumbv7-win32 -emit-llvm -fms-extensions > -fms-volatile -o - < %s | FileCheck %s > + You

Re: [PATCH] D24986: [MS] Implement __iso_volatile loads/stores as builtins

2016-09-28 Thread Martin Storsjö via cfe-commits
mstorsjo retitled this revision from "Headers: Add iso_volatile load/store intrinsics" to "[MS] Implement __iso_volatile loads/stores as builtins". mstorsjo updated the summary for this revision. mstorsjo updated this revision to Diff 72782. mstorsjo added a comment. Changed to implement it as bu