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
      6 ; CHECK-NEXT: addq $-2147483648
      7 ; This number is INT32_MIN: 0x80000000UL
      8   %1 = atomicrmw add i64* %p, i64 -2147483648 seq_cst
      9   ret void
     10 }
     11