1 ; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
4 ; PHI defs in the atomic loop should be used by the add / adc
5 ; instructions. They should not be dead.
7 define void @t(i64* nocapture %p) nounwind ssp {
11 ; CHECK: movl (%ebp), %eax
12 ; CHECK: movl 4(%ebp), %edx
21 %0 = atomicrmw add i64* %p, i64 1 seq_cst