Displaying 2 results from an estimated 2 matches for "2590876a".
2013 Aug 01
0
[LLVMdev] Intended semantics for ``fence seq_cst``
On Wed, Jul 31, 2013 at 6:39 PM, JF Bastien <jfb at google.com> wrote:
> > You will need to do this in the frontend. The target independent
> optimizers are allowed to use the memory model.
>
> We discussed doing this, and concluded that doing it pre-opt was overly
> restrictive on correct code. Doing it post-opt bakes the behavior into the
> portable code, so in a way
2013 Aug 01
2
[LLVMdev] Intended semantics for ``fence seq_cst``
> You will need to do this in the frontend. The target independent
optimizers are allowed to use the memory model.
We discussed doing this, and concluded that doing it pre-opt was overly
restrictive on correct code. Doing it post-opt bakes the behavior into the
portable code, so in a way it'll be reliably broken but won't penalize good
code.
FWIW it's easy to change from one to