mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
R600/SI: Use a better error message for unsupported instructions in the assembler
llvm-svn: 235627
This commit is contained in:
parent
f72eb67c98
commit
3783d70e1c
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user