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:
Reid Kleckner
2014-12-01 21:04:44 +00:00
parent 14fe2e6948
commit 03c735b42c
12 changed files with 40 additions and 28 deletions

View File

@ -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
}