10 lines · plain
1; RUN: not llc < %s -mtriple=i386-apple-darwin 2>&1 %t2 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.5define i64 @t1(ptr %p, i64 %val) #0 {6entry:7 %0 = tail call i64 asm sideeffect "xaddq $0, $1", "=q,*m,0,~{memory},~{cc},~{dirflag},~{fpsr},~{flags}"(ptr %p, i64 %val)8 ret i64 %09}10