diff options
author | Tom Stellard <[email protected]> | 2012-05-11 13:44:24 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-11 15:09:52 -0400 |
commit | bcfc97dbf40c256ed59c2424e0c55b845f0f2569 (patch) | |
tree | 75f46800f74716e7703c47a8f0b5b04a1551be6a /src/gallium/drivers/radeon/R600CodeEmitter.cpp | |
parent | 23c0d469e55b3cb79ad4b2fd0d961562a26234fd (diff) |
radeon/llvm: More comments and cleanups
Diffstat (limited to 'src/gallium/drivers/radeon/R600CodeEmitter.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600CodeEmitter.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/drivers/radeon/R600CodeEmitter.cpp b/src/gallium/drivers/radeon/R600CodeEmitter.cpp index 421562255f6..cc1fbb72cf5 100644 --- a/src/gallium/drivers/radeon/R600CodeEmitter.cpp +++ b/src/gallium/drivers/radeon/R600CodeEmitter.cpp @@ -90,8 +90,6 @@ namespace { unsigned getHWReg(unsigned regNo) const; - unsigned getElement(unsigned regNo); - }; } /* End anonymous namespace */ @@ -710,19 +708,5 @@ uint64_t R600CodeEmitter::getMachineOpValue(const MachineInstr &MI, } } - -RegElement maskBitToElement(unsigned int maskBit) -{ - switch (maskBit) { - case WRITE_MASK_X: return ELEMENT_X; - case WRITE_MASK_Y: return ELEMENT_Y; - case WRITE_MASK_Z: return ELEMENT_Z; - case WRITE_MASK_W: return ELEMENT_W; - default: - assert("Invalid maskBit"); - return ELEMENT_X; - } -} - #include "AMDILGenCodeEmitter.inc" |