1 ; RUN: llc < %s -mtriple=i386-pc-linux -mcpu=corei7 | FileCheck %s
3 define i64 @atomicSub(i64* %a, i64 %b) nounwind {
5 %0 = atomicrmw sub i64* %a, i64 %b seq_cst
8 ; CHECK: movl %eax, %ebx
9 ; CHECK: subl {{%[a-z]+}}, %ebx
10 ; CHECK: movl %edx, %ecx
11 ; CHECK: sbbl {{%[a-z]+}}, %ecx