
; RUN: llc < %s -march=r600 -mcpu=redwood -show-mc-encoding -o - | FileCheck --check-prefix=EG-CHECK %s
; RUN: llc < %s -march=r600 -mcpu=rv710 -show-mc-encoding -o - | FileCheck --check-prefix=R600-CHECK %s

; EG-CHECK: @call_fs
; EG-CHECK: CALL_FS  ; encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x84]
; R600-CHECK: @call_fs
; R600-CHECK:CALL_FS ; encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x89]


define void @call_fs() #0 {
  ret void
}

attributes #0 = { "ShaderType"="1" } ; Vertex Shader


; RUN: llc < %s -march=r600 -mcpu=redwood -show-mc-encoding -o - | FileCheck --check-prefix=EG-CHECK %s
; RUN: llc < %s -march=r600 -mcpu=rv710 -show-mc-encoding -o - | FileCheck --check-prefix=R600-CHECK %s

; EG-CHECK: @call_fs
; EG-CHECK: .long 257
; EG-CHECK: CALL_FS  ; encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x84]
; R600-CHECK: @call_fs
; R600-CHECK: .long 257
; R600-CHECK:CALL_FS ; encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x89]


define void @call_fs() #0 {
  ret void
}

attributes #0 = { "ShaderType"="1" } ; Vertex Shader

Add a test for r183108
R600: Add a test for r183108

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@183228 91177308-0d34-0410-b5e6-96231b3b80d8
