14 lines · plain
1; RUN: llc %s -o - | llvm-mc -triple=x86_64-pc-linux -o %t1 -filetype=obj2; RUN: llc %s -o %t2 -filetype=obj3; RUN: cmp %t1 %t24 5; Test that we can handle inline assembly referring to a temporary label.6; We crashed when using direct object emission in the past.7 8target triple = "x86_64-unknown-linux-gnu"9 10define void @fj() {11 call void asm "bsr $0,%eax", "o"(i32 1)12 ret void13}14