projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39429e2
)
If we have an unhandled type then assert, we shouldn't get here for
author
Eric Christopher
<echristo@apple.com>
Mon, 30 Aug 2010 23:48:26 +0000
(23:48 +0000)
committer
Eric Christopher
<echristo@apple.com>
Mon, 30 Aug 2010 23:48:26 +0000
(23:48 +0000)
things we can't handle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112559
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index 10c7e5d6d2723ae5416f561d8f6fc73d94f9f2ff..a99f05fc053b6cf647d4d7c73e0984bf51b91606 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-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.