aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-12-21 20:11:59 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-12-21 20:11:59 +0000
commitfe13e70f6ff5ed2691291116eb3150f99e68cc94 (patch)
tree83c3cf07df792fb7af4ff8d393affc1d69e9d4d8 /lib/Target/R600
parent4e23ebe7665f2e03c0bb8db3ae5ab90eb0f724e5 (diff)
downloadexternal_llvm-fe13e70f6ff5ed2691291116eb3150f99e68cc94.zip
external_llvm-fe13e70f6ff5ed2691291116eb3150f99e68cc94.tar.gz
external_llvm-fe13e70f6ff5ed2691291116eb3150f99e68cc94.tar.bz2
R600: Add SHADOWCUBE to TEX_SHADOW pattern
Patch by: Vadim Girlin Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r--lib/Target/R600/R600Instructions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td
index 5900794..6364645 100644
--- a/lib/Target/R600/R600Instructions.td
+++ b/lib/Target/R600/R600Instructions.td
@@ -338,7 +338,7 @@ class R600_TEX <bits<11> inst, string opName, list<dag> pattern,
def TEX_SHADOW : PatLeaf<
(imm),
[{uint32_t TType = (uint32_t)N->getZExtValue();
- return (TType >= 6 && TType <= 8) || TType == 11 || TType == 12;
+ return (TType >= 6 && TType <= 8) || (TType >= 11 && TType <= 13);
}]
>;