mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
[NVPTX] Make address space errors more explicit (llvm_unreachable -> report_fatal_error)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c2a079d3c
commit
00d9da1ac4
@ -1314,7 +1314,8 @@ void NVPTXAsmPrinter::emitPTXAddressSpace(unsigned int AddressSpace,
|
||||
O << "shared" ;
|
||||
break;
|
||||
default:
|
||||
llvm_unreachable("unexpected address space");
|
||||
report_fatal_error("Bad address space found while emitting PTX");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user