aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/R600/llvm.SI.sampled.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-08-06 23:08:18 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-08-06 23:08:18 +0000
commit3406d882c02a6cd1e16f4636351c23dcb68d785f (patch)
tree8917feb5d7791dc1e741bb30d67ae2055a7f8b92 /test/CodeGen/R600/llvm.SI.sampled.ll
parent06d63b31beb38a0c30dfa94543e53d8632531417 (diff)
downloadexternal_llvm-3406d882c02a6cd1e16f4636351c23dcb68d785f.zip
external_llvm-3406d882c02a6cd1e16f4636351c23dcb68d785f.tar.gz
external_llvm-3406d882c02a6cd1e16f4636351c23dcb68d785f.tar.bz2
R600/SI: Add more special cases for opcodes to ensureSRegLimit()
Also factor out the register class lookup to its own function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/llvm.SI.sampled.ll')
-rw-r--r--test/CodeGen/R600/llvm.SI.sampled.ll32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/CodeGen/R600/llvm.SI.sampled.ll b/test/CodeGen/R600/llvm.SI.sampled.ll
index 71b8ef5..3b05551 100644
--- a/test/CodeGen/R600/llvm.SI.sampled.ll
+++ b/test/CodeGen/R600/llvm.SI.sampled.ll
@@ -1,21 +1,21 @@
;RUN: llc < %s -march=r600 -mcpu=verde | FileCheck %s
-;CHECK: IMAGE_SAMPLE_D {{VGPR[0-9]+_VGPR[0-9]+_VGPR[0-9]+_VGPR[0-9]+}}, 15
-;CHECK: IMAGE_SAMPLE_D {{VGPR[0-9]+_VGPR[0-9]+}}, 3
-;CHECK: IMAGE_SAMPLE_D {{VGPR[0-9]+}}, 2
-;CHECK: IMAGE_SAMPLE_D {{VGPR[0-9]+}}, 1
-;CHECK: IMAGE_SAMPLE_D {{VGPR[0-9]+}}, 4
-;CHECK: IMAGE_SAMPLE_D {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