llvm-6502/test/CodeGen/Generic/inline-asm-special-strings.ll
Chris Lattner 3e0cc2634e wire up support for emitting "special" values from inline asm
format strings with the standard ${:foo} syntax.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66527 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-10 05:37:13 +00:00

7 lines
154 B
LLVM

; RUN: llvm-as < %s | llc | grep "foo 0 0"
define void @bar() nounwind {
tail call void asm sideeffect "foo ${:uid} ${:uid}", ""() nounwind
ret void
}