R600/SI: Use a better error message for unsupported instructions in the assembler
authorTom Stellard <thomas.stellard@amd.com>
Thu, 23 Apr 2015 19:33:51 +0000 (19:33 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 23 Apr 2015 19:33:51 +0000 (19:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235627 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp

index 01a56ee7e033e63aa17b3c9f182f3c42f4673740..d54412c465e7a7f803a292327b903dc7f6563f49 100644 (file)
@@ -533,7 +533,7 @@ bool AMDGPUAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
       Out.EmitInstruction(Inst, STI);
       return false;
     case Match_MissingFeature:
-      return Error(IDLoc, "missing feature");
+      return Error(IDLoc, "instruction not supported on this GPU");
 
     case Match_MnemonicFail:
       return Error(IDLoc, "unrecognized instruction mnemonic");