aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AVR/inline-asm/inline-asm2.ll
blob: ab4219c81f5207a5e9c6170dc62a2ee4457e8e3c (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -mtriple=avr -no-integrated-as | FileCheck %s

; CHECK-LABEL: foo
define void @foo(i16 %a) {
  call void asm sideeffect "add $0, $0", "Z"(i16 %a) nounwind
  ret void
}