Fix a silly mistake (which trips over an assertion) in r132099. rdar://9515076
llvm-svn: 132194
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 2d2ac67..fc0b8d2 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/lib/Target/ARM/ARMFastISel.cpp
@@ -1981,6 +1981,8 @@
unsigned Opc;
bool isZext = isa<ZExtInst>(I);
bool isBoolZext = false;
+ if (!SrcVT.isSimple())
+ return false;
switch (SrcVT.getSimpleVT().SimpleTy) {
default: return false;
case MVT::i16: