Home | History | Annotate | Download | only in X86
      1 ; RUN: not llc < %s -mtriple=i386-apple-darwin 2>&1 %t
      2 
      3 ; Previously, this would assert in an assert build, but crash in a release build.
      4 ; No FileCheck, just make sure we handle this gracefully.
      5 define i64 @t1(i64* %p, i64 %val) #0 {
      6 entry:
      7   %0 = tail call i64 asm sideeffect "xaddq $0, $1", "=q,*m,0,~{memory},~{cc},~{dirflag},~{fpsr},~{flags}"(i64* %p, i64 %val)
      8   ret i64 %0
      9 }
     10