From: Tom Stellard Date: Thu, 23 Apr 2015 19:33:51 +0000 (+0000) Subject: R600/SI: Use a better error message for unsupported instructions in the assembler X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf02414898e8dddc93cb3cce123ba90bc0af5cd5;p=oota-llvm.git R600/SI: Use a better error message for unsupported instructions in the assembler git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235627 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp b/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp index 01a56ee7e03..d54412c465e 100644 --- a/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp +++ b/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp @@ -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");