Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 -mattr=-sse -O0
      2 ; PR9675
      3 
      4 define i32 @t() {
      5 entry:
      6   %i = alloca i32, align 4
      7   store i32 1, i32* %i, align 4
      8   fence seq_cst
      9   %0 = atomicrmw sub i32* %i, i32 1 monotonic
     10   fence seq_cst
     11   ret i32 0
     12 }
     13