1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/Bitcode/avr-calling-conventions.ll
Tim Northover e5745c32fd IR: print value numbers for unnamed function arguments
For consistency with normal instructions and clarity when reading IR,
it's best to print the %0, %1, ... names of function arguments in
definitions.

Also modifies the parser to accept IR in that form for obvious reasons.

llvm-svn: 367755
2019-08-03 14:28:34 +00:00

17 lines
306 B
LLVM

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