summaryrefslogtreecommitdiff
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
commitbf02414898e8dddc93cb3cce123ba90bc0af5cd5 (patch)
tree8317c39f06050824886f19f242eafb3862356627
parent95081f5241e38cd36ce463bdd2e9b8b15e9ccd44 (diff)
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
-rw-r--r--lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp b/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp
index 01a56ee7e0..d54412c465 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");