summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-04-23 19:33:51 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-04-23 19:33:51 +0000
commit21cce29041220fa1364256e4ddc67e5d127a1692 (patch)
treea6f5c0aa560787931d7f3d7fd94b8ad8b050b00d
parent7130ef49cb5c56868b151afb1110e6b71c430359 (diff)
downloadbcm5719-llvm-21cce29041220fa1364256e4ddc67e5d127a1692.tar.gz
bcm5719-llvm-21cce29041220fa1364256e4ddc67e5d127a1692.zip
R600/SI: Use a better error message for unsupported instructions in the assembler
llvm-svn: 235627
-rw-r--r--llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp b/llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp
index 01a56ee7e03..d54412c465e 100644
--- a/llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp
+++ b/llvm/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");
OpenPOWER on IntegriCloud