diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-05-25 12:53:22 -0400 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-05-25 15:40:59 -0400 |
commit | 704eac09166aa6dc4c1aa82f8d0938c4060e51f4 (patch) | |
tree | 4c9b9202563a964d6d6710c5ef3cca2c7c96be94 /src/gallium/drivers/radeon/AMDGPUInstructions.td | |
parent | 4863477e22e02af046915ca2a33dbecfd0ed34b4 (diff) |
radeon/llvm: Use a custom inserter for MASK_WRITE
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUInstructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPUInstructions.td | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUInstructions.td b/src/gallium/drivers/radeon/AMDGPUInstructions.td index f4abbae639..28ea93d06e 100644 --- a/src/gallium/drivers/radeon/AMDGPUInstructions.td +++ b/src/gallium/drivers/radeon/AMDGPUInstructions.td @@ -49,16 +49,7 @@ def FP_ONE : PatLeaf < [{return N->isExactlyValue(1.0);}] >; -let isCodeGenOnly = 1 in { - - def MASK_WRITE : AMDGPUShaderInst < - (outs), - (ins GPRF32:$src), - "MASK_WRITE $src", - [] - >; - -let isPseudo = 1, usesCustomInserter = 1 in { +let isCodeGenOnly = 1, isPseudo = 1, usesCustomInserter = 1 in { class CLAMP <RegisterClass rc> : AMDGPUShaderInst < (outs rc:$dst), @@ -81,9 +72,7 @@ class FNEG <RegisterClass rc> : AMDGPUShaderInst < [(set rc:$dst, (fneg rc:$src0))] >; -} // End isPseudo = 1, hasCustomInserter = 1 - -} // End isCodeGenOnly = 1 +} // End isCodeGenOnly = 1, isPseudo = 1, hasCustomInserter = 1 /* Generic helper patterns for intrinsics */ /* -------------------------------------- */ |