mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
If we have an unhandled type then assert, we shouldn't get here for
things we can't handle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112559 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39429e2b51
commit
548d1bb97e
@ -396,7 +396,9 @@ bool ARMFastISel::ARMEmitLoad(EVT VT, unsigned &ResultReg,
|
||||
|
||||
assert(VT.isSimple() && "Non-simple types are invalid here!");
|
||||
switch (VT.getSimpleVT().SimpleTy) {
|
||||
default: return false;
|
||||
default:
|
||||
assert(false && "Trying to emit for an unhandled type!");
|
||||
return false;
|
||||
case MVT::i32: {
|
||||
ResultReg = createResultReg(ARM::GPRRegisterClass);
|
||||
// TODO: Fix the Addressing modes so that these can share some code.
|
||||
|
Loading…
x
Reference in New Issue
Block a user