llvm/test/Bitcode/avr-calling-conventions.ll
Dylan McKay ca03902fd5 [AVR] Add calling convention parser tokens
Summary: Adds the 'avr_intrcc' and 'avr_signalcc' IR calling convention tokens to the parser.

Reviewers: arsenm

Subscribers: dylanmckay, llvm-commits

Differential Revision: http://reviews.llvm.org/D16348

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262600 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-03 10:08:02 +00:00

17 lines
288 B
LLVM

; RUN: llvm-dis < %s.bc | FileCheck %s
; CHECK: define avr_intrcc void @foo(i8)
define avr_intrcc void @foo(i8) {
ret void
}
; CHECK: define avr_signalcc void @bar(i8)
define avr_signalcc void @bar(i8) {
ret void
}
; CHECK: define void @baz(i8)
define void @baz(i8) {
ret void
}