diff options
Diffstat (limited to 'lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | lib/Target/ARM/ARMFastISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ bool ARMFastISel::SelectIntCast(const Instruction *I) { 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: |