mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-18 13:16:24 -04:00
7ff3d073b5
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367755 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
306 B
LLVM
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
|
|
}
|