Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -O2 -march=x86-64 -verify-machineinstrs | FileCheck %s
      2 
      3 define void @pr21099(i64* %p) {
      4 ; CHECK-LABEL: pr21099
      5 ; CHECK: lock addq $-2147483648
      6 ; This number is INT32_MIN: 0x80000000UL
      7   %1 = atomicrmw add i64* %p, i64 -2147483648 seq_cst
      8   ret void
      9 }
     10