diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-05-06 17:50:26 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-05-06 17:50:26 +0000 |
commit | 58bf662c066bfd11aa945335440be96eee0e06d1 (patch) | |
tree | eee80b2caeeaa5c3ba9bd1693168717343e2098f /test | |
parent | e5c8c24ed5ff9500145633a550b016a2308c1740 (diff) | |
download | external_llvm-58bf662c066bfd11aa945335440be96eee0e06d1.zip external_llvm-58bf662c066bfd11aa945335440be96eee0e06d1.tar.gz external_llvm-58bf662c066bfd11aa945335440be96eee0e06d1.tar.bz2 |
R600: Emit ISA for CALL_FS_* instructions
Reviewed-by: Vincent Lejeune <vljn@ovi.com>
Tested-By: Aaron Watry <awatry@gmail.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/R600/call_fs.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/R600/call_fs.ll b/test/CodeGen/R600/call_fs.ll new file mode 100644 index 0000000..fd21b72 --- /dev/null +++ b/test/CodeGen/R600/call_fs.ll @@ -0,0 +1,15 @@ + +; 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: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x84] +; R600-CHECK: @call_fs +; R600-CHECK:CALL_FS ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x89] + + +define void @call_fs() #0 { + ret void +} + +attributes #0 = { "ShaderType"="1" } ; Vertex Shader |