summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-31 10:48:49 -0400
committerTom Stellard <[email protected]>2012-08-31 12:54:58 -0400
commit1cee70c5d836ee4c3981910ee46ed9d7471d39d8 (patch)
treea537ab8f1dc89776b257fbec22b5a24ce4f9f801 /src/gallium
parent124754973402d0702ed8e08b7b6c521637613383 (diff)
radeon/llvm: Fix typo in assert
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp b/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
index eeb8d265f7e..bf3d89c1b83 100644
--- a/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
+++ b/src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp
@@ -106,7 +106,7 @@ void AMDGPUAsmPrinter::EmitProgramInfo(MachineFunction &MF) {
isSGPR = true;
width = 8;
} else {
- assert("!Unknown register class");
+ assert(!"Unknown register class");
}
hwReg = RI->getHWRegNum(reg);
maxUsed = hwReg + width - 1;