[llvm] r369590 - [RISCV] Remove fix introduced by r369573, superseded by r369580
Luis Marques via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 15:02:56 PDT 2019
Author: luismarques
Date: Wed Aug 21 15:02:56 2019
New Revision: 369590
URL: http://llvm.org/viewvc/llvm-project?rev=369590&view=rev
Log:
[RISCV] Remove fix introduced by r369573, superseded by r369580
Modified:
llvm/trunk/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Modified: llvm/trunk/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp?rev=369590&r1=369589&r2=369590&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp Wed Aug 21 15:02:56 2019
@@ -306,7 +306,6 @@ static DecodeStatus decodeRVCInstrSImm(M
DecodeStatus Result = decodeSImmOperand<6>(Inst, SImm6, Address, Decoder);
(void)Result;
assert(Result == MCDisassembler::Success && "Invalid immediate");
- (void)SImm6;
return MCDisassembler::Success;
}
@@ -319,7 +318,6 @@ static DecodeStatus decodeRVCInstrRdSImm
DecodeStatus Result = decodeSImmOperand<6>(Inst, SImm6, Address, Decoder);
(void)Result;
assert(Result == MCDisassembler::Success && "Invalid immediate");
- (void)SImm6;
return MCDisassembler::Success;
}
@@ -333,7 +331,6 @@ static DecodeStatus decodeRVCInstrRdRs1U
DecodeStatus Result = decodeUImmOperand<6>(Inst, UImm6, Address, Decoder);
(void)Result;
assert(Result == MCDisassembler::Success && "Invalid immediate");
- (void)UImm6;
return MCDisassembler::Success;
}
More information about the llvm-commits
mailing list