radeon/llvm: Fix typo in assert
authorTom Stellard <thomas.stellard@amd.com>
Fri, 31 Aug 2012 14:48:49 +0000 (10:48 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 31 Aug 2012 16:54:58 +0000 (12:54 -0400)
src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp

index eeb8d265f7e2401ee5cdaefde3ec4d9905abd30e..bf3d89c1b8364c914026809c055502dd3f2999a6 100644 (file)
@@ -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;