forked from OSchip/llvm-project
[NVPTX] When dying due to a bad address space value, print out the value.
llvm-svn: 324549
This commit is contained in:
parent
8d1f53a78d
commit
321b443ef6
|
@ -1365,7 +1365,8 @@ void NVPTXAsmPrinter::emitPTXAddressSpace(unsigned int AddressSpace,
|
|||
O << "shared";
|
||||
break;
|
||||
default:
|
||||
report_fatal_error("Bad address space found while emitting PTX");
|
||||
report_fatal_error("Bad address space found while emitting PTX: " +
|
||||
llvm::Twine(AddressSpace));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue