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