forked from OSchip/llvm-project
Revert "[AMDGPU] fix failure on printing of non-existing instruction operands."
This reverts revision 278333, newly added test failed. llvm-svn: 278336
This commit is contained in:
parent
9ba9dfdd02
commit
82c73bee2b
|
@ -370,11 +370,6 @@ void AMDGPUInstPrinter::printImmediate64(uint64_t Imm, raw_ostream &O) {
|
|||
void AMDGPUInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
|
||||
raw_ostream &O) {
|
||||
|
||||
if (OpNo >= MI->getNumOperands()) {
|
||||
O << "/*Missing OP" << OpNo << "*/";
|
||||
return;
|
||||
}
|
||||
|
||||
const MCOperand &Op = MI->getOperand(OpNo);
|
||||
if (Op.isReg()) {
|
||||
switch (Op.getReg()) {
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# RUN: llvm-mc -arch=amdgcn -mcpu=fiji -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI
|
||||
|
||||
#TODO: this test will fail when we fix v_interp_p2_f32 signature, remove it then
|
||||
#VI: v_interp_p2_f32 16, [/*Missing OP1*/], /*Missing OP2*/, /*Missing OP3*/, /*Missing OP4*/
|
||||
0xd4 0x41 0x1d 0xd4
|
Loading…
Reference in New Issue