1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

R600/SI: Use a better error message for unsupported instructions in the assembler

llvm-svn: 235627
This commit is contained in:
Tom Stellard 2015-04-23 19:33:51 +00:00
parent f72eb67c98
commit 3783d70e1c

View File

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