[llvm-commits] [llvm] r170921 - /llvm/trunk/lib/Target/R600/R600Instructions.td
Tom Stellard
thomas.stellard at amd.com
Fri Dec 21 12:12:00 PST 2012
Author: tstellar
Date: Fri Dec 21 14:11:59 2012
New Revision: 170921
URL: http://llvm.org/viewvc/llvm-project?rev=170921&view=rev
Log:
R600: Add SHADOWCUBE to TEX_SHADOW pattern
Patch by: Vadim Girlin
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Modified:
llvm/trunk/lib/Target/R600/R600Instructions.td
Modified: llvm/trunk/lib/Target/R600/R600Instructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/R600Instructions.td?rev=170921&r1=170920&r2=170921&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/R600Instructions.td (original)
+++ llvm/trunk/lib/Target/R600/R600Instructions.td Fri Dec 21 14:11:59 2012
@@ -338,7 +338,7 @@
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);
}]
>;
More information about the llvm-commits
mailing list