commit | a4d487fc1e2f95f4b47ad472071bfdd484eb3b40 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri May 27 18:02:04 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri May 27 18:02:04 2011 +0000 |
tree | cb86b58078abbc2e18153e8632850091f5cc4c86 | |
parent | b58128e2b2375173aafb07905bd53014d622e4ba [diff] [blame] |
Fix a silly mistake (which trips over an assertion) in r132099. rdar://9515076 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132194 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 2d2ac67..fc0b8d2 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/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: