From fe13e70f6ff5ed2691291116eb3150f99e68cc94 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 21 Dec 2012 20:11:59 +0000 Subject: [PATCH] R600: Add SHADOWCUBE to TEX_SHADOW pattern MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by: Vadim Girlin Reviewed-by: Michel Dänzer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170921 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/R600Instructions.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td index 5900794421c..63646451b44 100644 --- a/lib/Target/R600/R600Instructions.td +++ b/lib/Target/R600/R600Instructions.td @@ -338,7 +338,7 @@ class R600_TEX inst, string opName, list 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); }] >; -- 2.34.1