aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Generic/inline-asm-special-strings.ll
blob: 5f9f34d1e78ce2eb0e00e92ca81858e3c0fa3585 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc -no-integrated-as < %s | FileCheck %s

define void @bar() nounwind {
  ; CHECK: foo 0 0{{$}}
  tail call void asm sideeffect "foo ${:uid} ${:uid}", ""() nounwind
  ; CHECK: bar 1 x{{$}}
  tail call void asm sideeffect "bar $(${:uid} x$| ${:uid} x$)", ""() nounwind
  ret void
}