Merging r258471:
[oota-llvm.git] / lib / Target / AArch64 / AArch64ISelLowering.cpp
index 9b73c5e9d952f9ccf3a39a7cbbffc2b7142cce0a..92cf1cd71970bd76acd92f4947afceb1ce967cb5 100644 (file)
@@ -6689,6 +6689,9 @@ SDValue AArch64TargetLowering::LowerVSETCC(SDValue Op,
     return DAG.getSExtOrTrunc(Cmp, dl, Op.getValueType());
   }
 
+  if (LHS.getValueType().getVectorElementType() == MVT::f16)
+    return SDValue();
+
   assert(LHS.getValueType().getVectorElementType() == MVT::f32 ||
          LHS.getValueType().getVectorElementType() == MVT::f64);