xref: /llvm-project/llvm/test/CodeGen/Generic/inline-asm-special-strings.ll (revision 833393e021dc1b3844ac6982455a32c2e55f748e)
1; RUN: llc -no-integrated-as < %s | FileCheck %s
2
3define void @bar() nounwind {
4  ; CHECK: foo 0 0{{$}}
5  tail call void asm sideeffect "foo ${:uid} ${:uid}", ""() nounwind
6  ; CHECK: bar 1 x{{$}}
7  tail call void asm sideeffect "bar $(${:uid} x$| ${:uid} x$)", ""() nounwind
8  ret void
9}
10