mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Parse 'ghccc' in .ll files as the GHC convention (cc 10)
Previously we just used "cc 10" in the .ll files, but that isn't very human readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -15,7 +15,7 @@ declare coldcc void @coldcc()
|
||||
; CHECK: declare coldcc void @coldcc
|
||||
|
||||
declare cc10 void @cc10()
|
||||
; CHECK: declare cc10 void @cc10
|
||||
; CHECK: declare ghccc void @cc10
|
||||
|
||||
declare spir_kernel void @spir_kernel()
|
||||
; CHECK: declare spir_kernel void @spir_kernel
|
||||
@ -72,7 +72,7 @@ define void @call_coldcc() {
|
||||
}
|
||||
|
||||
define void @call_cc10 () {
|
||||
; CHECK: call cc10 void @cc10
|
||||
; CHECK: call ghccc void @cc10
|
||||
call cc10 void @cc10 ()
|
||||
ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user