llvm/test/CodeGen/AVR/inline-asm2.ll
Dylan McKay 619ca04281 [AVR] Add a selection of CodeGen tests
Summary: This adds all of the CodeGen tests which currently pass.

Reviewers: arsenm, kparzysz

Subscribers: japaric, wdng

Differential Revision: https://reviews.llvm.org/D26388

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286418 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-09 23:46:52 +00:00

9 lines
165 B
LLVM

; RUN: llc < %s -march=avr | FileCheck %s
; CHECK-LABEL: foo
define void @foo(i16 %a) {
call void asm sideeffect "add $0, $0", "Z"(i16 %a) nounwind
ret void
}