1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[AMDGPU][MC][NFC] Fix for sanitizer error in 8ab5770

Corrected to fix sanitizer error introduced by 8ab5770
This commit is contained in:
Dmitry Preobrazhensky 2020-12-21 20:42:35 +03:00
parent 7cb763b2d6
commit 6f79836c46

View File

@ -7285,7 +7285,6 @@ OperandMatchResultTy AMDGPUAsmParser::parseDim(OperandVector &Operands) {
OperandMatchResultTy AMDGPUAsmParser::parseDPP8(OperandVector &Operands) {
SMLoc S = Parser.getTok().getLoc();
StringRef Prefix;
if (!isGFX10Plus() || !trySkipId("dpp8", AsmToken::Colon))
return MatchOperand_NoMatch;