[llvm] r235627 - R600/SI: Use a better error message for unsupported instructions in the assembler

Tom Stellard thomas.stellard at amd.com
Thu Apr 23 12:33:51 PDT 2015


Author: tstellar
Date: Thu Apr 23 14:33:51 2015
New Revision: 235627

URL: http://llvm.org/viewvc/llvm-project?rev=235627&view=rev
Log:
R600/SI: Use a better error message for unsupported instructions in the assembler

Modified:
    llvm/trunk/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp

Modified: llvm/trunk/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp?rev=235627&r1=235626&r2=235627&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp Thu Apr 23 14:33:51 2015
@@ -533,7 +533,7 @@ bool AMDGPUAsmParser::MatchAndEmitInstru
       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");





More information about the llvm-commits mailing list