diff options
author | Tom Stellard <[email protected]> | 2012-05-25 10:50:35 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-25 15:40:58 -0400 |
commit | d784bc77405012b442ae9d68f200e9d115030b3c (patch) | |
tree | 7d8b857f99d40f7e26e7f597385c53a6f7c227ee /src/gallium/drivers/radeon/R600Instructions.td | |
parent | 17f852892346fdf3b1e9eec56b7a55c470279bc8 (diff) |
radeon/llvm: Use a custom inserter to lower CLAMP
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index cb9a7bba3d6..22f3fc1b780 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -119,16 +119,6 @@ def TEX_SHADOW : PatLeaf< }] >; -def FP_ZERO : PatLeaf < - (fpimm), - [{return N->getValueAPF().isZero();}] ->; - -def FP_ONE : PatLeaf < - (fpimm), - [{return N->isExactlyValue(1.0);}] ->; - def COND_EQ : PatLeaf < (cond), [{switch(N->get()){{default: return false; @@ -1078,6 +1068,7 @@ def TXD_SHADOW: AMDGPUShaderInst < } // End isCodeGenOnly = 1 +def CLAMP_R600 : CLAMP <R600_Reg32>; def FABS_R600 : FABS<R600_Reg32>; let isPseudo = 1 in { |