[ARM] Fast-Isel was incorrectly selecting <2 x double> adds.
[oota-llvm.git] / lib / Target / ARM / ARMFastISel.cpp
index dfd8dc5cc2cc51d7af426244a53688b482ccb0d9..97995d31db8a48bde0f879eccd18d1ec34db7a0c 100644 (file)
@@ -1794,6 +1794,10 @@ bool ARMFastISel::SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode) {
   if (!FPVT.isSimple()) return false;
   MVT VT = FPVT.getSimpleVT();
 
+  // FIXME: Support vector types where possible.
+  if (VT.isVector())
+    return false;
+
   // We can get here in the case when we want to use NEON for our fp
   // operations, but can't figure out how to. Just use the vfp instructions
   // if we have them.